th3oryas3's Forum Posts

  • 2 posts
  • i saw the tutorial already on making a game like pokemon puzzle league but it doesn't go into the theory behind why it works , and there seems to be a shortage of tutorials for puzzle game logic on the web so can someone explain the programming logic behind a puzzle game for me please ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • let me know if this is a good idea and please suggest any tips that would make this easier.

    i want to do an exercise that will familiarize me with arrays , so i've decided that a megaman stage select screen might be a good choice.

    my plan:

    start out with a 3x3 array assigning the boss's names to their respective index in the 3x3

    something like this

    sparkman 0,0, snakeman 0,1, needleman 0,2

    hardman0,1, megaman 1,1, topman 2,1,

    geminiman 0,2, magnetman 1,2, shadowman 2,2

    i could code the arrow keys to cycle through the array , left decreasing the x value right increasing it

    and up increasing the y value and down decreasing it.

    the layout would be designed with boxes sitting at 3x3. they would all be instances of a box that has a "selected" animation and "deselected" animation.

    the code would be just to change the animation state based on the current x,y position inside the array.

    if current position of array = 0,0

    snakeman boolean: selected = true

    set animation and frame etc.

    do i have the basic idea right ?

  • 2 posts