cyblix's Recent Forum Activity

  • Wow thanks for the help! I've fixed problem number 1. Unfortunately I don't get what you mean by "move the variables that define the length into a global variable" Because the length of the snake is determined by multiple variables which basically look like this: gyazo.com/c3dba51adae65770142c16247420246e

    Do I have to set multiple global variables on "treasure room" with each of these variableS? Sorry if what I'm saying makes no sense whatsoever. Like I said I have no previous programming experience before...

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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: 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!!

cyblix's avatar

cyblix

Member since 17 Apr, 2013

None one is following cyblix yet!

Trophy Case

  • 11-Year Club

Progress

11/44
How to earn trophies