How do you turn your character off?

Started by Gold Dragon, Fri 23/05/2008 03:30:58

Previous topic - Next topic

Gold Dragon

Ok I feel REALLY stupid asking this but I can't find out how anywhere!!

I want to be able to make my character disappear.  Isn't there something like cEgo.visable = false or player.visable = false some where?
Want to see how I am doing and how far I've gotten in my game? Visit my forum  http://www.freepowerboards.com/DragonKnight

GarageGothic

If I don't misremember, there's an undocumented Character.on parameter, which can be set to true or false. For the player, this is the same as changing the ShowPlayerCharacter property in the room editor. You can also use Character.Transparency = 100 to make a character invisible.

monkey0506

Another option would be to set the character to some co-ordinates like (-1000,-1000).

Hainisoft


Radiant

All of the above will work, as will changing the character's view or loop to something containing blank sprites.

Using transparency means the character can still be clicked on; the other options won't. Well, unless you have pixel-perfect turned off, but it's on by default.

Gold Dragon

Thank you all  ;D I'll figure out which one will be the best way for me.
Want to see how I am doing and how far I've gotten in my game? Visit my forum  http://www.freepowerboards.com/DragonKnight

SMF spam blocked by CleanTalk