I have been wondering on how to solve this problem but A' las' I got it. I will teach You step-by-step
1st WAY: Using View.x position
1 create animations on actors namely (start and end game) button
2 move the view actor to view the buttons
3 add event on start game button
a. mouse button down =>left click =>script editor
b.... script editor : view.x=x+1500(any number just to move
the view actor from the menu to level 1.
c. OK button.
4.mark the area in which the view actor is moved to and edit your levels
2nd WAY: Using Wire frame Actors
Create wire frame actors and let it's left side to begin at the left side of your level(s)
Then on the Start game or Next Level Actor create an event...
- Code: Select all
Mouse button down (left) - > Moveto Actor:View, Relativeto:Wireframe_actor Velocity:1000(for fast movement)
3rd WAY: Using the LoadGame function
Create a .ged file for the menu and separate geds for levels. Now in the menu game on the start game actor create an event...
- Code: Select all
LoadGame(Level file.'gamedata_suffix') //these are comments:- the gamedata_suffix might be .ged, .dat etc...
========================================
To make the exit game button
Goto The actor control and follow the following steps
1 add event on start game button
a. mouse button down =>left click =>script editor
b.... script editor : click variables/functions tab then click on exit game option then.....
c. OK button. Immediate action
I HOPE THIS HELPS