hello, for our class we have to make a game by adding a new mechanic into an already existing game. I chose the classic snake game, with a bit of a twist in which the snake has to consume moving enemies. I saw tutorials on youtube and the forum here so I was able to make the general mechanics.
There are, however, several problems I'm faced with. I have no programming knowledge whatsoever and only started making games using C2 because it was the easiest gamemaking program I can use. so here are some of the problems
1. This is a multistage so I need some kind of trigger. I was thinking of the snake consuming 5 randomly spawned enemies, in which the "System" will "Go to layout (treasure room)."
This is basically what I tried: http://gyazo.com/47bcd6b9f0d3044d20be16a7981807bf
But nothing happens. I want to make it so that after the snakehead collides with nth number of enemies, it will trigger the game to go the next room, which is the "treasure room." Any help on this?
2. When I go to the next room, I want to keep the length of the snake same as the previous room, instead of resetting when it goes to the next room. I read somewhere that whenever the layout changes the variables rest but I'm trying to make it so that the snake condition from the previous carries over to the next room.
These two are basically the most troublesome parts of my project so if anybody can help out, it will be much appreciated!!