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 :)

Tuesday, July 7, 2015

Best and simplest tutorial about pathfinding

Hi,

Everybody want to have nice pathfinding in game. We need it to many games: strategies, rpgs, platformers etc. so we should understand how it works. I learn pathfinding from here:


I think it's best ever tutorial about graphs and pathfinding. Thanks to Jorge Rodriguez I understood graphs and mainly pathfinding.

Here all videos: https://www.youtube.com/playlist?list=PLW3Zl3wyJwWO7p6xpTzs-QR58DRg2Ln0V

Hope it helps you :)

See you soon.