Saturday, November 04, 2006

Ice cubes and the elderly



This is where I am in rewriting the Einfall base. Things are going slowly but they're going :D I feel very strongly that it's important to get as game-like as possible as soon as possible. So I'm working on mouse control, something I don't have in my main Einfall branch. After mouse controls added I intend to make a simple game. Along the lines of a text box saying "Find treasure", there being a treasure chest on screen and when you open it the game finishes. I think if I can do this, a lot of the functionality for Einfalls more complicated features will be cemented.

At some point I'm going to have to revisit and redo my horrid GUI library - it's resource management really sucks.

Currently in einfall something wierd's going on with my camera.

If I have a scene, with the origin 0,0 at the top left hand corner like so:


AB__
____


Where A and B are some tiles. If I changed my camera position by calling. camera.Position.X += 10. I would expect:


B___
____


but I get


_AB_
____


Grah, not sure what's going on. In my code the following happens:


viewMatrix = Matrix.Identity;
viewMatrix.Translate(position);
// ... later on
device.SetTransform(TransformType.View, masterCamera.ViewMatrix);


Which all seems fine to me, but perhaps I'm retarded. I'm willing to work around it at the moment. In the world of C++ and OpenGL I got quake style mouse look going, with help from various internet tutorials and the gamedev irc room. Thought I'm still not perfectly happy with it.

It's been a little too long since I've touched Scheme, so I'll do another problem in that today. Also I've got to get some class diagrams up for my coursework. What else?

Oh on Friday we had a talk on XNA Microsofts new game making stuff. It's like a build system and game library tied into Visual Studio and C#. Looks extremely easy to get a simple game up and running - like mario or arcade clones. Most of the stuff is avaliable free. Oh and it's very very easy to use an Xbox360 controller on your PC - even the analog sticks are easy. Not only that but games developed using XNA will also work on the Xbox360. It's supposed to usher in a new dawn for the indie / bedroom programmer. It all looks very promising. If you want to sell you games - then of course you must give Microsoft some money :) What did you expect?

Some of the XNA stuff reminded me of the Light Weight Java Game Library plus build stuff, Xbox360 support and really cool IDE.

Finally I'm downloading boost for C++ in a last ditch attempt to get some kind of unit testing working for my C++ programs.

1 comment:

Unknown said...

Hi can't find your email so I'll reply here, you said elsewhere "I'm extremely interested in computer games as learning tools"
Here are a few links:

http://lyris.education.tas.gov.au:8080/read/?forum=gamemaker The world's
first forum on game creation in schools. Australian based, focus on
pedagogy, Gamemaker and Klik&Play. Interesting history.
http://www.groups.edna.edu.au/course/view.php?id=81 Game Making. Australian
forum, pedagogy & game creation (currently very active)

http://www.learningplace.com.au/deliver/content.asp?pid=24029 Games in
Learning. Australian forum, covers game playing and game creation (currently
very active)
http://www.gamelearning.net/ UK based forum, game playing and creation
http://lists.becta.org.uk/mailman/private/gamesandeducation/ UK based,
mainly game playing

seriousgames@listserver.dmill.com Serious Games. USA, mainly game playing,
strong representation from software houses (currently very active)

http://www.groups.edna.edu.au/course/view.php?id=639 Games as Pedagogy
Australian based, game playing