Content 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

88 usages of this tag
  • 7 replies
  • 635 views
0 favourites

For the below code snippet, I'm trying to: Destroy the red sprite and error text box (this works). Wait 1 second and create systemgreen text box (this works). W...

  • 5 replies
  • 678 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
  • 682 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
  • 458 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
  • 309 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
  • 268 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
  • 332 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
  • 337 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
  • 422 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...

Similar Tags