nettemple's Recent Forum Activity

  • I have a variable name varSpriteID.

    When I mouse over any Sprite, I want to set the variable to either the Sprite name OR the UID.

    Here is my crypto logic:

    on MouseOver - set VarSpriteID = CurrentObjectOver.Name

    How can I do this?

    Thank You - d

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Works - once placed into the variable (then ref the variable) - thank you - nT

  • I have a MAIN SPRITE with 6 animations (1, 2, 3,etc). When I rollover a different "hover" sprite (named "hotspot"), I identify an instance number variable (named "stage" 1, 2, 3,etc) --- I Then create a new instance of my MAIN SPRITE and I want the animation to play based on the matching instance variable.

    For example when I rollover hover sprite and the instance variable is 3, I click to create new object MAIN SPRITE and it should play animation 3. See attached screen shot of attempt.

  • Solved it - Sorry, but still would like to know a simpler solution. SOLUTION: I eliminated the set X and replaced it with "place on layer" - I put it on a layer "CARDS" that the cards were placed on.

    I could not place it on the "CARDS" layer original because it scrolls (100% x 100% parallax)and I want the title to stay static (0% x 0% parallax).

    Any better solutions are welcome.

  • I am taking a snapshot of the canvas and downloading as a png. Everything works BUT the "title" on the screenshot is out of position. It is hard-placed 100 pixels from the left edge of the canvas and viewport (with a 0% x 0% parallax, so it wont move in app). I tried adding the position code as seen in the pict attached, but nothing seems to work. It always appears about 300 pixels to the right (X) of its original position. How do I get it on the screen shot where it actually appears in the app (100 px from the left edge)?

    Tagged:

  • I have a simple sprite that acts as a button, when I click it, it performs an action. How can I disable this interaction based on a condition (for example - variable = active vs variable = inactive) - I know you can disable interaction on a LAYER - is there any way to do it on an OBJET?

  • So would a wise strategy be to set up an unused layout to house all assets that you'll be spawning for a better preload and or queue?

  • Using CREATEOBJECT - does the sprite need to be present in the game to make copies? What is the most efficient and best way to spawn multiple objects?

  • Similar to a parent/children relationship so I can effect ALL items in a "group" with an action or behavior instead of applying the action or behavior to all of the items individually. This is very common and simple in many apps, I am sure there must be an easy way for this.

  • How do I group objects? I saw an old video using a GAME OBJECT behavior, but I no longer see this behavior available?

    Tagged:

  • Money! Both solutions work. TY

  • Not sure what that means... is there some type of "self" tag (i.e. card.self destroy) The condition is a simple "when I click on the instance"...

    Currently i have:

    OnLeftBut Clicked object (card) --> Destroy card (see below)

nettemple's avatar

nettemple

Member since 8 May, 2018

Twitter
nettemple has 3 followers

Connect with nettemple