-
Limiting movement to 90º increments (IE: 0, 90 , 180, 270) on a grid (among other things)
by tatiang ·If you want to constrain the actor to grid squares, you would use this: -
Tables/Arrays in new update
by tatiang ·@hatch - Are you asking whether you can retrieve a value from a column based on an attribute column number? If so, then yes. -
Tables/Arrays in new update
by hatch ·Is there any way to query a table by passing in an attribute rather then looking for the exact row col or a random return? i.e. can i ask a table to return a value from a column that matches my variab -
How to constrain cannon angle to the player angle, so it rotates to shoot the player.
by famekrafts ·I am not spawning it. Using constrain attributes. That's the problem or else with spawn it was easy. Currently what seems to be working is self rotation of lightning actor to vector angle (player.x,pl -
Can i change an actor density in game?
by famekrafts ·Normally in the attribute editor 50 doesn't work but .5 works so try using that but if Darren says then probably there is no way to change it. -
How to constrain cannon angle to the player angle, so it rotates to shoot the player.
by famekrafts ·Also tried creating an attribute called cannon rotate. Put the self rotation of cannon in this attribute and made the lightning rotate equal to cannon rotate. But it's still not working. -
Can i change an actor density in game?
by williamt2706 ·Let's say i create a rule that in certain condition the actor density change from 50 to 100. I've try to use "change attribute" from "self.physics.density" to & -
problem with spawning actors
by AEPstudios ·in my spawner actor : change attribute game.random actors to random(1,1) -
How to constrain cannon angle to the player angle, so it rotates to shoot the player.
by ashtmj ·and the max 320, and make the condition of the constrain rotation rule that the cannon's self rotation is above the self min and below self max. -
How to constrain cannon angle to the player angle, so it rotates to shoot the player.
by famekrafts ·Thanks it worked, now how do I constrain the cannon angle say not more tha 70 degrees, otherwise the cannon will look broken with the shooting barrel breaking apart from the body if the angle is more -
How to constrain cannon angle to the player angle, so it rotates to shoot the player.
by ashtmj ·constrain your boss' rotation to -
Low FPS / 1 Minute Load but everything optimized
by famekrafts ·Do now spawn and destroy, simply constrain and interpolate. You might have to change the whole game but it will solve the major loading problem. Lag is temperory, many times it never lags also. -
How to constrain cannon angle to the player angle, so it rotates to shoot the player.
by famekrafts ·I am creating a boss enemy which will shoot the player, it will upto rotate to a particular angle and shoot the player in real time. So have to contsrain it's rotation to a particular angle as well a… -
How to print GS 'code'?
by gyroscope ·You could always use Grab to get screen grabs (assuming you're using Mac), then print the Rules and behaviours that way; same with attribute lists... -
How to pick 8 images randomly and deal on the playboard
by MobileRocketGames ·In the table with 20 rows, type 1-20 ascending (or descending, whatever) in rows 1-20. Then create 8 game.attributes and name them Number1 to Number8. -
how to finish a level automatically when all enemy actors destroyed ?
by tatiang ·change attribute game.ufoCount to game.ufoCount+1 -
Problem with Play Music for Windows
by charliehgreen ·I'm on windows and I'm having the same exact issue. When I import my audio, it won't show under the "Play Music" attribute but it will show under the "Play Sound" a -
How to pick 8 images randomly and deal on the playboard
by tatiang ·if that's what you need, and then use Change Attribute self.image to game.number..".png" to change the actor's image to a file with the name 1.png, 2.png, etc. -
Problem with High Score
by tatiang ·The problem is not with saving attributes, the problem is that you never reset game.score to 0 after the player wins/loses. If you add a Change Attribute behavior to your Restart? actor, it will fix -
GameSalad breaks on Android 4.2
by PixelMetal ·UPDATE: Another bug has surfaced: text does not display if it contains a value provided by a global attribute. It seems to display properly if it's an actor-level attribute.