Content tagged instance-variable
A variable defined in a class for which each instantiated object of the class has a separate copy, or instance.
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...
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...
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...
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...
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...
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...
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...
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...
Couldn´t see or find a way to do it. Is it not possible or am I missing something? Also. First:V.
In a similar manner as we can use the create an object by name feature in Construct 3, I was wondering if it'd be possible to set up the same mechanism for inst...