This tutorial will explain one method of animating water and creating custom shape water beds for parallax mappers, using photoshop.
Footage Taken From
Amulet of Athos: Legend of the Sarian Knights
WHAT YOU WILL NEED
Modern Algebra's Animated Parallax script
Woratana's Multiple fogs script (Optional Script)
Celianna's Farm and nature Tileset (Optional resources)
Ying's Trees (Optional resources)
Some time and a little patience.
Due to the media limit here, I can't embed all the videos or even link them. So you'll have to copy and paste each video link (removing the . before it) in to a new browser. For a more user friendly version with embeded videos you can find this tutorial on rpgmakervx.net here.
This is quite a long tutorial, so please make sure you have plenty of time.
STEP 1 - Starting up
- Open Photoshop and create a new page with the desired map size.
- For this tutorial we will stick to one standard resoulution VX screen, 544x416 pixels.
- Next make and Insert your ground layer (I'll leave this to you)
- And open up any resources you want to use.
- I strongly recommend Celianna's Farm and nature Tileset and Ying's Trees.
STEP 2 - Making the Water Pool
- Go to Celianna's tileset or the resource of your choice and find a water like image, something with wavey lines in it, like in the video.
- Copy and paste it in to the page you're working on, above the ground layer.
- Keep doing this like in the video untill you have filled the page, Try to mix it up abit so you don't see any obvious blocky patterns.
- Once you have filled the page, you should have something like in the video below.
- Keep in mind, you can save this image and re-use it for all your other water maps so you don't have to do this process ever again!
- Re-color the water if you want.
- Duplicate the water layer, Very important Incase you mess it up! (like i often do) and then work on the copied layer.
- Now, select the eraser tool with the rounded soft brush and erase out the shape of your pool like in the video above.
- Move the pool to the desired position, if need be.
STEP 3 - Adding a border
- Go back to to Celianna's tileset or the resource of your choice and find a 'Edge' like image, like in the video.
- Copy and paste it in to the page you're working on, going all around the border like in the video.
- Ok, you must be thinking WTF? right now, but please, trust me, it will work out in the end.
- So now it should look like the video below.
- Duplicate the border, Incase you mess it up and then work on the copied border layer.
- Select the eraser again and the soft rounded brush and go around the Inside of the border smoothing out all the rough edges.
- Then still with the eraser select the splatter brush, but this time go round the outside of the border, use lots of clicks instead of draging.
- Once that is done you should have some what of a decent border, I did mine very roughly. You can spend alot more time and make yours really nice.
- Of course you don't have to make a border like this and just use your 'cliff' tiles instead which is done in the same method. (I'll leave that to you)
STEP 4 - Making the Animation Frames
- Duplicate your water pool layer 3 times, name it Frame1, Frame2, Frame3
- I used 3 frames you can use however many you want but I don't reccomend too many.
- Select each frame individualy then go to Filter > Filter Gallery > Distort > Ocean Ripple
- For the first frame change the Ripple size to 2 and keep Ripple magnitude on 1.
- For the second frame change the Ripple size to 4 and keep Ripple magnitude on 1.
- For the third frame change the Ripple size to 6 and keep Ripple magnitude on 1.
- You can adjust the Ripple size value in larger increments if you want the water to be more hostile.
STEP 5 - Saving The parallaxes
- There are many ways to display the animated frames in the game, one option would be to use the multiple fogs script. (which will be needed for waterfalls that you can walk through)
- But for this method we will use Modern Algebra's Animated Parallax script.
- So make sure you have Modern Algebra's Animated Parallax script already in your game.
- Select only frame 1 and the rest of the layers and save the image as "WaterTut_1 .png"
- Do the same for frame 2, this time name it "WaterTut_2.png"
- Do the same for frame 3.
STEP 6 - Inserting in to the game
- Open up your project.
- Make sure you have Modern Algebra's Animated Parallax script inside.
- Put the default speed to 10, you can assign a speed for each individual map, but we'll just go with the default value for now.
- I put 10 but you can make it faster if you want.
- Open Resource Manager, In parrallaxes import the 3 images you created.
- Set the map properties up like in the video, Make sure the map is the correct size!
- Once that's done we can test it. Watch on youtube itself or fullscreen! sucks embeded.
- Ok, lets compare it to the default RTP water.
- Don't know why I showed you that.
- Above is the comparison, not too bad I geuss.
- Again please watch on youtube.
STEP 7 - Adding Water Features
- How about we spruce things up abit?
- Let's add some nice water features rather then having a plain old boring pool of water.
- Please watch on youtube!
- Open up your resources. Celianna's and Ying's resources are awesome for this, thanks guys!
- Copy say the rock feature like in the video and paste it into your page, paste it again on top of it.
- Name one layer Rock Top and other Rock bottom or something just so you can identify them later, if need be.
- On the top layer select the soft round eraser tool, yet again, and erase around the bottom of it.
- Then select the bottom layer and turn down the opacity. It should look like it's underwater.
- Then on the bottom layer erase the most bottom parts like in the video to give it more depth.
- Do the same for some more features like in the following videos.
- Another water feature.
- That should be enough for now.
- Please remember. when you have done this once you can re-use all of the stuff you created again for later maps so it will be much faster next time.
- Now you need to re-save all these parallaxes again like before.
- Select each water Frame and save it individually just like before, and just overwrite them.
- Now we need to insert them in our game again.
- Do the same like before as in the video above.
- Now let's test it!
- Please watch on youtube, I know I keep saying this.
- It works!
- You can even animate the features aswell using the same method, for exmaple a fountain, but i'll leave that to you.
STEP 8 - Adding a Waterfall that you can walk through.
- Coming soon!
- Can't be bothered right now but I'll show you how to do this soon.
STEP 9 - Build the rest of the map.
- I'll leave this to you.
- In the end It could look something like this.
- Please watch on youtube
That's it for now.
Thank you for your patience, I know it was quite long but hopefully it gave you some idea of one method of animating water.
A very quick example with a little "wave" effect around the edges of the water, which makes the water look more like it is moving.
You can do this using the same method, I'll show you how it was done a bit later.
A quick exmaple of adding water depth.
-Make a new layer above the Water animation frames.
-Select the white color.
-Select the soft rounded brush tool.
-Brush along the border of the pool.
-Once done turn the opacity of the layer down to like 25% or whatever you like.
-Thats it, just re-save your animation frames again with this new layer aswell.
Please make sure to credit the following people if you used their scripts and resources!
Modern Algebra - Animated Parallax script
Woratana - Multiple fogs script (Script)
Celianna - Farm and nature Tileset (resources)
Ying's - Trees(resources)
AK47 - (Tutorial) Some credit would be nice for the time spent making these tutorials.
Found this tutorial helpful?
You can support it if you want or you can support my game Amulet of Athos: Legend of the Sarian Knights which inspired this tutorial.
Edited by AK47, 13 April 2012 - 10:35 AM.