-
spawn vs alpha and un-spawn
by synthesis ·Create an attribute (boolean) in the actor named "self.buttonActive" (or whatever) -
[TIP] A Way To Create A Grid Based Game
by netdzynr ·(Again, using this technique you can use a single actor for your grid, and track all occupied slots in one attribute, instead of using separate grid tiles and multiple attributes.) -
random movement
by synthesis ·a switch boolean is a TRUE/FALSE attribute....that can be used like a light switch. You can use another actor or a game controller to make it true or false (if a game attribute). When true...it turn -
random movement
by synthesis ·set a switching boolean attribute called moveRight defaulted to TRUE -
Problem with Attribute and Change Attribute
by synthesis ·Create an integer attribute...such as self.textID with a default of 1 -
get out of a loop
by synthesis ·Create an attribute integer called "animSeqStep" and set it to the default step number -
Problem with Attribute and Change Attribute
by synthesis ·Are you changing the seed/parent actor or an instance? I always create my attributes in the seed actor and then modify them if needed in an instance. I try to avoid adding attributes to an instance -
Problem with Attribute and Change Attribute
by Devils ·Alright like the title says every time I place the attribute and change attribute when I go to preview it loads the preview fine but when I back out there both blanks. Can someone help out? -
"Level Selector" Page
by Tyvan ·Well one approach could be to have your controls for selecting the levels all appear on the level selection page with color.alpha set to 0 so they are "hidden". Then put a rule in a -
"Level Selector" Page
by jeffheif1 ·My idea was to have a "level selector" attribute. After level 1, I would make the attribute = 1. After level 2, I would make the attribute = 2, and so on. This way, I could say &a -
Right,... Very new to GS, just a quick Q from a newbie!
by scitunes ·create an integer (if you are only concerned with full seconds) attribute called game.ClockOffset (or something like that). -
Need a bit of help with Load/Save
by tenrdrmer ·Put save attribute in the same rule right after you change the attribute. Then put all of your load attributes just on the load screen with the keys matching your save attributes. This should work fin -
Right,... Very new to GS, just a quick Q from a newbie!
by jstrahan ·At start of play set attribute to game.time then just subtract that from current game.time to get time from start of play -
Right,... Very new to GS, just a quick Q from a newbie!
by FatalCrest ·It is possible just that you'd actually have to use timer and for every second add 1 or so to some attribute that counts your time and then every time you switch scenes, to reset the time just set you -
Need a bit of help with Load/Save
by TouchTiltGames ·constrain game.world1total to game.level1+game.level2+game.level3+game.level4 and so on -
Need a bit of help with Load/Save
by TouchTiltGames ·I've got your constrain attribute on the World screen...I guess it doesnt matter where that goes... -
[TIP] A Way To Create A Grid Based Game
by netdzynr ·The project dynamically tracks occupied slots of a grid, with no need to "hard code" the slot numbers or available positions. You provide some of the basic positioning attributes, an -
Zooming camera does not allow touch and drag of other actors...
by StusApps ·As I recall when zoomed in to a camera of 240x160 I had to change the x and y values by half. For example: my zoom only happened when you touched an actor but the constrain to touch position didn't wo -
Need a bit of help with Load/Save
by tenrdrmer ·Also since you have a level attribute and a wold attibute your using i think you would need to set your rule for each level to check if the level have been beat using something like this. -
Need a bit of help with Load/Save
by tenrdrmer ·Perhaps I don't have the load attribute in the right place? I have it on the World Select Screen, which isn't the first screen you see when you start the game and isn't the first screen you see if you