2 registered members (AndrewAMD, TipmyPip),
12,672
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: HELP!! Creating game menu, buttons, animation, button action
[Re: carla_mariz]
#345818
10/30/10 05:41
10/30/10 05:41
|
Joined: Nov 2007
Posts: 2,568 Germany, BW, Stuttgart
MasterQ32
Expert
|
Expert
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
|
your animnation: search the aums fot "animated panel" but don't use a gif file, use png, tga, bmp, pcx instead! your button and your main menu: Use the manual, search for PANEL, button, Panel Flags The description is very clear and you have good samples! but one hint to you:
PANEL* pan_mainmenu =
{
flags = SHOW;
button(32,32,"button.bmp","button.bmp","button.bmp",ClickEvent,NULL,NULL);
}
function ClickEvent()
{
error("Button clicked!");
}
funtion mouse_startup()
{
mouse_mode = 1;
mouse_pointer = 3;
while(1)
{
vec_set(mouse_pos,mouse_cursor);
wait(1);
}
}
function main()
{
video_set(800,600,32,2);
}
|
|
|
Re: HELP!! Creating game menu, buttons, animation, button action
[Re: carla_mariz]
#345825
10/30/10 11:43
10/30/10 11:43
|
Joined: Apr 2007
Posts: 3,751 Canada
WretchedSid
Expert
|
Expert
Joined: Apr 2007
Posts: 3,751
Canada
|
It just doesn't work. A work around would be buying a greater edition.
Shitlord by trade and passion. Graphics programmer at Laminar Research. I write blog posts at feresignum.com
|
|
|
Re: HELP!! Creating game menu, buttons, animation, button action
[Re: WretchedSid]
#345826
10/30/10 11:46
10/30/10 11:46
|
Joined: Aug 2009
Posts: 1,438 Spain
painkiller
Serious User
|
Serious User
Joined: Aug 2009
Posts: 1,438
Spain
|
C-script (.wdl) is not supported in free edition, only Lite-C (.c)
3D Gamestudio A8 Pro AMD FX 8350 4.00 Ghz 16GB RAM Gigabyte GeForce GTX 960 4GB
|
|
|
|