raddevon's Recent Forum Activity

  • Can't find forum rules; I'm not sure if bumping is allowed. Still needing some advice, so I'll give it a shot!

  • OK. This is great feedback so far. It seems the for loop is not a good structure for what I want to do. Does anyone have a suggestion how I could create these sequences of actions then pause for the player to respond? I tried a loop because I wanted to be able to change the number of customers dynamically. I could see how I could hard-code each customer and mark a boolean variable when one finishes then start the next one, but it seems like there must be a better way.

    Another curiosity of mine: are the sub-events of a loop event also looped?

    Thanks again for your help!

  • I'm Devon Campbell, and I live in Knoxville, Tennessee in the US. I've loved videogames as long as I can remember and have wanted to make them almost as long. I'm currently toying with both GameMaker and Construct 2.

    I've got a programming background so I'm a bit more comfortable with GML at the moment, but I see lots of potential for Construct. I would like to make some web-based educational games to promote my bi-weekly educational technology newsletter Pixed (http://www.pixed.us/pixed/). I might also like to port those to iOS and/or Android at some point.

    I've run a couple of the beginner tutorials and have started work on my first game about counting money. I'm posting in the forum when I hit a wall and getting great help from the community.

    Thanks, everyone, and good luck with your own games!

  • I'm having some trouble grasping the for loop in Construct 2. This may be because I am bringing expectations from previous programming experience, but, regardless, I can't wrap my mind around it.

    I'm trying to build a money counting game. Customers will come into the store, buy an item, and the player must count out their change. I'm in the very early stages and trying to write a loop that will run for each customer. The loop seems to run all iterations at once. Are the sub-events of the loop nested inside the loop? Do they run for each iteration of the loop, or am I thinking about this the wrong way?

    As an aside, I have an animation in which the arm comes out onto the counter from off the layout (ultimately to put down that customer's payment). It should stop once it reaches a y value and retreat back off the layout. Instead, it shoots across the layout never to be seen again.

    dropbox.com/s/rafv5qf1q1txkcr/crash_register.capx

    Events screenie: dropbox.com/sh/bqgsor1i6zfg6pz/T_PUIYPWnF/Crash%20Register.png

    Thanks in advance for the help!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • wretchedshark

    That worked. Thank you!

  • I'm having trouble figuring out how to make events occur sequentially. I've got some text that flies in from the right of the screen. Once that is complete, I've got another animation that I want to start. Unfortunately, both animations start as soon as my layout is loaded.

    To try to counter this, I made a boolean instance variable on my first animated object and set it to "true" after the animation was finished. I then included this as a condition for my next event, but it seems to be ignoring it.

    dropbox.com/s/ysljg00j7e95wzk/broken_register.capx

    Here's a screenshot of my events if you'd prefer to just look at those.

    dropbox.com/s/ytjft1k4f9lszj7/Crash%20Register.png

    I'm brand new, so please be gentle. Thanks!

    EDIT: Tried to link these, but something broke. I've just pasted in the URLs instead.

raddevon's avatar

raddevon

Member since 30 Jan, 2013

None one is following raddevon yet!

Connect with raddevon

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies