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! / Fuzzy Sprites Problem

Author
Message
Tippex
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location:
Posted: 18th Mar 2003 01:18
Can anyone spot why I'm getting fuzzy sprites please?
When I run this, the first word "Test" is sharp but its copy is fuzzy! (Thanks for any help)

set image colorkey 255,0,255
set cursor 0,0
ink rgb(255,255,255),1
box 0,0,800,600
ink rgb(1,1,1),1
print "Test"
get image 1,0,0,30,15
set sprite 1,1,1
sprite 100,100,0,1
wait key
Oraculaca
21
Years of Service
User Offline
Joined: 6th Jan 2003
Location: Scotland
Posted: 18th Mar 2003 01:55
put an extra 1 on the end of your get image line
eg
get image 1,0,0,30,15,1
....i think

Not-Mr-Thumpy wrinkled his nose, it was suddenly hard to concentrate
Richard Davey
Retired Moderator
21
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 18th Mar 2003 10:23
Yes. Read the "screen scrolling" tutorial for more details.

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
Tippex
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location:
Posted: 19th Mar 2003 00:53
It works! - I overlooked the "texture" flag (1=copy direct to video memory).

Thanks.

Login to post a reply

Server time is: 2024-04-27 06:01:58
Your offset time is: 2024-04-27 06:01:58