KevinTheHamster Posted August 25, 2015 Share Posted August 25, 2015 I was talking with one of my friends, and he mentioned to me there was a way of programming a game where, if you get a certain item in the game, and then reset the system, you could get an entirely new level. So, I thought I'd ask what all that would look like in terms of coding that (in batari Basic or however). Quote Link to comment Share on other sites More sharing options...
Mountain King Posted August 25, 2015 Share Posted August 25, 2015 I'm sure this could be done with a flag and an if statement. Just make sure the flag is not cleared when the game is reset. In Batari Basic, it might look something like this: If collision (player0,object1) then flag{0}=1 If flag{0} then goto _hidden_level_loop I do something like this in my game when you find the Easter Egg and when you beat the game. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.