News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
puzzle remix
Author Message
mikshaw
Senior Member
****


Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #1
RE: puzzle remix

I got the tiling-without-scaling-the-image part sorta working. It now crops the original image to dimensions that are as close to the original as I know how to get them, rather than scaling the image and crunching the pixels. Unfortunately this only works properly for images that are no larger than the screen. It seems fl_read_image, when applied to an on-screen image, only reads what's visible onscreen (including any external windows that might be in front of it), and leaves the rest of the area black.

So I guess I do need to learn how to use fl_read_image with an off-screen buffer. This might be tricky, since fl_create_offscreen doesn't exist in murgaLua. I think I'm going to need help learning how murgaLua.createOffscreenBuffer works.

01-09-2011 04:16 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
puzzle remix - mikshaw - 01-08-2011, 04:17 AM
RE: puzzle remix - mikshaw - 01-08-2011, 04:37 AM
RE: puzzle remix - mikshaw - 01-09-2011 04:16 AM
RE: puzzle remix - mikshaw - 01-09-2011, 01:09 PM
RE: puzzle remix - mikshaw - 01-10-2011, 05:04 AM
RE: puzzle remix - mikshaw - 01-10-2011, 05:17 AM
RE: puzzle remix - mikshaw - 01-10-2011, 08:28 AM
RE: puzzle remix - mikshaw - 01-11-2011, 01:02 AM
RE: puzzle remix - jpjacobs - 01-11-2011, 01:28 AM
RE: puzzle remix - mikshaw - 01-11-2011, 05:18 AM
RE: puzzle remix - iGame3D - 02-04-2011, 11:51 AM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: