Code question

Talk about anything related to the level designer.

Code question

Postby Not saying! » Wed Apr 12, 2017 8:45 am

How do I set the health of the character to 1, like in Niicola's The Level (http://www.lastlegacy.us/view.html?id=111)? I don't want to have to damage the character when they start.
Thank you! :mrgreen:
User avatar
Not saying!
 
Posts: 16
Joined: Sat Jul 25, 2015 6:06 pm
Location: On a plane that flies around the world 24/7.

Re: Code question

Postby Karyete » Wed Apr 12, 2017 12:09 pm

Not saying! wrote:How do I set the health of the character to 1, like in Niicola's The Level (http://www.lastlegacy.us/view.html?id=111)? I don't want to have to damage the character when they start.
Thank you! :mrgreen:


Put 3 Damage Amulets on the character's equips.
User avatar
Karyete
 
Posts: 101
Joined: Wed Aug 13, 2014 11:19 am
Location: Here, there and everywhere.

Re: Code question

Postby Not saying! » Wed Apr 12, 2017 7:43 pm

Ah, ok! *Facepalm* I haven't played in a year (and you may remember my no effort levels), so I forgot.
User avatar
Not saying!
 
Posts: 16
Joined: Sat Jul 25, 2015 6:06 pm
Location: On a plane that flies around the world 24/7.

Re: Code question

Postby Supershroom » Wed Apr 12, 2017 8:06 pm

Effectively, players always have the possibility of cheating such a level by wearing off the cursed amulets and respawning. This isn't really circumventable, so damaging the character at the start and not adding any heart seems to be the only way if you want to force players into this.
User avatar
Supershroom
 
Posts: 173
Joined: Sat May 30, 2015 7:41 pm
Location: Germany


Return to General

Who is online

Users browsing this forum: No registered users and 0 guests

cron