Page 1 of 1

RPG demo in qb45 from Argentina

Posted: Wed Sep 29, 2010 8:33 am
by commandvom
here is a rpg demo with source code included,
the files of the source are:


the others files are graphics, config files, etc.




the link:

in 'dev.bat' i set the blaster enviroment and load qb.exe with any options.
compile and play! or use 'lords1.exe'

This works fine in win95, win98 and winxp but not works on winvista winseven, and in some nvidia chipsets.

Have some bugs, code unusable, and is incompleted but the subroutine for draw is very completed.

Use SPACEBAR to switch passive mode (to talk) to active mode (to fight).
To fight use Left Button mouse to atack and RightButton mouse to defense.

Press M to view the map (only for debug/test)
Press P to jump to the x,y coordinates only for debug/test)

Enter to the armory and talk with the Fighter
Go to the mountain and search the monsters and kill them!

I am migrate this demo to QB64 and use the new and powerful features of this compiler!


Posted: Thu Oct 07, 2010 3:34 am
by coma8coma1
wow those graphics looks great foronly being 16 color!

did you ever get this posted over to qb64? I'd like to try to play it.

Posted: Fri Oct 08, 2010 8:28 am
by commandvom
Hi coma8coma1! This version is playable but not works in winvista or winseven. try to test/play in winxp and see how looks! the graphics is better than the screenshots (are older screenshots)! jaja

i migrate this to qb64 and to 256 colors and best performance, soon (a month or less) post this in

Posted: Fri Oct 08, 2010 12:25 pm
by burger2227
256? How about 16 million colors? QB64 can do that too.

SOUND, BIG arrays, speed and no 64K memory limitations.

What code besides the colors needs "converted"?

USE V 0.91 as we are having sound board problems with the latest version. Turn Auto Update settings off in Options Menu too until it is fixed.


Posted: Fri Oct 08, 2010 3:11 pm
by commandvom
Hi burger2227!

I not still familiar with the qb64 advanced commands.

I use the statement WINDOWS SCREEN to simulate the 3rd dimention. Use bmp format to some graphics and draw with the PSET directly in screen. The WINDOWS SCREEN resize for me the sprite. Looks the subroutine to draw (dib2) and see how make this.
I want finish or advance in this project to start other more ambitious.
Soon the qb64 version and you see how look very well in 256 colors :)

Thanks for the comments and sugestions!
QB live!!

Posted: Fri Oct 08, 2010 3:19 pm
by burger2227
You can load BITMAPS directly. Don't need to use BSAVE or PSET to load them.

_NEWIMAGE can create ANY sized screen you need. Even 24/32 bit colors.

Use this link to the QB64 WIKI. _LOADIMAGE loads a bitmap directly. _PUTIMAGE places the images.

If you use masks, PUT AND is also supported, but you can also use 32 bit alpha clear colors. We have several Image converters for 8 or 24 bit colors and screenshots. 4 BPP can use 256 if need be.

You will find QB64 easy to use with images!


Posted: Fri Oct 08, 2010 3:35 pm
by commandvom
I try but is not easy to use in this project. I want finish in this form-style (sorry my english!)
I am learning new commands in qb64 but i go slowly, i have no time to practice.
This project are 7-8 years of develope, but now i see the end of this, thanks to qb64 compiler. And see the future of new games developed for me using the new and advanced features of qb64!

Posted: Fri Oct 08, 2010 4:10 pm
by burger2227
Well, MOST of the QB keywords are supported so it should work well when you compile it without many, if any, changes.

Hope to see you there soon!