Search found 2980 matches

by vdecampo
Oct 01, 2007 16:25
Forum: Beginners
Topic: Compile only?
Replies: 4
Views: 1425

Terse then sarcastic. You guys are rough on noobs! 8-\

Just use the -c switch when compiling...
-Vince
by vdecampo
Sep 30, 2007 14:31
Forum: General
Topic: confusion using [] to access a zstring ptr character
Replies: 7
Views: 1896

This is how you treat zString pointer.... Dim As Zstring Ptr buffer buffer = @"123456789" Print buffer[0] 'points to the entire zString Print mid(buffer[0],5,1) 'will return char #5 Print InStr(1,buffer[0],"5") 'returns position #5 Print "Press any key to exi...
by vdecampo
Sep 28, 2007 22:28
Forum: Game Dev
Topic: Game Concept Idea Thread
Replies: 49
Views: 60791

My biggest problem with games has been that I've never finished one. I start them. Get many of the basic gameplay pieces together, then it dies on the vine because I got bored with the idea, or got writers block and put the game away. My latest, Hex Factor, is the closest I've gotten to completing a...
by vdecampo
Sep 28, 2007 21:07
Forum: Game Dev
Topic: HEX FACTOR (Playable Test Release)
Replies: 31
Views: 10664

BTW, how are you pasting that huge nebula background? Perhaps allowing the user to disable it would increase the speed. The background is a 2048x1536 bitmap. I BitBlt only the 800x600 section that occupies the visible screen at the time. I have made F8 disable updating the background just to see if...
by vdecampo
Sep 28, 2007 1:48
Forum: Game Dev
Topic: HEX FACTOR (Playable Test Release)
Replies: 31
Views: 10664

@Lachie

I optimized the screen blasting function to use MMX. I noticed an increase of FPS on my system so I am curious if it's better on yours too.

-Vince
by vdecampo
Sep 27, 2007 15:09
Forum: Tips and Tricks
Topic: 32-Bit / 16-Bit RGB Converter
Replies: 8
Views: 3023

cha0s wrote:If it's any consolation, you (as well as the rest of us) always get access to the best code that comes out of it after the smoke clears =]. We do this $%#@ all the time.


Yes, I discovered that benefit!
I'll post my whole freak'in library! :-)

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

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: 10664

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: Tips and Tricks
Topic: 32-Bit / 16-Bit RGB Converter
Replies: 8
Views: 3023

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: 10664

@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: 10664

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: 10664

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: 10664

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: 10664

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: 10664

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....

Go to advanced search