Content tagged variable

A symbolic name associated with a value and whose associated value may be changed.

Similar Tags

Report Tag

167 usages of this tag
  • 5 replies
  • 530 views
This content is deleted
Forum Topic
How do I check if a variable has a decimal in it?
0 favourites

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...

posted 4 years ago
  • 2 replies
  • 475 views

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...

posted 4 years ago
  • 8 replies
  • 893 views
This content is deleted
Forum Topic
edit instance of runtime placed sprite
0 favourites

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...

posted 4 years ago
  • 2 replies
  • 581 views
This content is deleted
Forum Topic
String Variable - How to append values to self?
0 favourites

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...

posted 3 years ago
  • 2 replies
  • 315 views
0 favourites

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...

posted 3 years ago
  • 2 replies
  • 301 views
This content is deleted
Forum Topic
How do I reduce an objects height permanently?
0 favourites

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...

  • 3 replies
  • 444 views
This content is deleted
Forum Topic
Global variable doesn't count but everything else is
0 favourites

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...

posted 3 years ago
  • 3 replies
  • 390 views
This content is deleted
Forum Topic
How do I randomise this outcome?
0 favourites

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...

  • 6 replies
  • 379 views
0 favourites

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...

posted 3 years ago
  • 4 replies
  • 311 views
0 favourites

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...

Similar Tags