Last night while Burger2227 helped me through a message on here, I got to looking and found an old Mortal Kombat Guide I wrote in Quick Basic 4.5. I ran it through QB64 and everything was cool, except my HELP section and the final screen that loaded up which was an ANSI Graphic file. ANSI Graphics were the main graphically colored menues, old school dial-up (modern day Telnet) BBSes used for the menu screens. ANSI Graphics are also commonly called CGA Graphics and manly eary games such as Leisure Suit Larry 1 and 2, Police Quest 1 and 2, and several others used imbedded ANSI coded CGA Graphics as there backgrounds and their characters in some cases. This is the reason many early renditions of modern day computer characters looked blocky and square.
Now that it was 16 years ago when I last updated the program, and modern day PCs don't load MS-DOS with ANSI.SYS included with it, I can't us my ending screen. So, I opened my FATALITY.ANS with ANSI Viewer for DOS in DOSBox, and screen captured the ANSI with the old Print Screen trick. I then opened Windows Paint and got me a PNG of the ANSI screen.
My problem is this... I'm read several places on the QB64 Wiki about uses pictures, but my silly program errors out everytime with this:
My code for the PNG screen to appear is most likely the problem and I'm not doing something right... Here is that code.
Code: Select all
SUB sega
CLS
SCREEN 12
i& = _LOADIMAGE("FATALITY.PNG")
_PUTIMAGE , i&
END
END SUB