Lives system in reality factory

Programming Reality Factory and Genesis3D.
User avatar
aicd99
Posts: 247
Joined: Mon Oct 10, 2011 11:17 am
Contact:

Lives system in reality factory

Postby aicd99 » Thu Sep 07, 2017 2:01 am

Anyone knows how to add a lives system in RF simular to Crash Bandicoot. When you run out of 4 or 5 lives game is over and you have to start again. Is it possible ?

Wraps
Posts: 37
Joined: Sun Jun 06, 2010 2:04 am

Re: Lives system in reality factory

Postby Wraps » Thu Sep 07, 2017 11:00 pm

i think ----not sure----that gekido's last demo had something similar.

User avatar
Grok
Posts: 52
Joined: Sat May 27, 2017 9:20 pm

Re: Lives system in reality factory

Postby Grok » Fri Sep 08, 2017 11:23 pm

aicd99 wrote:Anyone knows how to add a lives system in RF simular to Crash Bandicoot. When you run out of 4 or 5 lives game is over and you have to start again. Is it possible ?


I don't really know what the system on Crash Bandicoot looks like, but in principle it aught not be too difficult.

You would need a variable to store the number of lives left. I suppose that could be an attribute of the player or just a variable in a script.

You could then use ShowHudPicture to render an image suitable for the number of lives left.

Have not tried it, but don't see why it should not work.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest