The Daily Click ::. Forums ::. Klik Coding Help ::. How Do You Make A Number Fly Off The Baddies When You Hit Them?
 

Post Reply  Post Oekaki 
 

Posted By Message

Zapper



Registered
  05/02/2003
Points
  435
17th July, 2003 at 05:12:12 -

Note: This is for a birds-eye-view RPG
How do you get a number to fly upwards a little bit and say the ammount of damage that was taken off the baddie

The effect I am after is something similar to what most RPGs do when you hit the baddies. Games like, PSO, Blaze & Blade, Infact nearly every RPG does it I think

So how can I get this effect is TGF?


 
n/a

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
17th July, 2003 at 05:20:32 -

Create a counter over them, and set its value to what you took off. Or use one counter and when you hit them, place it over their head.

-Andy

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

ShadowCaster

Possibly Insane

Registered
  02/01/2002
Points
  2203
17th July, 2003 at 05:20:38 -

MMF 1.5 has the ability to reposition counters, but I'm pretty sure TGF doesnt. If you want an easy way, I suggest upgrading, otherwise you might choose to make an active object with each possible number that can be taken off an enemies health. It doesnt take too long (I did the numbers 0-100 in two different colours, so 202 numbers in total for a game I made years back when I used TGF...) If you have something like PS you can download scripting support that'll generate all the images for you, PP has the same thing and doesnt require you to download a seperate plugin (I wish I had those back when I did it!)

Mike

 
"Now I guess we're... 'Path-E-Tech Management'" -Dilbert

ShadowCaster

Possibly Insane

Registered
  02/01/2002
Points
  2203
17th July, 2003 at 05:21:22 -

Andi: Yeah, but that doesnt help the floating up part?

 
"Now I guess we're... 'Path-E-Tech Management'" -Dilbert

Jenswa

Possibly Insane

Registered
  26/08/2002
Points
  2723
17th July, 2003 at 06:36:40 -

You can alwaysa create sprite counters in TGF and make them go upwards,
no need to upgrade to mmf for that.

Active object, with numbers 0 to 9, use the animation frames for values,
you can even change the colour then.

 
Image jenswa.neocities.org

Zapper



Registered
  05/02/2003
Points
  435
20th July, 2003 at 08:04:10 -

Hmm
Thanks for the help guys

But is there not an easier way using a text object and changing the string and position or something like that

There must be some way the text object can do it

 
n/a
   

Post Reply



 



Advertisement

Worth A Click