Short video of the Console
Tuesday, March 24, 2009
Brik - with my Entity and Object Framework
Brik in my DaksFramework on top of love from love2d.org
Crappy low frame rate video...
This took about 2 hours to implement using my entity and object management system. I had to extend the framework to allow support for restitution (bounce) and surface smoothness.
The briks get mass only when the ball collides with them which then allows them to drop gracefully to the floor where a ground collision destroys them.
You can see the consol in action too!
*DaksFramework does not support the use of the letter C in any of its application names.
Sunday, March 22, 2009
The Framework
Getting it all together...
Ive been playing with LUA and LÖVE for a week and im very impressed with the potential.
Ive been playing with LUA and LÖVE for a week and im very impressed with the potential.
If im serious about this though, then I have to develop a framework to build my game around.
So far I have:
- console dropdown via tilde key
- entity management
- entity save and load
- map save and load
Screen shots:
Here you can see my console where I can interact with the game environment, It it has functions to show bodies, start body motors, setting variables, collision detection logging...
The entity at the bottom is built with my new:Entity feature.
Here is the construct:
This data is used when calling addEntity function and takes care
of assembling the body parts and creating the joints (separately defined for now).
The plan is now to start using my framework to create a series of arcade games during
which there will be a natural evolution of the framework.
Hit-list:
- Asteroids
- Brick or Pong
- Space Invaders
- Rockford (or similar)
I guess ill see how it goes.
Friday, March 13, 2009
Starting Game Development
Starting Game Devel
So its friday morning, I have managed to catch some kind of nordic cold which has kept me home for the day, ( and the next few also ), and I have decided to scratch around the web for 2D game engines.
There are many commercial really easy to use alternatives, but I want something free and preferably open source!
After much searching in google and comparing I have selected the LÖVE engine from http://love2d.org
It offers the following in features:
LUA Programing Language
Physics from box2d (http://box2d.org)
OpenGL
SDL
Sound and Midi goodness
Getting Started:
LÖVE on has a integrated LUA interpreter, so it runs your game code in source form, meaning there is no compiling and waiting bullshit. So its just a matter of downloading it for Mac / Linux or Windows from love2d.org. I am using a Mac!
For code editing I have selected Eddie from www.el24.com, you can also use Smultron or eclipse with LUA syntax highlighting plugin.
For now im going to play with getting the structure of the code to familiarize myself with it.
Subscribe to:
Posts (Atom)