Lives system in reality factory

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

Lives system in reality factory

Post by aicd99 »

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: 41
Joined: Sun Jun 06, 2010 2:04 am

Re: Lives system in reality factory

Post by Wraps »

i think ----not sure----that gekido's last demo had something similar.
User avatar
Grok
Posts: 137
Joined: Sat May 27, 2017 9:20 pm

Re: Lives system in reality factory

Post by Grok »

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.
Post Reply