Particles pixel flames - Grab and drop torches

Words
232
Reading
2 min
Listen
Play
5y

Goodevening everybody :D

So I did a big breakthrough as far as game ideas working, now I have a lot of control on the mouse hand and I think
it's gonna be the main focus of the game, the ability to drag and drop object and to control them. I'll show more when I have it refined better.

Now let's talk about flames

qwddw.png

I used this really quick and easy tutorial to make the particles effect

and then proceed to make my own custom torch with the ability to interact with the physics of the game and the Hando.
This was easily done by replacing the X and Y of the object when pressed the mouse left button, though I spent a while doing this because I forgot that when GMS 2 physics world is active you have to use phy_position_x or y. I even made a post about it sometime ago 馃槴 practice make it perfect they say.

Here's a bit of playing around with the torches



鈻讹笍 3Speak

The problem I got though is that after spawning around 10 of this the game get really laggy and the fps drops are kinda irritating. I wasn't planning to have many torches at once but still having room for improvement here.

Oh well time to go to the sea! Have a nice weekend you all gamedevers!

Particles pixel flames - Grab and drop torches | Ecency