Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Game Maker Thread

- - - - -

  • Please log in to reply
1 reply to this topic

#1
Fira

Fira

    Newbie

  • Member
  • 11 posts
I am using Game Maker 7.0 unregistered I am struggling with when hp is less than 1 game_load('kylento1') lives-= 1 (both in code and in Destroy Event).

Every time PacMan get hp less than 1, He gets destroyed Game Load File 'kylento' (yes 'kylento' is a saved file name) is activated he loses a life but he is still destroyed.

I am using Game Maker 7.0 unregistered on my sister's Windows Vista (Not exactly sure what Vista though :P)


Basically here is what I want done:

PacMan each time his hp goes below 1 he loses one life and where ever he last saved (i.e. say 'kylento' for example as a save game file)
he will appear and lose one life but still he can be alive again and come back.


Just like in Mega Man 4.


Any of you whom have accomplished/know how to accomplish this please help me out, thank you.

Or anyone can help me out too, thank you so much.
Try mixing Vault (I call it XVault except when ordering a drink) and Powerade/Orange Juice/Other Juice together it tastes wonderful!
An awesomest thread ever > http://www.msfn.org/...screen-to-work/


How to remove advertisement from MSFN

#2
sbolton

sbolton

    Newbie

  • Member
  • 24 posts

I am using Game Maker 7.0 unregistered I am struggling with when hp is less than 1 game_load('kylento1') lives-= 1 (both in code and in Destroy Event).

Every time PacMan get hp less than 1, He gets destroyed Game Load File 'kylento' (yes 'kylento' is a saved file name) is activated he loses a life but he is still destroyed.

I am using Game Maker 7.0 unregistered on my sister's Windows Vista (Not exactly sure what Vista though :P)


Basically here is what I want done:

PacMan each time his hp goes below 1 he loses one life and where ever he last saved (i.e. say 'kylento' for example as a save game file)
he will appear and lose one life but still he can be alive again and come back.


Just like in Mega Man 4.


Any of you whom have accomplished/know how to accomplish this please help me out, thank you.

Or anyone can help me out too, thank you so much.


Because your not scripting in him to respawn in any locations and not saying wether the value needs to be above 0 for him to respawn maybe?

I dont know a thing about game scripting but i design Scada scripts and that says to me you need to also add that.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN