Today I learned how to make a character to be invincible, by using "if" function. I used "if" to include everything inside the collision code. that will ignore all the code inside the collision code. I also learned how to make a timer , so that my main character wont have invincible all the times. By using the function "alarm", which will set a time during executing certain code. and the function "image_speed" meaning that changing frame time of the character animation
What I did : today I made my character to have invincible, and set a timer for the invincible.I also made a faded animation for my main character.
The next i'm going improve my game by changing my code in gamemaker.
No comments:
Post a Comment