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
  • 3 replies
  • 141 views
0 favourites

I generate 2 teams where each team has 4 player with instance variable named "kill". I'm not able to increment this instance variable only when the player shoot...

  • 2 replies
  • 92 views

I'm making a game at the moment, and I have multiple instances of the same object. I'm trying to utilize a State machine for an enemy, but at the moment, every...

  • 4 replies
  • 140 views
This content is deleted
Forum Topic
How do I put an instance variable in a textbox?
0 favourites

So, I'm testing something out and I'd like if I could temporarily make it so that a textbox displays the variable. I would appreciate if someone could tell me h...

  • 1 replies
  • 76 views

I have sprite called bucket that has an instance variable called ID. The ID variable is assigned a random number between 0-4. During gameplay, several buckets a...

  • 7 replies
  • 94 views
This content is deleted
Forum Topic
How do I select next empty bucket? (Solved)
0 favourites

Hey there. Three buckets (sprites) with Instance Values of ID = (0,1,2) and Status = (0,1). When I click on the "add" button sprite, I would like to pick in ord...

  • 4 replies
  • 60 views

Is it possible? Like when you replace all references of an object with another object? Thanks!

  • 2 replies
  • 51 views
This content is deleted
Forum Topic
How do I target Individual Peer Animations?
0 favourites

Hoping someone has some insight on this. I'm working on this multiplayer game that uses the peer system from the Construct multiplayer documentation tutorials....

26
This content is deleted
Course
Displaying dialogue in games
81 favourites

Displaying text can be hugely important to a game. From showing on-screen instructions to full conversations with NPCs, chances are you’ll be showing some form...

Similar Tags