04-25-2020, 06:23 PM
Hi Jaume,
Nice to know your game is progressing, and thanks to credit the tools used in your Facebook promotion page!
I'm also working from home, some days with my 6-year old boy "helping me", some days alone. We're all healthy, so I can't complain. I hope you're doing well too..
This is a sample glitch on a sprite. It combines two different glitches: a per-line bad hsync, and a per-frame bad vsync. They're configurable in the top macros. AMOUNT_ is the chance to happen, in units of 1000 (1000 = 100% chance), and STRENGTH_ is the displacement in pixels. make_glitch_map() builds a glitch table that is then used inside raster() function to "glitch" a single sprite. You could tweak it to glitch a list of sprites, or even background layers. Having a shared table makes it easy.
Regards,
Nice to know your game is progressing, and thanks to credit the tools used in your Facebook promotion page!
I'm also working from home, some days with my 6-year old boy "helping me", some days alone. We're all healthy, so I can't complain. I hope you're doing well too..
This is a sample glitch on a sprite. It combines two different glitches: a per-line bad hsync, and a per-frame bad vsync. They're configurable in the top macros. AMOUNT_ is the chance to happen, in units of 1000 (1000 = 100% chance), and STRENGTH_ is the displacement in pixels. make_glitch_map() builds a glitch table that is then used inside raster() function to "glitch" a single sprite. You could tweak it to glitch a list of sprites, or even background layers. Having a shared table makes it easy.
Regards,