Chaos Project

RPG Maker => Event Systems => Event System Database => Topic started by: G_G on February 27, 2010, 11:44:55 am

Title: [XP] Ice Puzzles
Post by: G_G on February 27, 2010, 11:44:55 am
Ice Puzzles
Version: 1.0
Type: Ice-Sliding Puzzle



Introduction

Remember 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




Screenshots

Sliding on Ice
Spoiler: ShowHide
(http://i678.photobucket.com/albums/vv143/GameGuysProjects/ice.png)
(http://i678.photobucket.com/albums/vv143/GameGuysProjects/ice2.png)



Demo

MediaFire (http://www.mediafire.com/download.php?dyzjtjtigzy)


Instructions

Requires 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.
Spoiler: ShowHide
(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.
Spoiler: ShowHide
(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.
Spoiler: ShowHide
(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.
Spoiler: ShowHide
(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.
Spoiler: ShowHide
(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.
Spoiler: ShowHide
(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




Author's Notes

Enjoy!
Title: Re: [XP] Ice Puzzles
Post by: (Hexamin) on February 27, 2010, 02:44:05 pm
*level up*

Simplistic.  Love it.  Good job.  ^_^
Title: Re: [XP] Ice Puzzles
Post by: lilbrudder917 on February 27, 2010, 04:45:09 pm
This is awesome. But, instead of checking which way they are facing here:
Spoiler: ShowHide
(http://i678.photobucket.com/albums/vv143/GameGuysProjects/event3.png)


couldn't you just use 1 Step Forward?
Title: Re: [XP] Ice Puzzles
Post by: G_G on February 27, 2010, 04:49:39 pm
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.
Title: Re: [XP] Ice Puzzles
Post by: lilbrudder917 on February 27, 2010, 05:00:16 pm
Really?  :O.o: Works just fine for me.
Title: Re: [XP] Ice Puzzles
Post by: 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
Title: Re: [XP] Ice Puzzles
Post by: G_G on February 27, 2010, 05:26:28 pm
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.
Title: Re: [XP] Ice Puzzles
Post by: element on April 11, 2010, 06:59:44 am
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
Title: Re: [XP] Ice Puzzles
Post by: Alton Wyte on April 11, 2010, 04:41:38 pm
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.
Title: Re: [XP] Ice Puzzles
Post by: Kett Shee on April 12, 2010, 12:45:37 am
*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.
>.>

<.<
Title: Re: [XP] Ice Puzzles
Post by: Blizzard on April 12, 2010, 03:16:33 am
*scratches head* Where did my ice-slide-puzzle event thread go? :hm:
Title: Re: [XP] Ice Puzzles
Post by: element on April 15, 2010, 05:51:58 am
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  >:(
Title: Re: [XP] Ice Puzzles
Post by: MarkHest on September 24, 2011, 11:47:25 pm
This gave the puzzles of my game a slight increase in quality.

Thank you and nice work! :haha:
Title: Re: [XP] Ice Puzzles
Post by: ForeverZer0 on September 25, 2011, 12:08:09 am
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.
Title: Re: [XP] Ice Puzzles
Post by: G_G on September 25, 2011, 12:38:18 am
*wonders why this was never moved to the database* *waits for someone else to move*
Title: Re: [XP] Ice Puzzles
Post by: ForeverZer0 on September 25, 2011, 12:56:50 am
* Moves to Database.  Wonders why G_G has never moved his own event to Database all this time :V:
Title: Re: [XP] Ice Puzzles
Post by: MarkHest on September 25, 2011, 03:51:00 am
Oh sorry, yes. I'll be more carefull in the future :shy: