måndag 28 februari 2011

Binding system works!

I have now implemented the GUI for key-binding on the command centers.
Now you can build a basic ship! the next thing on my todo list is to implement the wiring logic. I will also start with the Network code soon.

Here is a little more info about the game:
"

You build your ship of "structural materials" and then add "functional materials" and wires to bind the "functional materials" together.
One example is the Thruster/Booster, that will apply a force to the direction that it is placed. When you have binded a key to a output on the command center, and then pulled a wire to the thruster, the truster will fire off when the key is pressed as long as the wire is intact. You also have reactors that can be used to increase the signal and thereby increase the output of the functionality. When for example a booster is fired the game will make some physics calculations to determine the torque based on the current forces on the ship and the placement of the Booster.

Its a good idea to design your ship so that the wiring and functionalities are hard to reach. It will be easy to get a booster blown away, and that will result in a ship thats very hard/impossible to control, depending on design. Then you will have to be fast and do the repairs in on the battle field before you are destroyed.

I know that this is a bit of a massive project for 1 person, but i think i will pull it off. But it will take its time.

I already got a key-binding system that supports keyboard, mouse and joystick. The next thing i will do is to implement a key-binding GUI, this will be shown when the command center is left-clicked in the building window.

Something that i really want to add, but wont have time (should not prioritize) for a while is basic logic and timers.
I want to add basic logic, timers, sensors and actuators. This is to allow the user to build smart missiles and automatic turrets.
I have also some thoughts on allowing several players join together and build a Space-station.
but this is so far off in the future so i try not to think to much about it and focus on the current problems and solutions."



söndag 27 februari 2011

The first video is here!

I have made a video to show whats done so far.
There are still some bugs that i want to get rid of before i make the first preview release. I have thought a bit about that release and decided that i will implement the key-binding interface, ship movement physics and wiring logic first.
This will allow you to booth design and test your ship.


tisdag 22 februari 2011

Update

I am now in Shanghai. I have nearly reimplemented everything. redo-do-right. The Ship wiring system now works and you can add functionalities such as Command center and missile launcher and wire them together.

I will now work on adding more functionalities, implement the wiring logic system and implement the user interface for the key-binding system. and resolving some bugs and re-designing the object class. busy busy..

söndag 13 februari 2011

Chrex Update

I have now fixed some bugs with stackable items and support for stackable items in the crafting window.
My current solution to my window managing system sucks.. I have two classes WindowManager and Window, every window contains the variables for all possible window types, this is fugly as hell. It will also lead to huge cpp & h files with unnecessary complexity, so i will rewrite it with polymorphism instead.
http://www.cplusplus.com/doc/tutorial/polymorphism/

Now i will do it as i should have done it from the beginning. Every window type is a own class that inherits from the window class. and the WindowManager class makes sure that all the windows behaves.

This should not take to much time (but i am sure that it will), it will just be a lot of copy & paste on my side. (at least i hope so)

lördag 12 februari 2011

Chrex is starting to take form

Chrex is my latest game project. The game will be a Sandbox Acrade/Action  multilayer game, but there will be single player support too. The player gather materials that are used to build/craft new objects that can be used to (re)build the ship or build & configure weapons. Chrex will be a fast phased and brutal game, when you get shot down, you lose everything. On the other hand, it should not take to long time to gather new resources and rebuild your ship & weapons and then get your revenge.

Chrex is in very early development, basically this is what is implemented:
An window-manager have been implemented.
The crafting system have been implemented.
The Ship building have been partly implemented, (weapon, wiring & other functionalities needs to be added)
A key binding interface have been implemented but there are no user API yet. 
A Ship preview where the ship faces the mouse pointer have been implemented.

The first release will be a preview release to get some feedback about the interface and it will be released when i have finished the ship building implementation.

 The picture above shows how to craft a small reactor, the reactor is used to give power to the ship.

 The picture above shows how to craft a iron cylinder, the cylinder can be used to build missiles.
Every super pixel on the ship is an iron bar,  you can use them to build your ship by clicking in the build window. The light blue lines are just a preview of the wiring system, which as i stated before, is not implemented yet. This window will get a lot more complex when the functionalities are added. You shall be able to place missile launchers, lasers, reactors, command-center (bridge), thrusters and more. Then wire everything together and bind keys to the different functionalities.

torsdag 3 februari 2011

Current Progress of things

I will move to Shanghai in China on 17 feb 2011, We will fly through Moskva and then direct to Shanghai.
In Shanghai i will take part in a robotic project where four students will build a robot with stereo vision (dual webbcams) using OpenCV.
I will also spend some time on designing and constructing a Multi-Touch table and the games i am currently developing.
Game list:
developing right now:
Crex, Newest, its like minecraft but not.
Parzeg, a simple puzzle game
Compest, a platform jump and shoop game.
sleeping projects:
Tankgame, gravity shooter, multiplayer game.
Clicky Fighty Game, RTS / adventure game, also a multiplayer game.
Want to do:
TD game
Tankgame status:
I have ported our Tank game to the Dingoo game console: 
Sadly, nothing have happened since, maybe i will get around to make something with it after my current project. Will probably develop the game further when i get my OpenPandora.