phanale's Recent Forum Activity

  • Here, hope this explains my theory.

    This way oyu could add individual animations for walking rght, walking left, idle right and idle left.

  • You could do as following:

    Make a second sprite for the hero, name it "HeroIDLE" or something, give it the 2 IDLE sprites as animation, right on frame 0 and left on frame 1 with 0 Speed so the sprite won't play an animation, make it invisible and make an event as folloing:

    "HeroIDLE" set position

    X: Hero.X

    Y: Hero.Y

    Tis way the idle hero will always be at the same possition as the hero sprite

    Now the magic trick: When you need the hero to become IDLE toggle it visibility to "Invisible" and HeroIDLE visibility to "True" and set HeroIDLE on frame o or fram 1 depending on wich direction the "Hero" was facin before turning invisible!!

    Hope youu understand me =)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks codah, i've checkd it, it's as well as good for what i needed when i first opened this post, since i didn't know about IID, but now with that info and the "debug" i can keep track of them, i'll still use the methood i posted above on the img for different instance variables.

  • Well i made a little more research, and i have come out with this

    Thik it will work, gotta make some tests, thanks for your comments, i will try thm and any other idea left on this psot, and thanks for the quick answering =D.

    --------------------((EDIT))-----------------------

    Yep, it works =) thans alot =D.

  • Hello everyone

    Well, basically i have one building, when you click a button it creates an object, when you click again it creates another object

    at some point every oject can only be used once

    My idea is to put on all the objects as they are the same sprite the instance variable "Unitname" wich is a number

    My question is then: how do i make each object created have it's own isntance variable "Unitname" changed without changing everyone elese's "Unitname"?

    It would be like Set value: Unitname+1 but that would change all the sprites isntance variable, help please =(

  • ¡Hello world!

    Here, call me Phanale =)

    Just amking this for fun, and because i want to do stuff that people enjoy =D

    greetings~.

phanale's avatar

phanale

Member since 28 Jul, 2014

None one is following phanale yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies