Sunday, July 12, 2015

Making platfromer game with Haxe and Flixel (compo game)

Hi,

I decide to take part in compo. It's local 3 months compo, no topic, no restrictions, just a game. I think the platfromer game will be good.

Where I started? At first I deep into Haxe and Flixel. I passed tutorials and made some simple games, just mechanics so now I think I'm ready to write something bigger.

At first I created simple story. This is basic. You have to know what you want to do.

Next I wrote about a game, what I want in game, etc.
 - 2D platformer game
 - 4 languages (Polish, English, German, Spanish)
 - cutscenes - to narrate story
 - menu, many levels
 - maybe dubbing
It's general tasks, nothing more. Now I see that I need something to manage languages and dubbing, something to show cutscens, managing many game states e.g. select language, menu, game etc.

Flixel provide nice managing game states, so this stuff is done. You just extend your class by FlxState.
In my opinion cutscens will be sprites and texts so every cutscene will be another game state.
Managing languages will be static class with variables e.g. TXT_BTN_PLAY and function selectLanguage(language) where just set variable to needed text.

Flixel is amazing and has everything what game developer need. You can load tilemaps from many programs like tiled, ogmo etc., has included pathfinding on these tilemaps. Flixel has basic things like buttons, physics etc. too.

So what I did for now?
I have done:
 - class for managing language
 - selecting language
 - menu with selected language

It's not much but I started today.
I will post here about progress.

See you soon. Bye :)

No comments:

Post a Comment