-
it means he just "necroed" it bringing this post back to the top and yea im doing the same
-
Script kiddie
Nice.
Hm, Marmotte was pretty timid about his coding skills 8 years ago.
-
not sure if this is comparable, but Im making a spot the difference game and I need a time bar, can I use something similair to the code of this health bar ? Of course it's not hittest related tho, but it should influence the score
-
Senior Member
You can use this:http://blog.bluemagica.com/?p=11
just create it with the maximum time, and then update with the time remaining value.
If you like me, add me to your friends list .
PS: looking for spriters and graphics artists for a RPG and an Arcade fighting project. If you can help out, please pm me!
My Arcade My Blog
Add me on twitter:
-
looks cool, thanks
-
Wow its nice to look back seeing how much progress I have gone though looks like I might get stuck on the forums again
Trust my code, and not my english.
-
Just set up two distinct health variables for them - don't call the variable health, that is taken by default. To draw the health bar use different coloured draw_rectangle, or a sprite based health bar by drawing part of the image.
-
there are a few ways to make health bar.. my favorite:
1. draw a long rectangle
2. make it a movie clip
3. tween the inside color to make it look like the health is decreasing..
4. at the end of the movie clip where the health runs out.. tell it to go to "fail"
5. at beginning.. tell it to stop.. or else it will just play and not work.
6. where you code collisions and hits to your character.. tell the health bar movie clip to advance one frame..
check out how it works in this game i made
http://blueco.ws/ShootingGame
-
Just set up two distinct health variables for them - don't call the variable health, that is taken by default. To draw the health bar use different coloured draw_rectangle, or a sprite based health bar by drawing part of the image.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|