Deathmatching Game

General discussion for topics related to the FreeBASIC project or its community.
The Car
Posts: 102
Joined: Jul 08, 2005 19:02
Location: MN, USA

Deathmatching Game

Post by The Car »

Hi all,

I am currently developing a Quake style deathmatching game in FreeBASIC. I will post updates to this thread.

Releases Libraries Used:
  • IrrlichtWrapper (graphics)
    FBSound (sound effects)
    tsne_v3 (networking)
Task Log:
  • 2010-05-15 - Keep track of frags and display on client.
    2010-05-10 - Add player/player collision detection.
    2010-04-20 - Optimized network code (move from string to bytecode). Avg is now 700 bytes/sec in and 2700 bytes/sec out per player.
    2010-04-09 - Players can be killed and respawn.
    2010-04-07 - Rockets collide with players. New rocket model added.
    2010-04-05 - Player animation added.
    2010-04-02 - Items (health, armor, etc.) respawn and can be picked up.
    2010-03-30 - Health/armor hud and sound operational, movement bob.
    2010-03-24 - Rocket collision physics (can now rocket jump. woot!)
    2010-03-20 - Collision detection with world now working.
    2010-03-03 - Players can fire weapon and see other players.
    2010-02-15 - Started initial project, basic networking code.
Remaining tasks:
  • - Firewall optimization
Screenshots
Image

Background:
About a month ago I started developing a client/server deathmatching game (think shooting rockets at each other like Quake) with the Ninfa3d engine.

I've switched over to the Irrlichtwrapper recently, so the sound is currently not working. Does anyone have suggestions for an easy to use audio library (for playing/looping waves). Update: I am using FBSound now.

I have the basic network talk done. Multiple clients can connect and run around and shoot rockets.

At some point I'll put the server live so people can test it over the internet (seems to play okay at pings <100).

Small video capture:

http://www.youtube.com/watch?v=1L8hFeMsGfg

Sorry about the horrible encoding. Anyone using the Irrlicht wrapper should recognize the models ;-)

Eric
Last edited by The Car on May 27, 2010 5:02, edited 13 times in total.
D.J.Peters
Posts: 8440
Joined: May 28, 2005 3:28
Contact:

Re: Deathmatching Game

Post by D.J.Peters »

nice preview
The Car wrote:Does anyone have suggestions for an easy to use audio library (for playing/looping waves).
why not FBSound ?

Joshy
Ophelius
Posts: 428
Joined: Feb 26, 2006 1:57

Post by Ophelius »

Looks awsome! Let me know if you need a beta tester.
The Car
Posts: 102
Joined: Jul 08, 2005 19:02
Location: MN, USA

Post by The Car »

Thanks for the comments!

Joshy:

I'll check FBSound out.. This is my first project in freebasic (although I messed around with it years ago) so I'm not sure what is available.


Ophelius:

Once I get a bit further (players can spawn, kill each other, pick up health) I will open up a public server on the internet (and let you download the server/client for your own fun).


I intend to make the source public domain so anyone can use it for whatever..
agamemnus
Posts: 1842
Joined: Jun 02, 2005 4:48

Post by agamemnus »

Nice video.
cha0s
Site Admin
Posts: 5317
Joined: May 27, 2005 6:42
Location: Illinois
Contact:

Post by cha0s »

Looks great!
The Car
Posts: 102
Joined: Jul 08, 2005 19:02
Location: MN, USA

Post by The Car »

Thanks! I plan to have a playable demo available in two months (hopefully sooner) I don't have a lot of free time at the moment.

I have updated the initial post with more info.
relsoft
Posts: 1767
Joined: May 27, 2005 10:34
Location: Philippines
Contact:

Post by relsoft »

Screenies look rad!!! Hoping you finish this.
The Car
Posts: 102
Joined: Jul 08, 2005 19:02
Location: MN, USA

Post by The Car »

I have made some progress (check the first post).

Also, I uploaded a new screencapture to youtube :)

http://www.youtube.com/watch?v=Z40bCIvv6AA

If anyone has suggestions for a good vid capture program, let me know!

Eric
h4tt3n
Posts: 698
Joined: Oct 22, 2005 21:12
Location: Denmark

Post by h4tt3n »

The Car wrote: If anyone has suggestions for a good vid capture program, let me know!
Try out Screen2Avi, it's even written in FB. I've used it a few times with really good results.

Cheers,
Mike
JaDogg
Posts: 345
Joined: Apr 13, 2008 12:11
Location: Sri Lanka - Negombo
Contact:

Post by JaDogg »

give me a demo cant watch you-tube,cause of limited internet time
agamemnus
Posts: 1842
Joined: Jun 02, 2005 4:48

Post by agamemnus »

I use camstudio for screen capture.. it doesn't seem to capture audio, though.
The Car
Posts: 102
Joined: Jul 08, 2005 19:02
Location: MN, USA

Post by The Car »

All -

I have put a test server online and provided a link to download the client here:

http://www.freebasic.net/forum/viewtopi ... 829#135829

Check it out!

Eric
stylin
Posts: 1253
Joined: Nov 06, 2005 5:19

Post by stylin »

Oh dude, this is awesome. I'll follow this project for a while :)
schildron
Posts: 2
Joined: Nov 06, 2008 19:16

Post by schildron »

Today I've tried to play your demo. I've deactivated my Firewall but I can't move or shoot. The display was red like you are very hurt in the game. I've read this on the HUD:

Ping: 0
Loss 100%

I've tested the game in central europe. I don't know what to do.
Post Reply