New Game in PB

Advanced game related topics
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Paul.

I was told that PureBasic was only good for writting Windows form based applications, so of course I had to set out and prove otherwise :)

This was also a great chance to learn a little more about the various commands that PureBasic has to offer. What I really find amazing is the actual finished program is only 41kb (it's the graphics that take up all the space)

Take a look at:
http://www.reelmediaproductions.com/lady

I will make the source code available if enough people are interested.
Have Fun !!



Edited by - paul on 15 September 2001 20:54:24
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Mr.Skunk.

simple and efficient. Very well done game. good graphics sounds and anim.
I also appreciate the installer.

But, as i'm a great player , only 1 life is too few for me (i tried several times and never pass level 3 ).

If you can add a option to quit the game this would be great...

I'm always interested by sourcecode, if you want to make it available.


Mr Skunk

Mr Skunk's PureBasic Web Page
http://www.skunknet.fr.st
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Paul.

Hi Mr.Skunk
The game quits when you press the ESC key. (except when it is specifically asking you to press the SPACEBAR)

Don't feel bad, I couldn't get past level 3 for the longest time and then suddenly I made it to level 6. Of course that was a one time thing. I'm stuck at level 3 again :(


I will email you the source code, it's only 14kb. I am almost embarased to show it to you since you are such a better programmer than I.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Mr.Skunk.
I am almost embarased to show it to you since you are such a better programmer than I.
So, you didn't see any of my source to say that
I'm a specialist of long and unreadable sources (sometimes even for me after some weeks ).
But I've to take care now with ASM, i try to write very clean source (hard for me.....)


I've just received your mail. I looked at your code and i think it seems to be a very clean code...


Edited by - mr.skunk on 16 September 2001 06:20:59
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.


Whow !!! The first game in PureBasic ever

I really appreciate the work ! Thx for the greetz :).

Fred - AlphaSND
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by plouf.

sources are always welcome :)
hey this nice graphs do you designen them with a paint prog ?

christos
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by preacher.

Nice Game!

I was just wondering why the graphics seems to use wrong palette?
Colors are yellowish...




[Preacher]
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Paul.

We have one computer here that could not display the graphics properly, the colors were messed up. All the other computers here worked fine. We just assumed it was an old video card or old drivers because it had the latest DirectX installed.

Anyone else had this problem? You'll know if you can hardly make out the instructions on the first screen and all the graphics look bad.
(I did the graphics up in Photoshop)

Here's a questin for Fred...
What is the special formula for sizing sprites? I have found that odd numbers don't work. 31x31 fails, 32x32 is okay. Also certain even numbers fail as well. When I say fail, I mean they load but display all skewed on the screen.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Mr.Skunk.

Hi

I'm not sure, but don't the sprites size have to be multiple of 8 or 16 ?

Mr Skunk

Mr Skunk's PureBasic Web Page
http://www.skunknet.fr.st
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by preacher.

Just tested the samples for DirectX in PB (sprite, specialFX etc.)
They all bug out the same way as Ladys Garden but found out that if I adjusted the color value of openscreen from 16 to 24 or 32 it worked great...




[Preacher]
Post Reply