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.

Author
Message
FROGGIE!
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: in front of my computer
Posted: 2nd Jan 2004 15:40
I am having problems with the get image command, it keeps coming up with 'bitmap too small'can ne1 give me some code that will divide up a 480 x 480 bitmap into 48 x 48 squares just like in the walking sprite tutorials.

():x:x::::::::::::
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 2nd Jan 2004 18:52 Edited at: 2nd Jan 2004 18:53
summink like this, I haven't checked it as I wrote it as I went. Someone may have a neater suggestion.

You probably got your top left coordinates out by 48 pixels, and went off the edge at the far end.



BatVink (formerly StevieVee)
http://facepaint.me.uk/catalog/default.php

Login to post a reply

Server time is: 2024-11-25 23:32:12
Your offset time is: 2024-11-25 23:32:12