GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. Limiting movement to 90º increments (IE: 0, 90 , 180, 270) on a grid (among other things)

    tatiang
    by tatiang · November 2012
    If you want to constrain the actor to grid squares, you would use this:
  2. Tables/Arrays in new update

    tatiang
    by tatiang · November 2012
    @hatch - Are you asking whether you can retrieve a value from a column based on an attribute column number? If so, then yes.
  3. Tables/Arrays in new update

    hatch
    by hatch · November 2012
    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
  4. How to constrain cannon angle to the player angle, so it rotates to shoot the player.

    famekrafts
    by famekrafts · November 2012
    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
  5. Can i change an actor density in game?

    famekrafts
    by famekrafts · November 2012
    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.
  6. How to constrain cannon angle to the player angle, so it rotates to shoot the player.

    famekrafts
    by famekrafts · November 2012
    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.
  7. Can i change an actor density in game?

    williamt2706
    by williamt2706 · November 2012
    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 &
  8. problem with spawning actors

    AEPstudios
    by AEPstudios · November 2012
    in my spawner actor : change attribute game.random actors to random(1,1)
  9. How to constrain cannon angle to the player angle, so it rotates to shoot the player.

    ashtmj
    by ashtmj · November 2012
    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.
  10. How to constrain cannon angle to the player angle, so it rotates to shoot the player.

    famekrafts
    by famekrafts · November 2012
    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
  11. How to constrain cannon angle to the player angle, so it rotates to shoot the player.

    ashtmj
    by ashtmj · November 2012
    constrain your boss' rotation to
  12. Low FPS / 1 Minute Load but everything optimized

    famekrafts
    by famekrafts · November 2012
    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.
  13. How to constrain cannon angle to the player angle, so it rotates to shoot the player.

    famekrafts
    by famekrafts · November 2012
    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…
  14. How to print GS 'code'?

    gyroscope
    by gyroscope · November 2012
    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...
  15. How to pick 8 images randomly and deal on the playboard

    MobileRocketGames
    by MobileRocketGames · November 2012
    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.
  16. how to finish a level automatically when all enemy actors destroyed ?

    tatiang
    by tatiang · November 2012
    change attribute game.ufoCount to game.ufoCount+1
  17. Problem with Play Music for Windows

    charliehgreen
    by charliehgreen · November 2012
    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
  18. How to pick 8 images randomly and deal on the playboard

    tatiang
    by tatiang · November 2012
    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.
  19. Problem with High Score

    tatiang
    by tatiang · November 2012
    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
  20. GameSalad breaks on Android 4.2

    PixelMetal
    by PixelMetal · November 2012
    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.
Previous Next

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with GameSalad

Sign In Register

© Vanilla Keystone Theme 2026

Powered By Vanilla