-
Spawn actor on different layer
by mrpacogp ·moving... testing with a lot of actor, trying to constrain motion linear x to 0... -
Save/load attribute problem! Pls help!
by gyroscope ·A more usual situation than the one you have is to have two buttons on your menu/intro card. One is new Game or similar, and this just takes you to your first scene, where you start fresh. the other b -
Save/load attribute problem! Pls help!
by GLGAMES ·Why not use a table? constrain all your level attribute, pottery attribute & treasure attributes from the table. update the table and save it while your game runs or after a level has been com -
How many people are at the school?
by tenrdrmer ·do this by placing an actor and set some game attributes off the actors position to indicate the boundaries or you could simply code the value into your behaviors. -
How to spawn an actor at a random exact location.
by sparx13 ·1 is colliding with location 1 it will change an attribute "location one free" to false. -
How many people are at the school?
by tatiang ·Change Attribute game.ActorCount (type index) to game.ActorCount+1 -
Could someone help with my light up template
by gyroscope ·an integer attribute called MaxCorrect; for each of the tiles that involved with the circuit, a rule each, when self.Rotation = 0, Change Attribute MaxCorrect to MaxCorrect+1, otherwise Change Attribu -
Random Generate a card
by IsabelleK ·Yes, if you use: Change attribute game.Card to random(1,52) it will randomly choose the card from 1 to 52 (Image) -
Random Generate a card
by wibbsy ·When an instance of that actor is spawned assign a random number to that instance's game.Card attribute between 1 and 52. -
Random Generate a card
by wibbsy ·thanks for the pointers. So I'm clear, I create a card actor and add a new attribute of Game.Card (integer). -
How many people are at the school?
by shark1505 ·When a sim overlaps or collides with the entrance actor, I would change attribute game.CurrentStudents to game.CurrentStudents+1. -
Timers are for chumps - GS optimization tips
by domenius ·The addition of attributes does have a performance overhead, but it is significantly less than what a native timer takes. The difference is that the attributes use physical memory to store, whereas ti -
Score based on height
by LooseMoose ·No worries, I figured it out. Just made an attribute called portal and when my hero overlaps with it (portal is located at 5000 mark), it changes game.portal to game.portal+5000. -
Save/load attribute problem! Pls help!
by nowherejay ·So i have a problem with save load attributes. I have 3 attributes that need to be saved, one for unlocked levels, one for pottery counting and one for treasure box counting. I have all three loads at -
Jetpack style - Acceleration & move behaviors
by jjramire83 ·In my case I needed the actor to "move" in the direction it was rotating but also maintain speed. So I used some trig to constrain the x and y linear velocities (linear x = cos(self -
help with on/off button.
by tatiang ·Unless you are specifically using a condition that says When attribute self.image is [something], images have no effect on actor's rules. -
Whomever can figure this out is a genius!
by Chakku ·Change Attribute: -
the best place to put a save and load attribute
by TomCoffee ·Sooo.. I can save values in a table instead of using a load/save attribute? -
help with on/off button.
by Chakku ·I used expression editor, and self boolean attributes. I told him to analyze it, so he could see what I did. -
help with on/off button.
by UtopianGames ·Make a game integer called Button then in the actor you want to press do if touch is pressed change attribute game.Button to ( game.Button+1)%2 so everytime you press the integer will loop from 0-1-0-