CRE8OR - game maker for anim8or |
||
|
GUI AND ANIMATION
You'll need Cre8or Version 0.09a in order to run this correctly. This is what I want the screen menu to look like: This adds a button to the screen: Now we added a bunch of buttons to the screen, but we want the big button to actually be a picture and the button "EControl1005" to be a text box. so we need to chnage some properties.
This property tells me if it is a button: Click on the big button and chnage it to a picture: Now let's chnage the names of the control objects to sensible names, notice BTN is attatched to the end of the name so that it is recognizible: Now change the "Caption," the caption is the display text of the button/textbox/label. For the PlayBtn put "Play", StopBtn put "Stop", RestartBtn put "Restart", and GotoBtn put "Goto". For the GotoText put 0.
Now go to "Scene01" and chnage it so it is animated: If you run it you get this:
Now Let's add a mouse to the menu: And update the mouse:
Now let's add functionality to the buttons:
Now when you run it there's full functionality. Let's make it so the scene loops. Add a frame event to the scene: That's it for now!
|
|
Copyrights (C) 2007 Keith Tabert |
||