I just want to ask if bigger scale(x2 / x4) affects in any way performance of the game . TY
Scale/performance question
hmmm how much does it affect? is it equal with actually putting in a double sized image(for scale x2)?
it depends on, your background image, count of pixels, count of transparent pixels and maybe things more what i canāt guessā¦
Iām using a really slow netbook computer & thereās not āso muchā performence difference between fullscreen(900x900) & window(500x500)ā¦
Surprisingly little. If youāre talking about the global scale (FP.screen.scale) then very little at all. FP draws to a buffer then just scales that, so drawing at 1280x800 (2x scaled) isnāt too much slower than drawing the same āsceneā at 640x400. Itāll probably actually be quite unnoticeable.
However, drawing 1000 sprites all individually scaled at 2x will cause a large performance hit. This is because sprites with scaling/rotation transforms are slower to draw than those without - much slower (5-10x slower than drawing an untransformed sprite). This is why Stamps donāt support scaling/rotations - they are a fast alternative for simple sprites.