IamNewt's Forum Posts

  • 3 posts
  • Hi,

    I'm trying to use a variable to count the number of instances created from a single sprite. So I have a single sprite being created every tick in random locations. I try and add 1 to the variable attached to the same sprite (every tick, create object in random location, add 1 to the variable) however its only ever adds 1 to the variable count. I assume it's because the system only sees it as 1 object with multiple UIDs if this is the case how to do I get the variable to increase based on qty created

    Thanks in advance. ;)

  • Try Construct 3

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

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

    I feel like an idiot ;)

    Thank you so much

  • Hi all,

    First time post so apologies if this is in the wrong location, I am currently a c2 r259 64bit (steam) user.

    I have noticed when using the 8-direction behaviour on a sprite and using debug mode the behaviour does not work as in no movement at all when pressing the keyboard keys. It does work when running the game normally I use chrome and NWJS I have tried in both Chrome and NWJS and still cant get the behaviour to work. I tested the function in C3 and it does work in debug mode.

    I have not reported this as a bug as maybe its not meant to work in c2 or i'm doing something wrong. I have not uploaded my capx as this can be replicated using the 8 Direction 1 (Simple Movement) capx that comes within the c2 tutorials.

    any advice or help would be appreciated.

    Thank you

    Newt

  • 3 posts