Player choses background

Started by passer-by, Sat 24/09/2005 18:53:24

Previous topic - Next topic

passer-by

How can I do that?
I mean, it is the same room but three different colours for example...and I want the same reactions. If I make three separate rooms, the player can't have the same results. Or am I missing something?

Thanks

Ashen

QuoteIf I make three separate rooms, the player can't have the same results.

What do you mean? Just save the room 3 times, with 3 different numbers and change the backgrounds accordingly. Or, add the different BGs as frames for an animated background, and lock/change them using SetBackgroundFrame()
I know what you're thinking ... Don't think that.

passer-by

Quote from: Ashen on Sat 24/09/2005 18:58:44
What do you mean? Just save the room 3 times, with 3 different numbers and change the backgrounds accordingly.


I'm not sure I understand...
Do I have to save three different rooms adding the same hotspots etc and let the player choose one of them with an " A B or C button"? Which means I will have to do it three times for each room that the previous one leads to?

GarageGothic

Yes, you would if you used that solution.

But just go with the animated background (that is, multiple background frames to toggle between). That would be the best way in your case I think.

Ashen

QuoteDo I have to save three different rooms adding the same hotspots etc

No, I meant save the room as (for example) room1.crm then, change the colour scheme and resave it - hotspots etc intact - as room2.crm, then again for room3.crm. And you'd need a variable to track which had been chosen, for any non-changed rooms that link to it.

But, as GarageGothic said, the 'toggle background frames' method would probably work better for you, as well as using less rooms (although you'll probably still need a variable to track which frame to display).
I know what you're thinking ... Don't think that.

passer-by


SMF spam blocked by CleanTalk