Adding tracing special effect to sprites common to vectrex vector graphic games and very old games like space war, Can it be done?

Hello, and happy holidays!

Adding tracing special effect to sprites common to vectrex vector graphic games and very old games like space war, Can it be done?

T'was the night before Christmas and an indie game dev was wondering... How the rpg/javascript pixi js community would handle a visual effect like this.

For reference here is a link to an in browser version of the game space war, which features cool vector graphics which leave a ghostly trail behind the players spaceship and projectiles.


Besides brute forcing the visual effect onto every sprite via a layered mask tailor made for said sprite, how would you universally apply this effect all actors/npcs events, preferably with a in game switch which could turn the effect on or off...

And would there hypothetically be a way to have the ghost trail be either a monochromatic trail, and color, Or should I just have a Color, and Monochromatic version of the sprite to switch out if having different colored trails is too much logic?

Thank you all, asking the community these questions always produces interesting results.

Happy Holidays and Merry Christmas!!!
It seems to emulate a burn effect or the old monitor (I don't know the correct term though).
In theory you can simulate it using a series of screenshots and draw them on top of each other with different opacity. Not sure if blur is required but sure it will be slow.

Edit*
So every time it displays something, backup the screen and draw it on top of the next frame.

Edit* 2
I don't know if there's some kind of motion blur filter than can do this.
Every so often people ask about it. I'm unaware of any plugin developed, but hopefully someone can chime in and tell me an obscure forum or Reddit comment.

If you're set on making the animation, this is a link to the RPG Maker MZ API. I've found a reference to Pixi.js (RPG Maker's native rendering framework) for using SVGs on this page. If you're unfamiliar with SVGs, you have a few options:
  • Inkscape (a popular open source program) used to use it
  • Krita can also generate SVGs
  • Adobe Illustrate is usually the professionals choice
There are raster to vector tools available online and Inkscape or Krita should be able to do it. On the Mozilla reference page, they tell you how to animate your SVG. It is mostly straight forward. This could help you get started, but I hope there is already a plugin out there already.
Every so often people ask about it. I'm unaware of any plugin developed, but hopefully someone can chime in and tell me an obscure forum or Reddit comment.

If you're set on making the animation, this is a link to the RPG Maker MZ API. I've found a reference to Pixi.js (RPG Maker's native rendering framework) for using SVGs on this page. If you're unfamiliar with SVGs, you have a few options:
  • Inkscape (a popular open source program) used to use it
  • Krita can also generate SVGs
  • Adobe Illustrate is usually the professionals choice
There are raster to vector tools available online and Inkscape or Krita should be able to do it. On the Mozilla reference page, they tell you how to animate your SVG. It is mostly straight forward. This could help you get started, but I hope there is already a plugin out there already.
You've given me a lot to chew on. I'll get started on this and report back in little while.

@utunnels
As always thank you for the input, I'll get to work.
@cronenbuilder I found this today while I was searching some html background effects.


It is done using canvas, but I think the idea is quite similar to that spacewar (black background with bright objects).
Basically it fill the whole screen rect with semi-transparent black color every frame. So it doesn't erase the previous frame completely.
@cronenbuilder I found this today while I was searching some html background effects.


It is done using canvas, but I think the idea is quite similar to that spacewar (black background with bright objects).
Basically it fill the whole screen rect with semi-transparent black color every frame. So it doesn't erase the previous frame completely.

I found a novel way to create trails in a monochrome color and will be releasing the plugin once my game is ready to publish. Thank you for your interest. I'll take a look at the tech behind your post as well. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/adding-tracing-special-effect-to-sprites-common-to-vectrex-vector-graphic-games-and-very-old-games-like-space-war-can-it-be-done.174137/