Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Hello again! I have ran into a new problem. 
I need help with scaling the sprites for the weapons. I have no problem changing where the sprite should be on the screen with the X and Y position.
However when changing the scale of the sprite/gun I can only get it to be super tiny by having the scale on something brutal like 0.00999. I dont seem to able to

get it any bigger than that before it dissapears from the screen for being too big I pressume?
I have tried putting it in munus. But the software seems to crash as well if I try to put the scale in  minus . Like for example ¨ -50¨  or such.


Any help/ recommendation on scale or what to do? 

Thanks!



(1 edit)

your weapon image much be huge

and no, you cant scale to a negative value

try manually changing the scale of you weapon sprites in an image editor, this should make it easier to reposition and scale in the editor.

a huge weapon sprite serves no real purpose, it would be scaled down in the editor anyways and is just a waste of space and memory to load.


this is my method for creating weapon sprites easily:

make a 320x180 image canvas and place your weapon sprite in the canvas where you want it to be on screen, then offset the y axis in the editor to compensate for weapon bobbing

example
(1 edit)

Oh, but higher res sprites DO have a purpose.

When you render your sprites and want to have sharper graphics you'd need higher resolution for weapons.