This asset provides an easy way to drop a spectacular "shockwave" effect into your game. This effect uses surfaces and primitives to create the effect (no shaders!), and can be used without any setting up or editing - simply import the scripts and effect object, then call the "shockwave_create()" script just as you would any other create function.
The effect is highly customisable and you can set the following parameters:
The asset also includes some "Extra" draw scripts, which are versions of the main draw script but only drawing specific parts or in specific ways. These do not have to be used and can be removed if required.
Don't forget to revise all the scripts and code in the demo project as it is heavily commented!
Version 1.0.0. Published August 6, 2017
Created with GameMaker: Studio v1.4.1772
You can only review assets you've bought.
Just what I was looking for when wanting to add shockwave ripple effects to my project.
I've noticed something when running the example while the task manager runs in the background: The more shockwaves I make, the higher the RAM usage of the example climbs. It does jump when clicking right button, and stabilize back down, however, it does not return all the way to where the example first started. RAM usage increases by about 2mb per ripple. I tried editing the "wave_vf" to "global.wave_vf", but this small problem persists. Could it be that the vertex buffers aren't being deleted or surfaces aren't being freed?
As far as I can see, this isn't a memory leak in my asset and just the way that windows/GMS works. Certainly, the code cleans up after itself correctly and all dynamic resources (surfaces, buffers, vertex formats) are cleaned up when the effect ends, so it's not something in my asset that is causing this directly.
Doesn't work on html5
Doesn't work on html5
Hi there! Just saw this review, and you're right... it's not working on HTML5. :( I'll look into why that is, as it should be okay and it used to work I'm sure. Sorry for the inconvenience (it works fine on all other platforms, at least!).
EDIT: Effect now works on HTML5 (although the demo itself has minor issues with the buttons... :( )
cool effect !!! excellent