AdamLearns / JumpRoyale

This is the game that chat plays during my stream breaks. It's a platformer controlled through Twitch chat.
19 stars 2 forks source link

Add jump smoke #93

Closed DarkStoorM closed 6 months ago

DarkStoorM commented 7 months ago

Depends on:


This PR adds an extra particle system to the jumpers, which is a one-shot emitter. It emit particles when we execute the Jump command.

The particles have around 0.5 alpha color value, making them transparent, but they require some tweaking (scale, maybe color and texture), because I don't know what are the optimal settings for the smoke to look good. For now they are just default particles.

To test them in the editor, disable one shot and emit. Or play the game, spawn bots and press J.

[!Note] Observation: after adjusting the smoke's position, it displays correctly when jumping through chat command, but not when we press the J hotkey to make everyone jump 😡 no idea why, but I don't think we care anyway


Other stuff


Chat message jumps vs hotkey jumps:

https://github.com/AdamLearns/JumpRoyale/assets/7021295/db5d282a-9d51-4f8a-b98f-d88334abfc7a