Be a Supporter!

Level Select

  • 341 Views
  • 4 Replies
New Topic Respond to this Topic
Flashing-Bird
Flashing-Bird
  • Member since: Jun. 23, 2006
  • Offline.
Forum Stats
Member
Level 13
Blank Slate
Level Select 2007-04-14 14:31:57 Reply

Hello!! I´m trying to do a shooting game and,on that i want to make a level select option, which is just selectable after beating the level before,for exemple:

There you be the the option to get in on Level 1 and Level 2,but,you the Level 2 option will just a botton to get in the level if you had beated the Level 1,other than that its just going to be a label.

So that´s what i was thinking and that was my problem,hope u guys undestood cuz i´m not really good in english and i tried to explain it in the better way i could,thanks for your attencion,and also hope you can help me!


BBS Signature
Silkey
Silkey
  • Member since: Jul. 23, 2006
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Response to Level Select 2007-04-14 15:01:51 Reply

If you coded a game with a levels system, that should be really, really easy, I'm sure you could mix something up with some variables.

Flashing-Bird
Flashing-Bird
  • Member since: Jun. 23, 2006
  • Offline.
Forum Stats
Member
Level 13
Blank Slate
Response to Level Select 2007-04-14 16:19:23 Reply

At 4/14/07 03:01 PM, Silkey wrote: If you coded a game with a levels system, that should be really, really easy, I'm sure you could mix something up with some variables.

Heya!Srry about the late reply,i was having lunch....a level system huh?...well i don´t know if it can be called like that but what I did was to make something like: after killing a X number of enemys it jumps to another scene,and that is the second level...that´s the levels system you was talking about?


BBS Signature
Gorilla-Studios
Gorilla-Studios
  • Member since: Nov. 18, 2005
  • Offline.
Forum Stats
Member
Level 28
Blank Slate
Response to Level Select 2007-04-14 16:44:56 Reply

Use a code on your main frame, something like this:

kills = 0;
kill_ammount = 10;
onEnterFrame = function () {
if (kills == kill_ammount) {
kill_ammount += 10;
_root.nextFrame();
trace("Kill Ammount: "+kill_ammount);
}
};


Gorilla Studios || A game is like sex, its better when its free

BBS Signature
Flashing-Bird
Flashing-Bird
  • Member since: Jun. 23, 2006
  • Offline.
Forum Stats
Member
Level 13
Blank Slate
Response to Level Select 2007-04-14 17:09:03 Reply

At 4/14/07 04:44 PM, Gorilla-Studios wrote: Use a code on your main frame, something like this:

kills = 0;
kill_ammount = 10;
onEnterFrame = function () {
if (kills == kill_ammount) {
kill_ammount += 10;
_root.nextFrame();
trace("Kill Ammount: "+kill_ammount);
}
};

Hehe,that´s the code for the level,and i already have it,actually my problem is with the level select only as i explained on the begining,but i apreciate your worry on helping me,thanks anyway :D


BBS Signature