Content tagged instance-variable
A variable defined in a class for which each instantiated object of the class has a separate copy, or instance.
In my game, there're 26 letters (instance of a sprite). Each insatance stand for 1 letter (A-Z). If user tap on a letter, I will set its opacity to 60, but I wa...
I am trying to make a randomly generated level and I want to make it choose between the platform X - 10 and the platform X + 10 and I get a syntax error. The ma...
I have a few Sprite objects called Stamp in may layout. I have set instance value `.Next_layout` with some strings equal to some my layout scenes in the game. T...
I have a box (without cover) and balls inside (with Physics behavior). Balls have boolean instance variable: InBox = true. I added an invisible sprite on the to...
Greetings all. I'm having the worst brain cramp on this and need some help. I've gone through demo's, tutorials and previous questions. Mental block still there...
I'm trying to make a hotbar for a game and I want the item that has been bought to go to the nearest available hotbar slot. This hotbar slot has to have a false...
Hey C3! Hope you're doing well out there. Got a simple question that I can't seem to get my brain around. I've got a dropdown box that I've assigned an instance...
How do I add to a text box the value of an instance variable ? Example : - Sprite has 2 instances variables : ID and Value. - There 3 instance of Sprite on scre...
I am doing some basic operation. I create 2 objects and the firt one has an instance variable with a value on it. In the events sheet, I create an event to comp...
I have been trying to figure this one out with not luck, I imagine it´s something simple, but I just can´t find how to do it. I have three instances of the same...