-
Creating walls and keeping enemies on screen
by quantumsheep ·Do give the birds a 'bounce' attribute? -
back and forth variable
by CodeMonkey ·Timers + Change Attribute are your friend. -
Expressions for timers
by JGary321 ·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 -
Text Box
by JGary321 ·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 -
Heart Containers
by CodeMonkey ·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. -
Heart Containers
by butterbean ·I created a global game attribute: "player health" as integer, and placed 3 in as the number of health allotted -
Displaying Health Bars
by butterbean ·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) -
Displaying Health Bars
by nulo ·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"). -
Displaying Health Bars
by butterbean ·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 -
Displaying Health Bars
by butterbean ·I'm understanding the concepts, but having a hard time when going into GameSalad and putting in these attributes into my Actor etc. -
Displaying Health Bars
by nulo ·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 -
Displaying Health Bars
by quantumsheep ·Give this attribute a number. I put in 10. -
Displaying Health Bars
by butterbean ·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 -
How can I do this?
by JGary321 ·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 -
Displaying Health Bars
by JGary321 ·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. -
Displaying Health Bars
-
How can I do this?
by CodeMonkey ·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. -
Displaying Health Bars
by JGary321 ·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. -
Respawning actor after he's destroyed
by JGary321 ·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 -
Respawning actor after he's destroyed
by butterbean ·Also, is the player alive game attribute boolean or integer? I'm assuming integer