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.

2D All the way! / another sprite problemo....

Author
Message
Duffer
23
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 24th Mar 2005 05:52
see attached code... I grab an image from a black / blank screen. I use it in a sprite. I set the sprite to the same image and same size ... and..... the sprite looks noubt like the image I grabbed - explanations please?!?
Duffer
23
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 24th Mar 2005 05:53
sorry - code now attached
pizzaman
22
Years of Service
User Offline
Joined: 18th Feb 2004
Location: Gateshead, UK
Posted: 24th Mar 2005 09:11
your missing the extra 1 off the get image command.

Therefore get image 1,1,1,100,100 should be get image 1,1,1,100,100,1

Duffer
23
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 25th Mar 2005 02:55
what does the extra '1' signify?
Duffer
23
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 25th Mar 2005 02:57
@ pizzaman - sorry - being lazy - found out it was the texture flag and yes you're right - and thanks
dj chainz
21
Years of Service
User Offline
Joined: 25th Sep 2004
Location: England
Posted: 27th Mar 2005 06:10
i would use the origin as 0,0 so:
get image 1,0,0,100,100,1

I am the lead programmer at red spark studios
http://www.brazilianhotties.tk

Login to post a reply

Server time is: 2026-07-14 10:06:37
Your offset time is: 2026-07-14 10:06:37