PDA

View Full Version : RM2K question



Tygore
11-13-2002, 06:57 PM
For all you RM2K masters out there: is it possible to have a puzzle where you have to push an object over another object to activate a third object? I tried to be general, but I want to push a boulder over a switch to open a door.

Artevoi
11-13-2002, 10:58 PM
It's possible, I've never tried it, but I've seen it done.

When the rock is used, make it move away from the hero and then record its X/Y position to two variables. When the X and Y variables match the switch's X/Y coordinates, make the door open.

Ask me if you need code examples. I'll get them from a RM2K game I downloaded.