YolkfolkThe Dizzy Fansite 0 logged in0 playing
Community discussion

Moving Brushes Between Rooms

Started by Queex on 24 December 2009 • 4,720 views

8 posts
#54606
Is it possible? Sending a GameCommand(CMD_REFRESH) doesn't work. Neither does ObjPresent(idx) (although it's technically a brush ID and not an object ID).
👍 0
#67718
no, it isn't possible. sorry.
👍 0
#67719
As delta said, it's not possible. Brushes are partitioned in rooms. But you can move them inside their room, but not outside. Use dynamic brushes, or duplicate the static ones depending on what you need.
👍 0
#67747
I wonder what your trying to achieve Queex? Maybe Jamie/Alex can suggest a different way of approaching this?
👍 0
#67749
hmm well....

personally, if i were doing it, I'd use the code I've wrote especially for CoTM to enable dynamic objects to act as 'block' brushes, but that is rather complex coding, and involves quite a few modifications to the original code. Plus it's highly specialised for CoTM, and may not necessarily work as expected in a classic dizzy game.

Otherwise, your only real option is to botch it. :tongue: basically it depends on what exactly you're trying to do, but you could always use a dynamic object with the collider property set to 'hard collision'. Alternatively you could use a brush in each room instead.
👍 0
#67778
I settled on a dynamic brush with hard collision. It turned up a flaw in the ice code, but there are deeper problems with that I still need to look at.
👍 0
#67850
ahhh - are you trying to create the effect of continuous skidding on ice from one room to the next?
👍 0
#67851
Actually, just a boat you can drop things on. :wink:
👍 0