#53573 - biubid_boy - Fri Sep 09, 2005 10:39 am
Ok. I have some questions I want to know.
1) Firstly, how would I do the coding equivalent to
2) Can you make 'parent objects' (like from game maker) and if yes, how?
3) How do you make an animated sprite?
4) How would I make a timer to count for a random amount of time?
//EDIT: I'm using this code for my sprites except it's not working. I know it has something to do with attribute2 of my second object. Heres the code:
1) Firstly, how would I do the coding equivalent to
Code: |
Press down, change sprite to LookDown. Press left, change sprite to LookLeft, etc. |
2) Can you make 'parent objects' (like from game maker) and if yes, how?
3) How do you make an animated sprite?
4) How would I make a timer to count for a random amount of time?
//EDIT: I'm using this code for my sprites except it's not working. I know it has something to do with attribute2 of my second object. Heres the code:
Code: |
sprites[0].attribute0 = COLOR_256 | TALL | ypacman;
sprites[0].attribute1 = SIZE_32 | xpacman; sprites[0].attribute2 = 512; sprites[1].attribute0 = COLOR_256 | TALL | yenemy; sprites[1].attribute1 = SIZE_32 | xenemy; sprites[1].attribute2 = 512 + 8; |