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
  • 5 replies
  • 566 views

I'm currently developing a dialogue-based game for a school assignment that makes heavy use of instance variables. I have 8 working instance variables in the ga...

  • 4 replies
  • 480 views
This content is deleted
Forum Topic
UID destroying itself... why?
0 favourites

I made a topic about my problem earlier, but that wasn't until I figured out what the hell was even going on. Also, no-one responded after I figured it out, so...

  • 3 replies
  • 274 views
0 favourites

Multiple instances of the same object are present in the layout, eg. "Canon_IV", HP_IV Samsung_IV etc. How to check whether the same object having the instance...

posted 3 years ago
  • 11 replies
  • 907 views
This content is deleted
Forum Topic
How do I get clicked instance variable value?
0 favourites

I have 10 same sprites, some with same value of variable "Name" (string), and some with different value. I need to get "Name" of clicked sprite to change all sp...

  • 15 replies
  • 884 views
This content is deleted
Forum Topic
Teleport Randomly between object???
0 favourites

Trying to teleport to another instance of my vent system with a collision but it keeps sending me back to the same one.

  • 0 replies
  • 355 views
This content is deleted
Forum Topic
How do I pick the Object Instance that I taped on?
0 favourites

I'm using Event Scripting and I want to get the Instance that I taped on (with Touch). I have a condition "On tap gesture on obj_interact". Obj_interact is an O...

  • 5 replies
  • 576 views
This content is deleted
Forum Topic
How do I use progress bar for multiple objects?
0 favourites

When a mine is built in one of 15 spots, a progress bar is created (CoalMineConstruction) with the x/y of where that mine is. There's an instance variable on th...

  • 11 replies
  • 993 views
This content is deleted
Forum Topic
How do I pick instance variable of one sprite in family?
0 favourites

Shortest version of this question possible. How can I add 1 to a particular instance variable of the sprite I've selected? There are 3 sprites in the same famil...

  • 3 replies
  • 346 views
0 favourites

When I click on the destroy button, it is supposed to do several things including destroying the sprite. The sprite, which is a member of the minerals family, h...

  • 3 replies
  • 265 views
This content is deleted
Forum Topic
How do I set the conditions to do x action -once-?
0 favourites

Essentially, I'd like to see the global value (NumberofPowerPlants) to increase once when the conditions are met. However, I suck at this and the global value i...

Similar Tags