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

87 usages of this tag
10
30 favourites

A very simple way of displaying different lines of text (aside from just shoving a load of different text objects on a layout) is to use instance variables. In...

  • 4 replies
  • 1.2K views
This content is deleted
Forum Topic
Get current object & instance var
0 favourites

I have two things I want to acheive in order to make my code more modular when shooting some things through functions. If you know any one of these 2 following...

  • 3 replies
  • 899 views

What I'm looking for is, whenever the player misses a box and the box hits the bottom or green "bottom trig" object , the time scale will stop, (boxes will free...

  • 1 replies
  • 632 views
0 favourites

Yup, it means my written english is a disaster. I'm trying to make a square-enix's Go-like game. This is my solution for the movement logic (you can -- no, you...

  • 4 replies
  • 565 views
0 favourites

This seems simple but I just can't figure it out. Situation: I have a bunch of tiles that are all instances of a tile object. I want one instance to automatical...

posted 5 years ago
  • 6 replies
  • 2.7K views
This content is deleted
Forum Topic
How do I create hitbox instances?
0 favourites

I have been trying to find an answer but could not figure it out. Would love some advice and thanks in advance! So basically as topic title suggested, I have a...

  • 5 replies
  • 446 views

I may be misunderstanding something fundamental about how events work, but I've been giving myself a headache searching through tutorials, and trying various ad...

posted 5 years ago
  • 2 replies
  • 655 views
This content is deleted
Forum Topic
Trigger object selection based on variable order
0 favourites

I need some help with instance variables. I'm trying to move a cursor to select objects based on their instance variable. With each tap gesture, the cursor woul...

  • 5 replies
  • 631 views
This content is deleted
Forum Topic
Help with Instance Variable for creating Multiple Objects
0 favourites

I am using a switch and a box. So the task is When player collides with Switch 1, Box 1 should fall through physics.However when there are multiple Switch(Copie...

  • 7 replies
  • 1.3K views
This content is deleted
Forum Topic
Accessing instance variables
0 favourites

Couldn´t see or find a way to do it. Is it not possible or am I missing something? Also. First:V.

Similar Tags