Content tagged variable
A symbolic name associated with a value and whose associated value may be changed.
So I'm making a game, and I'm wanting the price of an object to randomize from let's say 10-20. But when I do so, it gives me a decimal, which I don't want. Ple...
I have a door which has position of X and Y and need these values to be stored as variables at the beginning of the layout so I can return the object to its ini...
I make sprite in project,but not place it on layer at editor.Add to this sprite two instance variables. Till it not placed on layer-i can't edit variables. Plac...
Probably a simple question, I want to append values to a local string variable but I'm not sure why my expression Is'nt working: If I remove the reference to th...
I am trying to find a way to pick all sprites that share the same instance variable. These sprites will have different names but the instance variable string wi...
Currently I have a function that, when triggered, is supposed to reduce the height of a stamina bar. The problem is that after the function runs, it returns to...
1. If I shoot enemies very fast Kills+1 sometimes doesn't count if it sits under Health<=0 && Alive==True. 2. But! It does count properly if it sits above destr...
I've made a basic fighting game just to get to grips with this software. I've set up an Instance Variable on the enemy sprite called blockLikelihood which I've...
I'd like to allow the player to "place" a given object at the mouse's X/Y coordinates. They'll select the object from a pulldown list, click somewhere on the sc...
I've just read this short tutorial on using instance variables to display dialogue: What would I need to change if I wanted an NPC to display more than one stri...