Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Names above head ?

Jason

Awesome Bro

Hey everyone, I need a script, which would be really handy for my game.

What I need is, the name of your character above your head at all times, which has been done before, although, I also need something like this:

Say I make an event, give it a sprite, and add a comment called Jeff, then the name Jeff will appear above the events head, so I can now give my events names that can be seen by the player without him having to talk to each one of them.

I would also like this to be able to be turned on and off with a call script, I imagine it would be like:
Code:
$game.player_headname = False
Although I somehow get the feeling I'm WAY off.

I hope this is enough info for what I need, and I hope someone can do this for me.
Thanks.
 
Couldn't you do this with event's, or stick the name over the character's head, through the character's event itself.
Code:
#==============================================================================
# ** Event Icon & Text Display
#------------------------------------------------------------------------------
# SephirothSpawn
# Original Text Display By Ã
 

Jason

Awesome Bro

I can't get it to work even if I take out the SDK lines, I get an error Line 264 which is:
Code:
    bitmap.draw_icon_text(0, 0, 192, 24, @character.etd_display_text, 1)
Any ideas ?
 

Jason

Awesome Bro

When I click the link it says: Internet Explorer has encountered an error within the file, this file may contain viruses or pornography which are harmful to your computer, please download at your own risk...

JOKING !!!!

Thanks for the link, your becoming REALLY handy.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top