21 Ocak 2011 Cuma

Various updates

I made a basic blood-blatter particle sub-system. When a bullet hits a mob this kind of blood effect will be rendered:

Particle engine can surely do better than this, this is just an example and I wanted to test if I can get Quadrenderer working.










One little update: server can now handle interactables.i.e. players can now use doors.

Thanks for reading.

Timestamped network packets

I have been working on timestamping the packets and synchronising the server & client times. Today I was able to complete.

Client and server are now able to predict more precise according to the timestamp of the packet and current action of the player&mob.

I am currently not clear about the "prediction factor" since speed of the mobiles is not constant yet depends on friction forces, force of the player etc.. But after some internet-tests I am pretty sure we'll come up with a proper factor :)

19 Ocak 2011 Çarşamba

John the composer

The project had some applications from various composers and I chosed John Pill. He has some great tunes on his website ( http://soundcloud.com/johnpill ). I tried to explain him the "feel" of the game and I am pretty sure he'll come up with something cool as a prototype.

14 Ocak 2011 Cuma

Server Progress vol. 2

I improved the server and it is now capable of those:
  • Creates a runtime database from a database file(which contains only usernames & pw's for now)
  • Allow users to connect with verified accounts
  • Players can chat on the public chat room without joining any game
  • Players can request gamelist and join OR create a game
  • Multiple players can join into the same game
  • Server can create monsters which are to be killed by players according to the *.lvl file
  • Players can shoot bullets and kill monsters
  • Clients are now doing some interpolation to prevent visual jitters
What is to do:
  • Adding a simple AI for the basic gameplay(since monsters can't even move right now..)
  • Timestamping events..(again this wasn't a problem as I was testing it locally but will be inevitable while testing over the net :) )


And I'll add a basic score table to show which player killed how much monster, so it will be even fun and at least playable yet! yay!
Obviously that isn't the goal of the game but that temporary table and gameplay will make the testing more enjoyable.

Thanks for reading

10 Ocak 2011 Pazartesi

Server Progress

As you may know, after getting permission from RakNet owner, I started working on the server-side.

Currently I wrote an online dynamic database which keeps the user data(only username & password for now) and the server is able to check from that database and to give login permission to clients.
After logging in, clients can now see other online players and can join chat channels and write messages. I also have made the game list interface but they can't create a game currently.

So all in all I am working on a gameManager class on serverside which will handle different game instances :)
I'll also be adding different packets like create_game_request, ingame_team_chat etc.

And I making the server authorized as much as possible, clients will compute too, but they will never be able to decide. I am aiming to take many precautions against hacking..

9 Ocak 2011 Pazar

Started networking!

Yesterday I got a mail from the producer of RakNet. I had asked him about the conditions and limitations of the free indie license, and the answer is all good. So I am starting to write a server today. Yay! New hardwork for me.

6 Ocak 2011 Perşembe

Few in-game GUI components added

Besides the menus and lobby screens, I implemented a new interface which allows me to use CEGUI components in-game :) Here take a look at the difference;

After:


Before:
feels kinda empty, huh?

3 Ocak 2011 Pazartesi

Interactables added!

Today I revised my level class as I promised ;) I have a new extension *.lvl to save my levels, and with those *.lvl files I am able to change the background image, ground shapes(like for adding second floor), and adding interactable objects(currently doors only).

I also introduce a new base class "interactable". I only wrote a door class to test if it is working, but I made it with a base class because I want to expand that like for switching lights or adjusting barriers or using a static turret.

There are too many things to add but I guess I will be working on adjusting levels more and spawning creatures!

2 Ocak 2011 Pazar

Implemented

Hello guys! I wasn't making much progress last weeks but I have lots of free time ahead!

I implemented zooming, and some back-end changes.Zooming and making camera follow the player and translating between the current view's coordinates to world's coordinates, all done. Actually I want to improve the following style but not now, I will be continuing working on my last entry, loading levels from a file.
Thanks for reading ;)