Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / ScaleSprite without smoothing?

Author
Message
Cybermind
16
Years of Service
Recently Online
Joined: 28th Nov 2002
Location: Denmark
Posted: 28th Jul 2015 13:17
I am making a pixelated game where I scale up my images, but in AppGameKit, the only command for this is ScaleSprite and it smoothes the resulting sprite, which I don't want, I want a pixelated sprite. I was hoping for an "easy" way But well, how long can it take to cook up an image scale-up function :-P Maybe I should NOT be so lazy and just do it

The byte chrunchers are coming...
DIVIDING BY ZERO/BECAUSE WE SUCK...
Cybermind
16
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Denmark
Posted: 28th Jul 2015 15:18 Edited at: 28th Jul 2015 15:30
Okay, all done! It might not be perfect but it works for me



The byte chrunchers are coming...
DIVIDING BY ZERO/BECAUSE WE SUCK...
JLMoondog
Moderator
10
Years of Service
User Offline
Joined: 18th Jan 2009
Location: Paradox
Posted: 29th Jul 2015 23:31
Overthinking!

Just add this when you load your sprites image file, than you can use the ScaleSprite command to your hearts content.



Cybermind
16
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Denmark
Posted: 30th Jul 2015 11:18
Oh :-P Thanks

The byte chrunchers are coming...
DIVIDING BY ZERO/BECAUSE WE SUCK...

Login to post a reply

Server time is: 2019-07-23 09:54:02
Your offset time is: 2019-07-23 09:54:02