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.

Dark GDK / Sprite Width

Author
Message
Szymat
13
Years of Service
User Offline
Joined: 17th Oct 2010
Location:
Posted: 6th Jan 2012 20:12 Edited at: 6th Jan 2012 20:12
Hi!

I have a question. I have a png image:

It's transparent and I want to take it width as int. I don't want to resize or snap image. Is that possible?

dbSpriteWidth - gives me whole image X size I want only this letter.
Mr Bigglesworth_666
12
Years of Service
User Offline
Joined: 6th Jan 2012
Location:
Posted: 6th Jan 2012 20:27
Leave the y and the z at 0 and just change the x number. That should work if it dont ill creat a demo for you.

666
Szymat
13
Years of Service
User Offline
Joined: 17th Oct 2010
Location:
Posted: 6th Jan 2012 21:01
I solved this other way, but thanks

I moved "a" to first pixel on the left, and saved its width (11px).

Closed!
Mr Bigglesworth_666
12
Years of Service
User Offline
Joined: 6th Jan 2012
Location:
Posted: 6th Jan 2012 21:27
that workes to your welcome tho

666

Login to post a reply

Server time is: 2024-04-20 02:48:29
Your offset time is: 2024-04-20 02:48:29