A few probably simple questions for you all!

FrontRoomGamesFrontRoomGames Member Posts: 116
edited November -1 in Working with GS (Mac)
Ok so first off im new to game salad, im working on just learning the basics before I jump into just trying to make an app.

Following video tutorials, ive got a few things such as pause buttons, reset, and i got it to where when my object goes over an area it goes to the next scene. Nothing compared to most of you probably! lol

but my question is i have no gravity cause the game i have in mind to make has to do with something being slid on ice, but how do i get it to slow down.. like when i throw my object it just keeps bouncing all around forever but i want some kind force to slow it down but im not sure how to do that.

Thanks for looking and any help!!

Comments

  • JadarStudiosJadarStudios Member Posts: 264
    Welcome! If you wan't gravity, put an accelerate attribute into your actor, have it accelerate down at 600. The scene gravity is not the best I hear, mabe some one else can tell us why. The scene gravity is in Scene > Attributes > Gravity > Y. (Just so you know.)

    -Jake
  • FrontRoomGamesFrontRoomGames Member Posts: 116
    Thanks for the help, quick replys, and extra info!!
  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    You can apply gravity to a scene in the scene attribute window. On the left side of the program up close to the top, are 2 buttons, Game and Scene. Click on the scene button, and in the browser there is a Gravity option. Open that up and set a value that works best for you. And also, you can apply gravity to a single object by adding a move behavior, and have it set to straight down. Adding gravity in the scene will apply gravity to all actors in that scene, and if you use the move behavior, it can be applied to one actor only. Use what suits you best.

    And another thing is the restitution in the Physics section of an actors attributes. Double click an actor in the actor bin on the left, and below it's icon will be a list of more attributes that are associated with that particular actor. Open up the Physics, and look for "restitution" and set that to a number that works realistically to what you are trying to achieve. 1 is a lot, so you can even set it to something like 0.7 or 0.5 or 0.anything. Play around with that to get the desired results. play with all those numbers to get a feel of what that do, like the Density, or Drag, or Friction.

    Hope that helps.

    Edit: Yeah, I'm all late and stuff...
  • FrontRoomGamesFrontRoomGames Member Posts: 116
    that all helped, 2 more questions have come up tho.

    1. it will stop moving but it will keep spinning in circles..
    2. how do i get it to point it the direction its going like if it hits a wall i dont want it to just freakout and spin in circles, just go in a straight line with the front pointing where its going(i found the thing to do this last night but for some reason im drawing a blank as to how to do)
  • ChobbifaceChobbiface PRO Posts: 491
    Welcome! You need to put in some angular drag for it to stop spinning, this is on the left side when you open up the actor under physics as well. Have a fiddle with the numbers, if you put it up high, that should stop it spinning much when it hits the wall.
  • FrontRoomGamesFrontRoomGames Member Posts: 116
    SWEET! thanks!

    one more question for right now, how can i get my actor to point to where its going like when i throw it it will just spin and point everyway other then the way its going
  • FrontRoomGamesFrontRoomGames Member Posts: 116
    THANKS! again.

    but not to get annyoing wit all these questions but im trying to work on a game like paper toss like i got the throwing motion but when i throw it how do i make it have depth like as if i was throwing it across the room..
Sign In or Register to comment.