Search found 2989 matches

by vdecampo
Aug 14, 2007 4:24
Forum: Archive
Topic: Game Engine Test
Replies: 23
Views: 7370

I have updated the engine to test player movement and firing routines. The ship should follow the mouse and fire with the left button.

Get it here if you would like to test....

http://www.eastoncomputers.com/HexEngine_Test.zip

Thanks
-Vince
by vdecampo
Aug 12, 2007 21:14
Forum: Game Dev
Topic: Small, simple engine test, please test.
Replies: 38
Views: 14381

When I try to run it I get an error, missing file zlib1.dll.

-Vince
by vdecampo
Aug 12, 2007 19:47
Forum: Sources, Examples, Tips and Tricks
Topic: Line Intersection Algo.
Replies: 12
Views: 3758

Since i'm not sure exactly what your trying to accomplish with your math I can't offer any optimizations there. But I would suggest passing your UDT's as pointers instead of ByVal. A copy of your UDT's is being made each time you enter the function. I would sugest this... Sub Line_Intersection(a As ...
by vdecampo
Aug 12, 2007 5:16
Forum: Archive
Topic: Game Engine Test
Replies: 23
Views: 7370

I have done some optimizing and added in sprite collisions. If you are interested in testing it, I would appreciate your feedback. :-)

http://www.eastoncomputers.com/HexEngine_(.01).zip

Thanks
-Vince
by vdecampo
Aug 11, 2007 20:30
Forum: Archive
Topic: Game Engine Test
Replies: 23
Views: 7370

Did you try it fullscreen? It would be interesting to see if there is a difference.

-Vince
by vdecampo
Aug 11, 2007 19:26
Forum: Archive
Topic: Game Engine Test
Replies: 23
Views: 7370

I added an FPS monitor in the upper left corner of the screen. The game is designed to maintain 30fps. Since this test is pushing 300 sprites, which is more that it will actually ever have to produce at one time, I would be satisfied with FPS readings from 24-30fps.

-Vince
by vdecampo
Aug 11, 2007 18:45
Forum: Archive
Topic: Game Engine Test
Replies: 23
Views: 7370

I'm planning on a real-time strategy/shooter game. I want non-stop action where winning will take the proper application of speed, choice of weapons and strategy.

Thanks for trying it out. I wasn't sure if I included all necessary files in the ZIP.

-Vince
by vdecampo
Aug 11, 2007 17:29
Forum: Archive
Topic: Game Engine Test
Replies: 23
Views: 7370

Game Engine Test

Hello, I am currently developing a game and I would like to see how the core rendering engine performs on different windows systems. If you are interested in trying it please download it here... http://www.eastoncomputers.com/HexEngine_(.01).zip The engine will create a debug console window and then...
by vdecampo
Aug 11, 2007 4:47
Forum: Beginners
Topic: Poking an image buffer - Blue-ness
Replies: 7
Views: 1947

It's all relative. The more complex the calculations, the more benefit you will get using LUTs. I agree this is a relatively simple calculation. But the idea of using LUTs is a sound programming practice.

-Vince
by vdecampo
Aug 10, 2007 23:49
Forum: Beginners
Topic: Poking an image buffer - Blue-ness
Replies: 7
Views: 1947

As far a speed goes, if you need to perform this operation numerous times, consider making a Look-Up-Table for all your poke values... Dim Shared LUT(639,479) as Integer Dim X as Integer Dim Y as Integer For Y=0 to 639 For X=0 to 479 LUT(X,Y)=(Y*640)+X)*4 Next X Next Y You do these calculations one ...
by vdecampo
Aug 10, 2007 21:37
Forum: Sources, Examples, Tips and Tricks
Topic: CPU independent code timing
Replies: 8
Views: 3692

Perhaps the sprites became unsynced because of the INCREASED timer resolution? The lower precision could have been masking the true sprite performance?

Something for me to further investigate! DOH! :-)

-Vince
by vdecampo
Aug 10, 2007 18:32
Forum: Sources, Examples, Tips and Tricks
Topic: CPU independent code timing
Replies: 8
Views: 3692

Further testing has revealed to me that the Timer function is not as accurate (on my system) as using GetTickCount. When using Timer, my sprites become unsychronized. Re-instating GetTickCount in my code keeps all my sprites 100% in sync. I'm not sure why since you said FB would institute the Perfor...
by vdecampo
Aug 10, 2007 4:02
Forum: Sources, Examples, Tips and Tricks
Topic: CPU independent code timing
Replies: 8
Views: 3692

Maybe it can! :-) Not sure how accurate this is between platforms though.... *This version should cross compile. ' TimeSlice - by Vincent DeCampo 2007 ' Free to use and distribute. ' Feel free to mention me! :-) ' ' No Warranties given or implied ' Use at own risk #include "windows.bi" Typ...
by vdecampo
Aug 10, 2007 1:37
Forum: Beginners
Topic: Using New to create a new type
Replies: 6
Views: 1667

I would do this...

Type Employee
fname AS String
lname AS String
End Type

Dim p(5) as Employee
p(0).fname = "Akua Asamoah"
print p(0).fname

I didn't actually compile this but I think its correct.

PS: I don't think this is the correct forum to post questions.
:-)

-Vince
by vdecampo
Aug 10, 2007 0:02
Forum: Sources, Examples, Tips and Tricks
Topic: CPU independent code timing
Replies: 8
Views: 3692

I believe the only thing that makes this Win32 only is this call... Declare Function GetTickCounter Lib "kernel32" Alias "GetTickCount" () As Integer I don't use anything other than Windows but I image you could substitute an equivalent function here and should work on any OS. :-...