Placeholder

Will Change Later

October 16, 2022 - Shader Implementations

Hey there!

I’ve never in my life used shaders, so i tried to learn a bit about them, i made a few simple shaders to change the color of the enemies and a rainbow overlay to make special types of enemies. My idea is to apply them to the enemies and make them have more health and do more damage depending on the “SpecialTypeLevel” variable which is random and goes between a NumberA to NumberB depending on the stage.

enemy-shaders enemy-shaders

enemy-shaders

I also applied the rainbow shader to elements in the UI, like at the shop title and the level up message

shaders shaders

Im still learning a few things and experimenting a bit with them cause i dont have a deep understanding of how they work, but tutorials and the GameMaker Documentation helps me a lot.

Because of this feature i thought about adding a way of knowing when the enemies are going to hit you. Often people dont even realize why they were hit or how the enemies actually work, so people just felt confussed when they approached the enemies and weren’t damaged instantly by them, and some other times that exact thing happend but they got damaged by just touching them, so to make it more clear i made this effect for the enemies, where they do this cool little thing whenever they’re ready (or almost ready) to hit you getting-hit-shader

There’s a new feature in GMS2 called Effects, which is pretty much just shaders that you can apply to the room without any code. I used some of them for effects that i didn’t even thought about adding to the game, i think they look really good :D Effects

That’s pretty much it. I will make a future devlog with all of the new features that are on the game once i polish them a bit, and maybe have an update ready. As you can see in all the videos and images, there’s been a couple of things that change and im so exited to be done with them so i can show it to everyone, but i want to publish it when everything it’s ready so it feels like and actual polished and well done update, i want to improve the quality of my game and add all this cool features that i have on my head (and a .txt file on my computer so i dont forget) the game may not be close to being finished but i am learning so much about gamedev with this project and im kinda proud of the things i’ve done with it, all the Assets and Code, how the game looks, sounds and plays its pretty much what i wanted it to be from the begining and im hoping to make myself more and more proud as i go on with the project. It might not be perfect or even decent for some people, but seeing my progress and being able to make all this things that i never thought i would be able to do makes me feel really happy, im sure this is something i’ll always be able to look back to and feel proud :D