V8Ninja's Forum Posts

  • 2 posts
  • Admittedly, I should have left out the "UI" part as my problem has nothing particular to do with it.

    So let me attempt to be a bit more clear; in more general game programming, everything in a game is an object. A brick in Super Mario Bros. is an object of the game, along with a coin, a goomba, and Mario himself. However, there can be multiple instances of those objects. You don't see a Super Mario Bros. level that just has one brick or just one goomba in it. What I want to do is access a specific instance of an object and perform Event Sheet-based operations solely on that single instance. From what I have experienced using Construct 2, the suite only allows performing Event Sheet-based operations on entire objects rather than instances of those objects.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • For a while now I've been wondering how to access a specific instance of a sprite. I am aware of IIDs and UIDs but it is not clearly spelled out on how to access them through those methods.

    Some Context:

    I am currently making a SNAKE clone and I have completed everything except for adding new body segments when the fruit is eaten. I've created SNAKE in pure Java before, so I'm well aware of what I need to do in a broader sense. However, I've been diving through the Construct 2 UI and I can't find anything about accessing sprites in a one-at-a-time fashion or retrieving sprites from a specific variable. This is aggravating me as if I knew how to do this I would have no problem whatsoever. However, as I don't know I need to ask for help on these forums and see if anything comes up.

  • 2 posts