Jump to content


Photo

Making Multiple Game Modes


  • Please log in to reply
6 replies to this topic

#1 bomberswarm2

bomberswarm2

    GMC Member

  • New Member
  • 18 posts
  • Version:GM8

Posted 13 June 2012 - 01:59 AM

I have a game called Driver (see my other started thread for infomation) and I want to add multiple gamemodes. All this would do woould increase the scoring require for each level, to say 20,000. If I made a button to choose the mode and for that button it went to the first level but simply changed the object of the car controlling the score to a duplicate with 20000 score required to move to the next level instead of 10,000. Would that work as a diffrent mode, say hard? And could I also do that to make a gamemode that has the score go on infinetly until you cash?
Thanks,
www.youtube.com/bomberswarm2
  • 0

#2 smash ball

smash ball

    Volcanic Light

  • GMC Member
  • 1117 posts
  • Version:GM7

Posted 13 June 2012 - 02:08 AM

Why did you put your YouTube channel in the post? You have a signature for that.

It could work for multiple game modes, but that is a really lazy making. Harder game modes usually introduce more or different enemies/obstactles, or a change in health damage or speed.
  • 0

#3 bomberswarm2

bomberswarm2

    GMC Member

  • New Member
  • 18 posts
  • Version:GM8

Posted 13 June 2012 - 03:04 AM

well sorry i only have til friday week when its due
  • 0

#4 dannyjenn

dannyjenn

    GMC Member

  • GMC Member
  • 2067 posts
  • Version:Mac

Posted 13 June 2012 - 03:16 AM

You're going about it the wrong way. Don't make duplicate objects just to change the score requirement... instead make the requirement a variable (most likely global) and at the beginning of the game set it to 10000 for standard mode and 20000 for hard mode.
  • 0

#5 aary33

aary33

    GMC Member

  • GMC Member
  • 17 posts
  • Version:GM8

Posted 13 June 2012 - 03:28 AM

You're going about it the wrong way. Don't make duplicate objects just to change the score requirement... instead make the requirement a variable (most likely global) and at the beginning of the game set it to 10000 for standard mode and 20000 for hard mode.


Like he said, just make a global variable, and change the circumstances of each different game mode.
As if "if gamemode is equal to easy" then do this...
"else" "if gamemode is equal to hard" then do this...
  • 0

#6 bomberswarm2

bomberswarm2

    GMC Member

  • New Member
  • 18 posts
  • Version:GM8

Posted 21 June 2012 - 11:15 AM

And how do I set this gamemode?
  • 0

#7 PetzI

PetzI

    GMC Member

  • GMC Member
  • 1026 posts
  • Version:GM8.1

Posted 21 June 2012 - 11:25 AM

Have an array that defines the score for each gamemode:

global.levelscore[0] = 5000
global.levelscore[1] = 10000
global.levelscore[2] = 15000
global.levelscore[3] = 20000
global.levelscore[4] = -1

Then have the various difficulty buttons set the current score needed to global.levelscore[<num from 0 to 4>] . Make sure your game treats "-1" as a never-ending level.

Edited by PetzI, 21 June 2012 - 11:26 AM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users