answersLogoWhite

0

I don't know how you would stop lives (I think you mean live = 0)

Put this script in the step event:

if argument=0 {

lives = 0;

}

argument = what you want to be 0.

User Avatar

Wiki User

14y ago

Still curious? Ask our experts.

Chat with our AI personalities

FranFran
I've made my fair share of mistakes, and if I can help you avoid a few, I'd sure like to try.
Chat with Fran
BlakeBlake
As your older brother, I've been where you are—maybe not exactly, but close enough.
Chat with Blake
EzraEzra
Faith is not about having all the answers, but learning to ask the right questions.
Chat with Ezra

Add your answer:

Earn +20 pts
Q: Stop lives at 0 in game maker?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Games

In Game Maker 7 how do you reset the score in a platform game?

You have to choose 'set score', and enter 0 in the box.


How do you make lives in game maker 8?

I will explain how to make your own lives variable; granting you better control over them.Create event:lives_left = 3; //Replace 3 with the lives you start with.health_left = 100; //Replace 100 with the health you start with.health_max = 100; //Replace 100 with maximum health available.lives_max = 3; //Replace this 3 the maximum amount of lives.Step event:if(lives_left < .1) { game_end(); /*Replace game_end(); with how your game ends*/ }if(health_left < .1) { /*How you die goes here*/ }if(health_left > health_max) { health_left = health_max }if(lives_left > lives_max) { lives_left = lives_max; }Whatever event makes you get hurt:health_left -= .1; //Replace .1 with how much damage you take.This works by simple math; if you have too many lives, you lose that extra life, to have the maximum amount. If you get hurt, it removes some of your health variable. If you have 0 health left, you lose a life. (Set health back to the maximum when you die though, or you'll infinitely die) If you have 0 lives left, the game ends.This system allows for healing, by health_left += 20; /*Replace 20 with how much to heal*/, allows you to increase lives max, increase how many lives, and allows you to increase how much health you can have.


How much does a Nintendo Wii game maker make?

"over $0 I know that"edit: Well, that is a very general question. The answer depends on many different factors.- Who do you work for?- How long have you worked there?- What kind of education did you get?... and the list goes on.Here is a link that will show you about how much a game programmer would make. (Not specifically for Nintendo)How_much_does_a_game_programmer_make


How do you make a locked level that can unlock in Game Maker?

Ini files. Open up notepad, and do this: [Levels] level[1]=0 level[2]=0 level[3]=0 Keep adding to the level[number] number until you make it to how many levels you have. Save the file as levels.ini. That will be bundled with your game, or you will have the game write that out if it doesn't exist. Whenever you beat a level, have the game write to the ini file that level[the next level] is now 1. In the level select screen, have it check if the level=1. If it doesn't, have it not allow you to enter that level. If it does = 1, allow you to enter. Ini files can also be used for more efficient saving/loading, creating settings, and more.


How do you make a level end when there are no enemy's left in game maker 8 pro?

I don't know much about Game Maker, tried to use it, but i was ten at the time and failed miserably ._. Well, from my short experience from other game making tools (game factory, etc.), you could make each enemy adds +1 to a counter when the player kills him, and make the counter end the level when it reaches the number of present enemies. Example: Imagine a level has 8 enemies. Each one you kill adds +1 to a counter, let's name it DeathCount. DeathCount starts at 0. With each enemy you kill, DeathCount goes up by 1. When DeathCount reaches 8, which is the total number of enemies in the level, it triggers an event that makes the level end. Don't know if this helps, as i have no experience with GM, but at least i tried :)