Lauri Kenttä

Results 9 issues of Lauri Kenttä

Your library apparently generates floats in the closed interval [0,1]. Many other languages (e.g. Java, JS, C++11, Perl, Python, Ruby) use the half-open interval [0,1) instead. Have you considered this?...

Add chat messages to the network protocol. A message should have a sender and a list of receivers.

Network

Implement a text field widget. Try to reuse Label where possible.

Game UI

The functions `Game::Game::getPlayers()` and `Game::Game::getObjects()` should return `boost::shared_ptr` so that the caller can't modify the players and objects. However, it isn't very efficient to duplicate all object pointers. This will...

Simple. Design the classes ObjectType, ObjectAction and Object. All types and actions should be dynamically loadable from data files. The only and sole exception is movement, which requires special algorithms...

Logic

The Player class should contain information about things like player's resources and map exploration.

Logic

Here is a draft: - New game - List of maps (initially a dummy list) - Settings, if any. - Provide a way to choose either local game or a...

Menus
Game UI

First make objects move directly to a given location. There isn't any GUI control system yet, so make the locations random. Next, implement path finding. Remember to check tile types...

Logic

We will need animations from multiple directions, and the object size may vary. Different actions (such as shooting) will also require animations. If needed, modify the `World::ObjectType` and `World::ObjectAction` classes...

Game UI