Forum Topics tagged instance-variable

A variable defined in a class for which each instantiated object of the class has a separate copy, or instance.

Similar Tags

Report Tag

86 forum topics with this tag
  • 5 replies
  • 681 views
This content is deleted
Forum Topic
How do I delete child object, not all objects?
0 favourites

Hey C3 world. Hope you're doing well! Not sure what I messed up on in the coding but I'm hoping you can figure it out. Essentially, when oil pump is placed, the...

  • 16 replies
  • 688 views
This content is deleted
Forum Topic
How do I get all arrows to show?
0 favourites

Decided to do some testing to learn more about conditions. In this scenario, an easy "left-arrow" if cows = 3, otherwise a "right-arrow" should appear. However...

  • 3 replies
  • 461 views
This content is deleted
Forum Topic
How do I spawn object and then delete said object?
0 favourites

Trying to get the right coding for an object (stoplight) to spawn on a sprite if conditions are met (sprite.Value = 0). When the value increases to 1 or higher,...

  • 5 replies
  • 312 views
This content is deleted
Forum Topic
How do I create dynamic menu using sprite animations?
0 favourites

Hey C3! Since being shown the many options available using sprites and frames, my project has drastically fewer "spawn" or "create" object codes. Instead, when...

  • 1 replies
  • 269 views
This content is deleted
Forum Topic
How do I create 3rd level deep menu with sprite/frames?
0 favourites

Hey C3! Hope the Holidays have been good to you. So I've run into a bit of a wall using sprite frames especially when it comes to menus. I created a test projec...

  • 9 replies
  • 1.1K views
This content is deleted
Forum Topic
how do i add value to my progress bar
0 favourites

I have a progress bar in my game and I'm trying to make it so that every time you collect a gem the progress value +1. So far I have set the maximum value to 4,...

  • 3 replies
  • 335 views

I have got a loop event, to create buttons (objects) dynamically. To create the buttons, I'm trying to use a function. The loop event is creating the buttons, b...

  • 2 replies
  • 343 views

I've done something like this where TILE is the object I'm checking: SYSTEM. Picky by comparison. Distance(TILE.X, TILE.Y, TILE.X, TILE.Y). TILE. (action I want...

  • 1 replies
  • 429 views
This content is deleted
Forum Topic
How do I update instance variables in timeline?
0 favourites

I'm new to Construct and was trying timeline to create a looped character walk in a city tilemap. I'm using to instance variable to track the animation state of...

  • 3 replies
  • 297 views
This content is deleted
Forum Topic
How do I pick others instance differently?
0 favourites

In my game, there're 26 letters (instance of a sprite). Each insatance stand for 1 letter (A-Z). If user tap on a letter, I will set its opacity to 60, but I wa...

posted 2 years ago

Similar Tags