Predefined Animation While Controlling IMGMovement

Blitz3D Forums/Blitz3D Beginners Area/Predefined Animation While Controlling IMGMovement

If you are planning on using more than one monster you could use types to set up the monsters and use a For Each loop to go through the list of monsters to update their location on the screen for each loop of the program.

Something like this:

For monstername=Each monster
monster/x = monster/x+1
monster/y = monster/y+1
Next

Although you'll need to add the other bits yourself, like checking if the monster has hit the limit of how far along the x or y axis it can go or whatever.


Ho ho.. I was inspired.