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 / Memblock From Image and Blue sceen.

Author
Message
AlecG
14
Years of Service
User Offline
Joined: 12th Dec 2009
Location:
Posted: 15th Dec 2009 23:43
Hello everyone. I am new here and first of all I am sorry for my english.
I have some problems with bitmap fonts.
I have a bitmap (*.png) with the font I need. How can I show only the part of it?

For example ->
I have 512x512 image and how can I show the part of this image (x1,y1,x2,y2)
x1,y1,x2,y2 - are pixels of this bit map, coordinates of the rectangle with the ketter i need.

And one more quection...
When I pull the window it is filled with blue color and image is dissapeared.What should I do avoid this?

Thank for help

HI!
tvzen
14
Years of Service
User Offline
Joined: 3rd Dec 2009
Location:
Posted: 16th Dec 2009 00:45 Edited at: 16th Dec 2009 00:45
put


to split it

hope i helped
AlecG
14
Years of Service
User Offline
Joined: 12th Dec 2009
Location:
Posted: 16th Dec 2009 01:08
This command will load and create an animated sprite. And I need to split the sprite into 256 parts and then create 256 sprites from these parts with there own ID numbers. I thought i can use memblocks but i don`t know how. I didn`t find any tutorials or something like that about using memblocks for such things.

HI!

Login to post a reply

Server time is: 2024-10-01 20:25:44
Your offset time is: 2024-10-01 20:25:44