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! / SIMPLE BITMAP QUEST.

Author
Message
Los
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Location:
Posted: 5th Jan 2005 07:19


Do me a favour and look at this code. Tell me why I can't see any bitmaps being displayed on the second time round. It's this simple stuff like this that puts me off making a longer program.
AJay
22
Years of Service
User Offline
Joined: 24th Jan 2004
Location:
Posted: 5th Jan 2005 08:14
try putting sync at the end of the loop.

This may not help at all since i am a newbie. But it wont hurt to try

128MB ATI All In Wonder 9200 AGP video card, 768 MB of Ram, 2.4 Ghz Pentium 4 processor, 768 MB of ram, 64 bit sound blaster live, 40 Gig hard drive. -AJay- Much thanks to Coding Area

pizzaman
22
Years of Service
User Offline
Joined: 18th Feb 2004
Location: Gateshead, UK
Posted: 5th Jan 2005 18:16
Theres a few problems wrong with your code the main one being:
You didn't tell the computer to update the screen anywhere (sync command)

I modified your code a little bit see if you understand the changes; if not post back

Los
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Location:
Posted: 6th Jan 2005 03:46
cheers for the simple version pizzadude.. I got out of the situation by making it alittle more complicated..


SET CURRENT BITMAP 0
FOR A=19 TO 22
SET CURRENT BITMAP A
COPY BITMAP A,0
set current bitmap 0
COPY BITMAP A,0
PRINT A
WAIT 3000
CLS 0
NEXT A


STUN was something just to check if it completed the FOR loop each time I was that scared.. I'll try and get something to show ya with this proggy

Login to post a reply

Server time is: 2026-06-11 14:48:22
Your offset time is: 2026-06-11 14:48:22