Dev - Also, on form submission, use GD to resize the image as a new thumbnail file
Dev - In the submission form, you can now upload a banner image
It would only really work for side-on perspective games, or one in which you can't enter the water as it reflects the area above it, but not anything in it.
It's my first time at using surfaces so it may not be done as efficiently as possible.
You can edit the properties of the reflections in obj_water's create event (except the speed of wobbles, which is in surf_ctrl's create event), or in the room in the example (push F1 for controls). It allows you to vary:
-The quality of the water (number of scanlines across it).
-The length of the reflections.
-The angle of the reflections.
-The 'wobbliness' of the reflections.
-The speed of the wobbles.
You can also edit the alpha value and colour of the reflections by editing their values in obj_water's draw event, in the draw_surface_ext() line.
This requires a registered version of gamemaker, as it uses surfaces. If you don't have a registered version, you can find a .exe here, that you can play with if you like:
If you should want to, it is very easy to add this to your own games. All you need is the surf_ctrl object in the room, and place water objects where you want them. Just merge this with your own game and add them to your rooms.
You can change the size of the water sprite, and it should still work. However, note the sprite needs to be rectangular. You can give it different shapes by drawing another sprite over the top of it, as i have done in the example.
I hope someone finds this useful, and I would very much appreciate any comments/suggestions. And if people could let me know how it performed on their pc (fps), along with their pc's specs, then that would be great too.
There is a slight problem in that if you change the reflection angle, the reflected sprite at the edge of the room may be stretched.
This is because the surface is only of the visible screen. If anyone knows how i can get the surface to contain stuff that is not in view, I would be very grateful if they could let me know.
I've also noticed that as I have added variables to allow you to change the values of the properties of the water "on the fly" in the example, that the fps has dropped a bit. So if you want to use this in your games, i would recommend taking out the variables and instead just putting the values straight in in the code.
Thanks a lot,