Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Just_gabe

Pages: [1]
help / How to fix proper diagonal movement?
« on: Tue, Nov 10, 2015 »
The problem is simple, if I press UP the char moves 2 pixels up, while LEFT will make it movev 2 pixels left. However when I press both UP and LEFT (or any diagonal movement), the char seems to move faster in the diagonal direction. Any practical way to fix it so that it seems that the char moves at the same speed in any direction?

help / How to add a mouseEvent on FlxSprites?
« on: Sun, Oct 11, 2015 »
I'm doing a chess like game, but I can't figure out a practical way to make a menu become visible whenever I click a char and then make it dissapear when I click other tiles, and also make other events trigger based on the buttons (not FlxButtons) I click.

The only one that occurs to me for now is the simple:
if (FlxG.mouse.justPressed())
               if (FlxG.mouse.x >= currentPlayer.x && FlxG.mouse.x < currentPlayer.x + 40 &&
                  FlxG.mouse.y >= currentPlayer.y && FlxG.mouse.y < currentPlayer.y + 40)


help / A good isometric engine compatible with flixel?
« on: Fri, Aug 14, 2015 »
I'm looking to make a 2d strategy turn-based game with an isometric view, but most of the engines i've found are either incomplete or lack a good tutorial to learn how to use, any suggestions?


Pages: [1]