About
I'm making a bullet hell game for thebullet hell jam 2022, and I needed some projectiles using a custom palette. I figured it would be easier to just animate the bullets in Javascript rather than drawing them in GIMP. So I did that, then I added another feature... and another... and like 10 more.
Anyway, here's a tool for generating orbs, bullets, particles, explosions, portals, dust and all kinds of other effects. It has a ton of different parameters you can set, and all of them have little tooltips which vaguely describe what they do. You can then export the orb as a spritesheet or as an animated PNG (APNG) file. Those work in most modern browsers.
How to use
You can either configure the orbs from scratch, loading your own horizontal palette image and fine-tuning all the parameters, or you can just click theRANDOMIZE EVERYTHING button and see what comes out.
Attribution
The tool uses a few open-source libraries.
For PNG exporting and importing, UPNG is used with the pako dependency:
https://github.com/photopea/UPNG.js/https://github.com/nodeca/pako
For GIF exporting, Gif.js is used:
https://github.com/jnordberg/gif.js
The graphical user interface is created using dat.GUI:
https://github.com/dataarts/dat.gui
The perlin noise for clouds is created using the noisejs library:
https://github.com/josephg/noisejs
For doing conversions between the RGB andCIELAB color space, code from color-convert is used:https://github.com/Qix-/color-convert
For comparing colors, theDelta-E 1984 algorithm is used, through code adapted fromhttps://github.com/zschuessler/DeltaE
Once again, I hope you find this tool useful for your game development. Suggestions and critical feedback are welcome. I'm a bit slow to respond but I do read your comments.
(PS: If you want to share some good looking orbs, I'll put them in the sidebar)
These are the palettes used fromlospec:
sweetie-16pear36endesga-32pico-8dawnbringers-8-colorsteam-lordscommodore64microsoft-windowszx-spectrumcolor-graphics-adaptercga-palette-0-highammo-8slso82bit-demichrometitanstone1bit-monitor-glow
Log in with itch.io to leave a comment.
https://docs.google.com/presentation/d/1OiK2QvP-ElT_y3ld6kvEcMbainUouwYJ6g2uFNwQ... I have not touched this in a long time, so some parts may still need some editing before a game could be started (not to mention more people)