Monday, January 21, 2008

File Loading(2)

I finished map loading today. Next step is to make the map-saving part and then create the game editor.

I also fixed the bouncy blocks. They made you bounce higher and higher, but increasing the jump a lot in each bounce, so in the end the character was too fast and there were glitches like wall-tresspasing and so.

- Short Term Tasks:
  • Create structures and fuctions to make the code cleaner and lighter. (Class "block", with "bouncy", "triangle"... etc using hierarchy)
  • Finish all the coding required to make a simple playable level (Starting door, exit door and level end messange)
- Long Term Tasks:
  • Game Menus
  • Level Editor
  • Enemies

Saturday, January 19, 2008

File loading

Today I investigated how to save and load maps using text files. In class we just used File I/O to load a text file and display it in the screen, so I don't really know anything about this.

I got the game to read the player's initial position and the level exit position.

My idea is to have each map text file structured like this:
[Begin]
2 3
[End]
4 5
[Blocks] //normal blocks coords
3 4 3 5 3 6 ..........
[Small_Right_Triangles] //
..........
etc etc

Wednesday, January 16, 2008

Trying to make a better design

After receiving some comments about the game graphics (teachers, friends...) I passed a month reading pixel-art tutorials... but I got nothing. I tried to make the game look better changing the brick block, adding different colours and grass, so I could randomly insert this one among the others to make it look more varied. Then I tried a stone block instead of a brick one, but I didn't like it. I want to make brick-blocks because... I loved Prince of Persia as a child and I wanted these walls to be like the ones in PoP (I know they don't now :P)



Tuesday, January 15, 2008

MagEscape

In this post I'm going to talk about the gameplay and game's "story".

First of all, the name: the game is called MagEscape (Mage Escape) because you play as a Mage who has to escape the tower in which he is trapped, using his abilities. (I didn't google the game before deciding it and then I found there are a lot of indie games called MagEscape :( )

WARNING! (xD) - Graphics are provisional. They can be changed at any moment. What I show here are the first thing I came with, and I can't make much more, I'm not an artist :(.

This is the main character, no name yet.




The idea of the game is to move the character jumping around the map, while at the same time we use the mouse to use his "abilities" and create different types of blocks to help us reach the exit of the level. So we can jump into the void and create a block below him to use as a platform, or create a bouncy block and jump on it till we can reach a higher block.

We'd have X units of each block to use in each level (like in Lemmings games you have the different abilities) and the least we use, the more points we'll get.
So far I've came with this blocks:
- Simple block: It stays in the air and has collisions with everything. Ussually used as platforms.




- Bouncy block: A bouncy block, to reach higher grounds::




I'll think of more eventually.

Levels are formed by simple, triangular, large triangular and bouncy balls, giant bolls (if you touch them, you die) and possibly enemies, teleports...

The goal is to go from the starting point to the exit door of the level overcoming some obstacles. For example, a gap between you and the exit, which you can pass creating a "bridge" with normal blocks, or you can create just a few blocks, jump from one to another and earn more points.

I've some ideas, like having to kill all the enemies in the level to open the exit door, or use switches.

At this time I have the following things coded and working:
  • Character movement - Probably going to change it in the future, because I use a wheel from the physics engine and then draw the sprite on top of it.
  • Level creation - You can select any block and create it with the mouse. The screen is automatically divided with an invisible grid, so the blocks are created in the square the mouse is, not the exact position (so all the blocks fit)
A screencap of what I've done so far:

Monday, January 14, 2008

Beginning

Magescape is a game which mixes platforms and puzzle. I'm doing it as my Final College Graduate Project.

I haven't know what to do since this summer, when I thought about it and decided I wanted to do something related to videogames. Because of having played Cave Story short time ago, I wanted to do a 2D game with "pixelated-old-school" sprites.

First I thought about an action and adventures game, with long story and so, but some friends convinced me of doing something simpler, with no story at all, because it requires a lot of time. At last I decided to make a puzzle-type game, with static maps, with the objetive of just going from one spot of the map to another to pass to the next level.

I spent august and september "playing" with combinations of graphic and physics engines: IrrLicht, Ogre with OgreMagic, Newton... but at last I found what I liked the most: SDL libraries and APE 2D physics engine, created for Actionscript and ported to C++ later.