Hi,
Sometimes im thrilled by the thought of creating a lifelike machine in gamemaker, like for example an ATM machine och a vending machine. The programming can be as simple or as complicated as you wish. With a simple machine such a simulation could be quite close to the real deal. Has anyone seen anything like this done in gamemaker?With a nice gui it would be awesome to use such a machine in a game, in fact if you incapsulate all the code and scripts you could create a hall o machines made by different people.Anyone interested in takin this further?
On mouse pressed event:
There you go!
Or for an elevator…swich(button){case 2: soundplay(elevatormusic.mid) alarm[0]=300 alarm[0] message("Welcome to accounting!")instance_create(x,y,objUniverse)
I win.I got some code for you to quote.
sleep(100000000000000000000);I believe that GM does not support numbers that large. =P
D:
Once I made a block in gm.
Damn that's some hard core stuff.
In RPGs they do it all the time.