GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. Creating walls and keeping enemies on screen

    quantumsheep
    by quantumsheep · May 2009
    Do give the birds a 'bounce' attribute?
  2. back and forth variable

    CodeMonkey
    by CodeMonkey · May 2009
    Timers + Change Attribute are your friend.
  3. Expressions for timers

    JGary321
    by JGary321 · May 2009
    I got around that one by creating a local attribute, but the one I could not get around was the delay time on my spells. Delay time was game.Delay * .1 (it would start at 10,9,8 etc) I could not figur
  4. Text Box

    JGary321
    by JGary321 · May 2009
    I could do multiple boxes, but I have a global attribute tied to the box to tell it which spell info to display. Didn't want to have to create a whole other actor just to display another line or 2 of
  5. Heart Containers

    CodeMonkey
    by CodeMonkey · May 2009
    Does the bird get destroyed when it hits the player? If not, then there could be several collisions happening which will decrement the health each time.
  6. Heart Containers

    butterbean
    by butterbean · May 2009
    I created a global game attribute: "player health" as integer, and placed 3 in as the number of health allotted
  7. Displaying Health Bars

    butterbean
    by butterbean · May 2009
    1) SO you create a global game attribute as integer, and set it to default 75 correct? (the one you said to name life.attribute)
  8. Displaying Health Bars

    nulo
    by nulo · May 2009
    1 - create an attribute and set it to 75 by default (75 because the width of your bar is 75)(lets call it "life.attribute").
  9. Displaying Health Bars

    butterbean
    by butterbean · May 2009
    Quantum Sheep, when you said at the end to place a change attribute so that the lives is energy bar goes down by one, do I place that change attribute within the player prototype in the game, known as
  10. Displaying Health Bars

    butterbean
    by butterbean · May 2009
    I'm understanding the concepts, but having a hard time when going into GameSalad and putting in these attributes into my Actor etc.
  11. Displaying Health Bars

    nulo
    by nulo · May 2009
    on my human invasion project, the "health bars" are created using an numerical attribute that defines how much life the player has, and an actor that changes its width depending on t
  12. Displaying Health Bars

    quantumsheep
    by quantumsheep · May 2009
    Give this attribute a number. I put in 10.
  13. Displaying Health Bars

    butterbean
    by butterbean · May 2009
    So If I was wanting to create a health bar that had 3 hits available before the player dies, would I create a separate Actor prototype named "Health Bar", and place constrain attribu
  14. How can I do this?

    JGary321
    by JGary321 · May 2009
    First set a Game Attribute called Game Time & another called Game Score. Set a Timer that every 1 sec to change attribute game.Game Time to game.Game Time - 1. Under the same timer set another
  15. Displaying Health Bars

    JGary321
    by JGary321 · May 2009
    I think I will convert my Castle Defense to an HP/MP bar as well. I never thought of doing the constrain image thing. Thanks for the idea.
  16. Displaying Health Bars

    by · May 2009
    Create an actor with a width set to 150. Have the image for it look the same no matter how it is stretched. Constrain the width of the actor to a percentage based on life.
  17. How can I do this?

    CodeMonkey
    by CodeMonkey · May 2009
    Sambo110, I'm not sure how you have your actor set up, but to stop the spinning when it hits the walls or anything else, go into the Physics attributes and set the Fixed Rotation attribute to true.
  18. Displaying Health Bars

    JGary321
    by JGary321 · May 2009
    Theres probably a few ways. One is to create 3 image files. 1 image for 3 hearts, 1 for 2 etc... This will still work with your player lives attribute.
  19. Respawning actor after he's destroyed

    JGary321
    by JGary321 · May 2009
    If your talking about when you reset the game, your lives would reset, you could make a "Done" button on game over scene that changes attribute games lives to 3 & also change
  20. Respawning actor after he's destroyed

    butterbean
    by butterbean · May 2009
    Also, is the player alive game attribute boolean or integer? I'm assuming integer
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