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 am creating a survival game with an inventory system. The inventory system consists of three objects, the inventory slot, the resources, and an array to keep...
I have a MAIN SPRITE with 6 animations (1, 2, 3,etc). When I rollover a different "hover" sprite (named "hotspot"), I identify an instance number variable (name...
I've been creating several menus to perform specific tasks for a base management game I've been making. I've run into a few problems though, that have been hard...
I'm working on a management game in which little minions known as objWorkers go around performing tasks at different buildings based on an instance variable Wor...
In this example, I'm creating the orange "sprite" at a random location. What I want to accomplish next is to click on one of those oranges and add to the orange...
Hey C3! My apologies for the crappy title but wasn’t sure how to phrase it. In short, I have a sprite with an instance variable “show” and when you left click o...
I apologize that the subject heading is a bit confusing. Basically I want the player to create a trail of objects as he moves using the tile movement behavior....
Sprite1 Animation frame compared with Sprite1 Animation Frame - Results always true- issue? Sprite1 Animation frame compared with Sprite2 Animation Frame - fals...
I'm trying to write all the information of the sprites contained in my layouts with JSON. Including size, angle and even instance variables. But I do this by us...
I'm trying to create json files with all the information of my layouts and create others automatically. I have to acquire all the data regarding the variables o...