I'm trying to develop a little game engine in pixel art style. It's 5 years that I code in java and processing but now I've some problems with these graphics issues.
For my pixel art game/s the main engine features are:
- No smoothing (so the player must see the pixels cleans)
- See all pixels 5 times bigger
- Manage 5 pixels like 1 (so for example the smallest step available for a sprite or for a particle is of 5 pixels and never less).
In particular for the last feature I would avoid to create all graphics resources 5 times bigger and manage all pixel stuffs, so my answer is: is it possibile to scale the whole window region (so all bitmaps present inside) 5x after each draw step? In this way i can draw all my resources normally and manage all displacements for single pixels and see only at the end the zoom effect.
Now I found only the PImage resize but is not enough, because in this way I have to manage every
displacement for 5 pixels, and furthermore there's the smooth problem. In particular I've troubles for particles system, manage steps of 5 pixels with PVectors.
I found somewhere that there are ways to do it with OpenGL, I tried something but I always received error:
Could not run the sketch (Target VM failed to initialize).
For more information, read revisions.txt and Help ? Troubleshooting.