pixel scaling
I want to make all the pixels in my game the same size, but when I resize the sprites it's very tedious to somewhat make the pixels lineup with each other. and when the pixels don't line up that makes the pixels look like, I will use this video as an example.
https://www.youtube.com/shorts/OQzApE2FXmI
so can I get something like a grid to make the pixels line up easier?
If your lining up pixels the size of the pixels needs to be the same so its best to use the same measurements and limitations on all sprites and draw them all the same size basically if you set the sprite size to the biggest sprite so imagine the biggest sprite was 6464 then you need all of the sprites to be 6464 you don't need to resize the actual drawing keep it the same size but just put it basically in a bigger sprite then when drawing screen.drawSprite("name",0,0,100,100) since you already sized them in the sprite they can all just be 100*100 and they will be correct sizes then its easier to line them up
Thanks I'll see how this works for me :)
you dont even need to define the size when you draw a sprite.
so instead of
screen.drawSprite("sprite", x, y, width, height)
do:
screen.drawSprite("sprite", x, y)
by doing this the sprites actual size defaults and only ever depends on what you make it in the sprite editor.
if you draw a 32x32 sprite in the editor, the size on the screen will be 32 pixels in height and 32 pixels in width.
so if you have every sprite the same size and width in the editor, all of the sprites will appear with the same pixel size on the screen.
Ah good catch I had forgotten you can leave out such parameters