Ice Puzzles
Version: 1.0
Type: Ice-Sliding Puzzle
IntroductionRemember in Pokemon games? In those ice caves you would run into those ice puzzles where you slid across the ice. You had to find your way out by following a certain path. To fully understand watch this video. Youtube (http://www.youtube.com/watch?v=O9Zv7KDHue0) Skip to 3:28 to see what I'm talking about.
Features
ScreenshotsSliding on Ice
(http://i678.photobucket.com/albums/vv143/GameGuysProjects/ice.png)
(http://i678.photobucket.com/albums/vv143/GameGuysProjects/ice2.png)
DemoMediaFire (http://www.mediafire.com/download.php?dyzjtjtigzy)
InstructionsRequires 1 variable.
1 parallel process on the map.
Okay so first. We want to open up our Tilesets in our database. Choose your ice tile, and set the terrain to 2.
(http://i678.photobucket.com/albums/vv143/GameGuysProjects/terrain.png)
Now we want to create a simple ice puzzle. Like this one here. Feel free to copy.
(http://i678.photobucket.com/albums/vv143/GameGuysProjects/path.png)
The darkened snow path is what I'm using as the ice.
Okay we're all set, we just now have to setup the event. First we want to set our variable to the player's terrain.
(http://i678.photobucket.com/albums/vv143/GameGuysProjects/setvariable.png)
Then we want to make a conditional branch checking to see if that variable is 2.
(http://i678.photobucket.com/albums/vv143/GameGuysProjects/event.png)
Now we add a branch to check to see if the player is facing up, down, left, or right.
(http://i678.photobucket.com/albums/vv143/GameGuysProjects/event2.png)
Now we in each branch we want to make the player move in that direction. So in up make him move up, in left make him move left, etc. Make sure to check the Ignore if Can't move option. Our event should look like this.
(http://i678.photobucket.com/albums/vv143/GameGuysProjects/event3.png)
Also add a Wait 1 Frame after all the branches. Forgot to mention that sorry. Or else it won't work.
Run the game and get through the puzzle. Of course you can make more advanced ice puzzles. Just be sure the maps that have ice puzzles on it have that same event we just setup. And make sure its a parallel process.
Credits and Thanks
- game_guy ~ For making it
- Pokemon ~ For inspiring me to make it
Author's NotesEnjoy!
*level up*
Simplistic. Love it. Good job. ^_^
This is awesome. But, instead of checking which way they are facing here:
(http://i678.photobucket.com/albums/vv143/GameGuysProjects/event3.png)
couldn't you just use 1 Step Forward?
Which is why I'm getting back into eventing. Before scripting I would have realized that. I'm not as good as an eventer as I used to be. Thanks for pointing that out.
EDIT: I just tried it. And its not working. So I'll keep it as is.
Really? :O.o: Works just fine for me.
G_G, you might wanna add that you need a wait of 1 frame at the bottom or else it wouldn't work... XP
Quote from: Breloom Trainer Brudder on February 27, 2010, 05:00:16 pm
Really? :O.o: Works just fine for me.
Quote from: Elite Four Aqua on February 27, 2010, 05:23:56 pm
G_G, you might wanna add that you need a wait of 1 frame at the bottom or else it wouldn't work... XP
I forgot I had that there. It'll work with the wait 1 frame at the bottom.
after i did 2 steps with the system on the ice it gives massive legg
going to see what can cause it later
EDIT : Ok it's defeneatly not the event checking it.
Something else in my game is lagging with it
Now it gives me a script is hanging error after a while
Also, to make it look like the character isn't just walking over the ice, add a Direction Fix On command at the beginning of the Move Route and Direction Fix Off command at the end.
*adds to my little bag of trinkets and things and levels up*
nice event system G_G
OFF TOPIC: don't ask about the bag.
>.>
<.<
*scratches head* Where did my ice-slide-puzzle event thread go? :hm:
Anybody know what can cause my mega lag and "script is hanging" error ?
Something with blizz-abs pixel movement ?
no it can't be cause i tested it in another game with the same scripts and it works perfect there.
EDIT : Blizz-abs Pixel Movement IS the problem ! I tried changing it back to zero in-game with
$game_system.pixel_rate = POSSIBLE_VALUE
but when i try to change it back to 1 my character walks through walls and stuff first and then i get a "script is hanging" error again >:(
This gave the puzzles of my game a slight increase in quality.
Thank you and nice work! :haha:
Ninja-Necropost. :ninja:
Seriously, though, please don't bump old topics needlessly. There is a big-bold-red warning that alerts you when you're about to. When it does, make sure that your post is relevant, such as a question, reporting a bug, etc.
*wonders why this was never moved to the database* *waits for someone else to move*
* Moves to Database. Wonders why G_G has never moved his own event to Database all this time :V:
Oh sorry, yes. I'll be more carefull in the future :shy: