PureFPS [source code included]

Advanced game related topics
User avatar
waffle
Enthusiast
Enthusiast
Posts: 129
Joined: Mon May 12, 2003 1:34 pm
Location: USA
Contact:

PureFPS [source code included]

Post by waffle »

This is a little weekend project I did to test some
PB3D thingies .....

Media and some source code ripped from
Puresokoban .... I hope he doesn't mind :)

This is just to test/demonstrate PB 3D
and play a little Death Match game.

Sure, the graphix are bad ....
sure, they seem to move too slow
sure, the AI is very simple ....

But this seems to work

It has all the usual FPS controls .... WASD ...
Mouse Look ...

On game launch, it asks for host or join
If you host, and nobody joins, the other 3 players
will switch to AI and attack player 1 .....

If, at any time a player should join, the AI
gets dissabled until all players leave

There is no scoring or health or anything ....
For rockets, I just use PB particles (to see how they look in use)
In PB3.9, rotating them does nothing I was hoping to "point"
the direction the particles leave ......

Anyway, enjoy. If there is a severe problem, let me know and maybe I'll
fix it. I only go online once a week.

http://archonrpg.com/zips/PureFPS.zip
http://archonrpg.com/zips/PureFPS.rar

I still think these links won't work. The issue seems to be the network I am using. It seems to drop packets or timeout on large files 2MB???
I'll see about a better one next week.
Thanks for trying though.

Oh;
If you wish to change comm ports, you can do that in the .ini file.

EDIT: coded in PB3.93
I did not use 4.2 because I had already converted puresokoban from its older version to 3.93 and it was "safer" to stick with 3.93 while ripping code ideas. I am not sure what 3D changes were done for 4.2. I do use 4.2 for my other projects though.
Last edited by waffle on Wed Sep 19, 2007 4:20 am, edited 2 times in total.
Code is good... Its an international language.
r_hyde
Enthusiast
Enthusiast
Posts: 155
Joined: Wed Jul 05, 2006 12:40 am

Post by r_hyde »

the archive is corrupted or truncated. can you please fix it?
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

r_hyde wrote:the archive is corrupted or truncated. can you please fix it?
The file is correct. What do you use to decrunch it?

Anyway, the code doesn't work for PB 4 and next.
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
User avatar
Fluid Byte
Addict
Addict
Posts: 2336
Joined: Fri Jul 21, 2006 4:41 am
Location: Berlin, Germany

Post by Fluid Byte »

The file is correct. What do you use to decrunch it?
It's not.
C:\Downloads\PureFPS.zip: The archive is corrupt
C:\Downloads\PureFPS.zip: CRC failed in PureFPS\Textures\Image1r.PNG. The file is corrupt
C:\Downloads\PureFPS.zip: The archive is corrupt
I really doubt my WinRAR is broken. Image
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

also the XP-internal ZIP cannot handle it.

@Psychophanta

what do you use?

I guess, by accident the same, older WinRAR version, waffle used to pack it...
oh... and have a nice day.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

Doesn't open here with Winzip v10.0 either, I get this error message:

Code: Select all

---------------------------
WinZip
---------------------------
error [E:\PureFPS.zip]:  start of central directory not found; Zip file corrupt.
Possible cause: file transfer error.
---------------------------
OK   Help
---------------------------
And WinRAR v3.70 reports this:

Code: Select all

!   E:\PureFPS.zip: Unexpected end of archive
r_hyde
Enthusiast
Enthusiast
Posts: 155
Joined: Wed Jul 05, 2006 12:40 am

Post by r_hyde »

I get 'unexpected end of archive' in winrar 3.7. How 'bout this: every time I download, I get a file that's 2,244,097 bytes. Is this the true size of the archive?
Derek
Addict
Addict
Posts: 2354
Joined: Wed Apr 07, 2004 12:51 am
Location: England

Post by Derek »

Doesn't unpack here either, thought it might of been because I used getright to download so tried without it but it still didn't unpack.
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

No problems here to unpack it: Izarc 3.81
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
dontmailme
Enthusiast
Enthusiast
Posts: 537
Joined: Wed Oct 29, 2003 10:35 am

Post by dontmailme »

Psychophanta wrote:No problems here to unpack it: Izarc 3.81
Are you sure ? :shock:

Double click file to open....
Click the test button.....

15 files failed!

using same software ;)
Paid up PB User !
User avatar
Comtois
Addict
Addict
Posts: 1432
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Re: PureFPS [source code included]

Post by Comtois »

waffle wrote:Media and some source code ripped from
Puresokoban .... I hope he doesn't mind :)

glad to learn that my old codes were useful to somebody :)
Please correct my english
http://purebasic.developpez.com/
DarkDragon
Addict
Addict
Posts: 2348
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Post by DarkDragon »

Unpacks fine after repairing it.
bye,
Daniel
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

dontmailme wrote:
Psychophanta wrote:No problems here to unpack it: Izarc 3.81
Are you sure ? :shock:

Double click file to open....
Click the test button.....

15 files failed!

using same software ;)
I have no reasons to lie here!
Promised it is opened correctly and decrunched correctly using IZarc 3.81 :o
No need to repair or something like that!
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Post by Rook Zimbabwe »

There is an error in the filespec... 2.13mb

I am using FreeZip and AUTO COMPLETE. The error is in the file Image1r.(jpg) (usure of which file extension is said) I forced overwrite and slammed avast up to paranoid levels.

Scanning files reveals nothing.

Looks interesting... will drop a note if it runs! :D

Runs a little slow... models look like BBasic models, was this done with BBeD.dll ? I don't see that so it cannot be!

Very old school though... The original Wolfenstien3D style!

A Aimpoint would have been nice (simple SPRITE drawn last) and the swinging arms of the robot are a little distracting... I would assume the camera would not be in the belly of the beast!
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
User avatar
waffle
Enthusiast
Enthusiast
Posts: 129
Joined: Mon May 12, 2003 1:34 pm
Location: USA
Contact:

Post by waffle »

Glad at least someone got it to work. That's alot of work.
I placed the camera there as thats the "center" of the walls.
It was hard to "guess" the size of the robot. The scalefactor is
0.06? of original size. I guess I should have placed the camera at 80%
height instead of 50% .... Yes, an aiming device would have been nice,
but I really am bad about FPS and can't aim anyway :) Maybe that's why I stick to puzzle games and solitair, with an occational Vshooter thrown in.

On the .zip/.rar problem. I tried downloading and testing here in Mabinay, Philipines .... Always corrupted .... but not always the same way ....
Tried uploading about 10 times (5 minutes each) and retest the download, same problem. I'll try Kabankalan next week. They seem to have a more reliable system. If that fails, then Dumagette (always works) but thats 4 hours away. I will be there next month for my visa renewal.
Code is good... Its an international language.
Post Reply