Jump to content

  • Log In with Google      Sign In   
  • Create Account

Multiplayer Project Journal

Early Progress

Posted by , 12 June 2013 - - - - - - · 902 views
poco, c++, javascript, jquery and 2 more...
Early Progress

Attached Image


This is my first post on gamedev.net. I'm looking forward to meeting other hobbyists here, and am also hoping to share the progress I make on current projects. I'm trying to work on a multiplayer space game, which at the moment is titled "Starfall".
Here's what I'm trying to work on:

Attached Image C++ Server:

I have enjoyed working in C++, primarily using the POCO libraries to develop the server technologies for this project.
I have implemented database support for users, logs, item types and items using SQLite. It features a web console. I used template specialization to serialize each packet data-structure, such as the login and header structures, into a JSON format for the web portal. The server runs an HTTP server on a separate port, to allow administrators to login and interact with data sent to and from the server.

Currently, I have began using Google's V8 engine in the C++ project. In the near future I hope to implement content systems, such as item handling, in Javascript.

Attached Image Unity 3D Client:

I have been developing the game client in Unity3D.

Art Assets

The 3D art assets were modeled in blender. My goal is to make a small collection of reusable assets: pieces of buildings that can be snapped together as well as entity parts that can be recolored and swapped.

World Scene

I am just starting to develop gameplay features on the client, and haven't even networked player movement. I have been working on creating movement with the arrows keys, basic movement animation, rotating the camera with the mouse, and clickable entities for which the player can open an item container. When the player moves, he leans forward and the color of the lights on his back turn green. Implementing the packet structures and server-side support for player movement is high on my priority list.

Here is the first screenshot of the game world:

Attached Image

Login Screen

Here is a screenshot of the current login screen:

Attached Image
Character Painting Tool

I currently paint the entity's parts on the client, and then log (save) the configuration to be viewed on the web console, where it can be interacted with. I should have made the features for item creation and recoloring more coherent. Though, I'm still happy about producing what I have in terms of being able to create item data.

Attached Image

Attached Image Web Portal:

I use JQuery Mobile for the client-side of the web portal. Server-side, I use function pointers to respond to ajax and URI requests.

Administrators can link groups of meshes and their material colors that have been logged in the web portal to new items. Item types can be created in the web portal as well.

I have mapped positions in buffers with corresponding members of the structures. This can be seen with the head and login structures. The administrators may also set filters for certain structures.

Here are screenshots of the web portal that administrators can access:

Attached Image Attached Image

Attached Image Attached Image

Attached Image Git Server:

I find it fun to use the Raspberry Pi and thought it would be cool to host the files for my project on a git server running on it. I use gitweb and gitolite on the Raspberry Pi. I develop with Windows 7 on my workstation, so I have installed Putty and Git for Windows to interact with the git server that I am running on Raspbian.

Useful Links

Poco C++ Libraries - http://pocoproject.org/
Google V8 Javascript Engine - https://code.google.com/p/v8/

Putty - http://www.chiark.greenend.org.uk/~sgtatham/putty/

Gitolite - https://github.com/sitaramc/gitolite

Gitweb - http://git-scm.com/book/ch4-6.html

I appreciate comments and conversation.


January 2017 »

151617181920 21

Recent Entries

Recent Comments