Monday, February 27, 2017

Gamemaker Day 11

Today I learned a new function call "else{}", this is related to the "if" function". In a "if!(varibale)" function : if the function or variable didn't happen,then it will execute the "else{}" function. I also learned a text function call "string()", which is to draw both real number and strings together.
what I did: I added a lives system. when the players hits the enemy, It will goes back to the original spot without losing. also I added a new global variable "live", and I draw socre: and lives: next the number by using string.




The next day I'm going watch invincility, to add a animation into my main character or enemy.

No comments:

Post a Comment