When next level starts, objects move. Help!
Hey guys,
I'm kinda making a game like Zombie Drop by Tshirtbooth. (since this was my first game, i wanted just to try and see if i could make a game like that)
Anyway, when i go to the next level, all of the boxes etc start moving (or like they've been hit by C4) So when you press 'go to next lvl' it brings you to the next lvl, but the boxes move! They aren't supposed to. Any idea why, i don't really have any other way to explain this.
Any help would be great as usual!
I'm kinda making a game like Zombie Drop by Tshirtbooth. (since this was my first game, i wanted just to try and see if i could make a game like that)
Anyway, when i go to the next level, all of the boxes etc start moving (or like they've been hit by C4) So when you press 'go to next lvl' it brings you to the next lvl, but the boxes move! They aren't supposed to. Any idea why, i don't really have any other way to explain this.
Any help would be great as usual!
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Comments
It seems that it is the C4 that is making the problem, when i turn the radis of the explosion off, it works fine, but then of course, the C4 doesn't work. But at least i've gotten closer.
Here is the link to where i found out how to make the C4, or TNT explosion: http://www.youtube.com/user/GameSaladCookbook#p/u/52/_ayoN7dCWMw
So it seems that the explosion is taking effect when the level starts.
Still, any help would be great!
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
It is the TNT that is causing the problem, but if i turn it off, it's fine. So, i need help figuring out how to keep the explosion on, but so that the objects don't move.
I followed Tshirtbooth's tutorial on youtube for the explosion: http://www.youtube.com/user/GameSaladCookbook#p/u/52/_ayoN7dCWMw
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
I have 2 levels so far, and after the 2nd level, it starts again on the first level. Which is fine.
But when it gets to the 2nd level again, it happens on that level too. So its not like it has something to do with that scene. It does have something to do with the TNT. :P
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Thats about it. Lol. Maybe watch it and see if you get anything out of it i didn't.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
game.doblast = 0
Try in this way
So before the level ends, make sure that the game.doblast = 0?
And then when the level starts, have it change back to game.doblast = 1?
I am not sure i understand.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx