Moving Brushes Between Rooms

Need help with using DizzyAGE then look here
Post Reply
Queex
Hard Boiled Egg
Posts: 124
Joined: Thu Oct 22, 2009 5:04 pm

Moving Brushes Between Rooms

Post by Queex » Thu Dec 24, 2009 11:57 pm

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).
- Lost Temple Dizzy -
- Iron Tower Dizzy -

delta
Hard Boiled Egg
Posts: 3965
Joined: Fri Feb 09, 2007 7:08 pm
Location: North West
Contact:

Post by delta » Fri Dec 25, 2009 7:05 am

no, it isn't possible. sorry.
Image

Image

"Quotes from the internet may not be genuine" - Abraham Lincoln

xelanoimis
Team Yolkfolk
Team Yolkfolk
Posts: 1014
Joined: Sun Jan 21, 2007 6:34 pm
Contact:

Post by xelanoimis » Fri Dec 25, 2009 9:48 am

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.

DizzyFanUK
Hard Boiled Egg
Posts: 606
Joined: Tue Mar 18, 2008 11:20 am
Location: Brentwood, Essex, UK

Post by DizzyFanUK » Mon Dec 28, 2009 4:28 pm

I wonder what your trying to achieve Queex? Maybe Jamie/Alex can suggest a different way of approaching this?
:v2_dizzy_thumbsup:Long Live Dizzy - May his boxing gloves never shrink in the wash :v2_dizzy_biggrin:

delta
Hard Boiled Egg
Posts: 3965
Joined: Fri Feb 09, 2007 7:08 pm
Location: North West
Contact:

Post by delta » Mon Dec 28, 2009 5:58 pm

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. :p 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.
Image

Image

"Quotes from the internet may not be genuine" - Abraham Lincoln

Queex
Hard Boiled Egg
Posts: 124
Joined: Thu Oct 22, 2009 5:04 pm

Post by Queex » Tue Dec 29, 2009 12:33 pm

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.
- Lost Temple Dizzy -
- Iron Tower Dizzy -

DizzyFanUK
Hard Boiled Egg
Posts: 606
Joined: Tue Mar 18, 2008 11:20 am
Location: Brentwood, Essex, UK

Post by DizzyFanUK » Fri Jan 01, 2010 10:36 pm

ahhh - are you trying to create the effect of continuous skidding on ice from one room to the next?
:v2_dizzy_thumbsup:Long Live Dizzy - May his boxing gloves never shrink in the wash :v2_dizzy_biggrin:

Queex
Hard Boiled Egg
Posts: 124
Joined: Thu Oct 22, 2009 5:04 pm

Post by Queex » Fri Jan 01, 2010 10:43 pm

Actually, just a boat you can drop things on. ;)
- Lost Temple Dizzy -
- Iron Tower Dizzy -

Post Reply