Search found 2989 matches

by vdecampo
Sep 26, 2007 2:43
Forum: Sources, Examples, Tips and Tricks
Topic: 32-Bit / 16-Bit RGB Converter
Replies: 8
Views: 3544

Re: 32-Bit / 16-Bit RGB Converter

vdecampo wrote:I wrote this function to convert my game display from its' native 32-Bit to a 16-Bit display. Hope someone finds it useful.
I guess MySoft won't find it useful. Did I mention that the code wasn't optimized?

Thanks for upstaging my offering. Your code is superior.
by vdecampo
Sep 25, 2007 22:43
Forum: Game Dev
Topic: HEX FACTOR (Playable Test Release)
Replies: 31
Views: 12130

The only function I use from FreeImage is reading JPG images. Other than that, everything is pure Win32 API.

If I disable the draw to the screen, I bet your FPS goes way up.

I will make it possible to disable and we can test it out...

-Vince
by vdecampo
Sep 25, 2007 20:53
Forum: Sources, Examples, Tips and Tricks
Topic: 32-Bit / 16-Bit RGB Converter
Replies: 8
Views: 3544

32-Bit / 16-Bit RGB Converter

I wrote this function to convert my game display from its' native 32-Bit to a 16-Bit display. Hope someone finds it useful. I have yet to try and optimize it but it is already very fast. It converts a 32-Bit 800x600 screen to 16-bit at around 44 FPS on my PC. '***************************************...
by vdecampo
Sep 25, 2007 20:10
Forum: Game Dev
Topic: HEX FACTOR (Playable Test Release)
Replies: 31
Views: 12130

@Lachie

I got a 16bit display version working. Download and run the HexFctr16.exe and see if you get any improved performance.

-Vince
by vdecampo
Sep 23, 2007 22:31
Forum: Game Dev
Topic: HEX FACTOR (Playable Test Release)
Replies: 31
Views: 12130

Well, when I said 16 bit mode I meant on the one initiated with the SCREENRES statement. I guess you are not using pure FBgfx. FreeImage might be the problem here. You are correct. I process all internal Sprites and GFX as either 24bit or 32bit RGB. These are all composited to a 32bit backbuffer an...
by vdecampo
Sep 23, 2007 21:08
Forum: Game Dev
Topic: HEX FACTOR (Playable Test Release)
Replies: 31
Views: 12130

My inital attempts to convert the game display down to 16bit have not been successful. While I can get the images to show, the colors are all messed up. Is the 16bit GFX mode palletized or RGB565? Or something else completely?

Maybe there something else I can optimize.

Sorry. :-(
-Vince
by vdecampo
Sep 23, 2007 17:09
Forum: Game Dev
Topic: HEX FACTOR (Playable Test Release)
Replies: 31
Views: 12130

The games' optimum FPS is 30. The FPS limit is coded at 33 it will not exceed no matter how fast the PC. I will try adding a 16bit option and see what that does. The powerups I had in mind were... 1. Powerups for more ammo 2. Increasing weapons range 3. Faster ship movement 4. Shield power 5. and so...
by vdecampo
Sep 23, 2007 2:36
Forum: Game Dev
Topic: HEX FACTOR (Playable Test Release)
Replies: 31
Views: 12130

Forgot to report my FPS. It's 14. I have a crappy PC. But it's fine. The game is fully playable. I slowed the game down to 15FPS to simulate what you are seeing. I'm sorry but to me that speed makes the game unplayable. I wish I could optimize it further for you. I remember you were getting single ...
by vdecampo
Sep 23, 2007 1:11
Forum: Game Dev
Topic: HEX FACTOR (Playable Test Release)
Replies: 31
Views: 12130

Also, in this latest version I felt my ship was inconveniently sluggish, Really? In what way? What was your FPS? You should be able to outrun most all enemy fire. I like the new features, although weapons 2, 3 and 4 seem too similar to me. Yes, I used the same sprite just to move the process along....
by vdecampo
Sep 22, 2007 21:01
Forum: Game Dev
Topic: HEX FACTOR (Playable Test Release)
Replies: 31
Views: 12130

Yes, original link. Or here for those too lazy to scroll back to the top of the thread. ;-)

http://www.imakegames.com/HexFctr.zip

Cheers!
-Vince
by vdecampo
Sep 22, 2007 17:04
Forum: Game Dev
Topic: HEX FACTOR (Playable Test Release)
Replies: 31
Views: 12130

New Version Available

My game is very close to being finished. This latest playable demo incorporates the following additions.... -Free 360 degree rotation -Player Damage from Enemy Fire -New Weapons -New Enemies -Additional Sound Effects -Numerous Engine Optimizations Still need to add Powerups and Mission Goals. I welc...
by vdecampo
Sep 19, 2007 18:32
Forum: Archive
Topic: FBWinPrint 0.10
Replies: 54
Views: 35662

FBWinPrint .012

I fixed stretching of images and some potential crash situations plus added some other functions... '************************************************************************ ' FBWinPrint v 0.12 - Windows Printing Library for FreeBASIC ' by Vincent DeCampo ' ' Rev 0.12 (09/19/2007) ' ' - Fixed using ...
by vdecampo
Sep 18, 2007 23:43
Forum: Archive
Topic: FBWinPrint 0.10
Replies: 54
Views: 35662

Scroll button or down arrow broken? ;-)

Fixed!

-Vince
by vdecampo
Sep 18, 2007 23:05
Forum: Archive
Topic: FBWinPrint 0.10
Replies: 54
Views: 35662

I have found an issue with using StretchBlt and the printer DC. I will find a resolution and fix the PrintBMP function. Could you post a snippet of your call to the function?

-Vince
by vdecampo
Sep 18, 2007 0:03
Forum: Archive
Topic: FBWinPrint 0.10
Replies: 54
Views: 35662

FBWinPrint 0.11

Ok, I should have the scaling issue resolved. Download and try it again...

Cheers!
-Vince