Different versions of a room (SOLVED)

Started by cpage, Wed 22/03/2006 01:13:04

Previous topic - Next topic

cpage

I cant relly go into detail without giving away too much of the game but I need to have about 7 versions of each room (color changes) in a small project I'm working on so basicly my question is, Do i have to make each version of the same room a different room in AGS? is there a way around that? I mean it wouldnt be hard just using flags to get to the right one but i'm just looking for alternatives.

Thanks
Chris

Gilbert

Use different background frames.

But I think there're only 5 frames per room so it may not help you all, yet.
You can, however, use two rooms, with their background frames, thus reducing teh number of room files.

Alternatively you can import some of the room backgrounds as sprites and raw-draw to change the backgrounds.

cpage

Thanks for the quick reply
Quote from: Gilbot V7000a on Wed 22/03/2006 01:46:47
You can, however, use two rooms, with their background frames, thus reducing teh number of room files.
yeah thats what I thought I might wind up doing.
Quote from: Gilbot V7000a on Wed 22/03/2006 01:46:47
Alternatively you can import some of the room backgrounds as sprites and raw-draw to change the backgrounds.
Now when you say import as a sprite (pardon my stupidity) do you mean as an object?

Gilbert

Sprite, import in the sprite manager.
To raw draw a sprite image onto the background, you may check out this.

No need to create an object in a room.

SilverWizard_OTF

One good solution is to set each different version (if they are not a lot) as bachground images of the same room. And with a script command SetBackground Image you can make this you want. Well, if want to reveal any object also, you can have something like "If backgroundimage is 2 then...."
"All we have to decide is what to do, with the time that is given to us"

cpage

#5
Great! thanks for the help guys! after 6 years of being here I may even finish a game!

SMF spam blocked by CleanTalk