Members

10

• Rank
Member
1. ## Getting a 2D array for Easystar?

So I thought I was making progress now but I'm hitting an issue when I try this: function movePlayer() { easystar.findPath(player.isoX, player.isoY, selectedTile.isoX, selectedTile.isoY, drawPath); easystar.calculate(); } Any ideas?
2. ## A good weapon system?

Hi all, So I'm doing a 2D shooter and at the moment I have it so a bullet is fired from my gun. However, I want a much better system for this where I can fully define a weapon and its parameters. Eg: Beretta = { firerate: 1 clipsize: 9 clips: 3 velocity: 200 vertical_angle_variance: 2 bulletDamage: 10 } How would I achieve this in Phaser?
3. ## Getting a 2D array for Easystar?

Hi all, I have been trying to follow this tutorial here: https://developer.tizen.org/community/tip-tech/using-easystar.js-implement-pathfinding-tizen-game-projects However, it mentions about a 2D array and right away I'm lost. I have a game in Phaser Isometric but I don't use a 2D array at all. I just have a tile and a loop to add to a tile group. spawnTiles: function () { var tile; for (var xx = 0; xx < 400; xx += 38) { for (var yy = 0; yy < 400; yy += 38) { // Create a tile using the new game.add.isoSprite factory method at
4. ## Phaser Isometric - Move player to tile onclick?

Wow, man I barely started with Phaser and my head hurts. Haha. Well I did think about doing my game non-isometric but a flat grid just looks so lame. =/ Thanks again, you have been super help to me!
5. ## Phaser Isometric - Move player to tile onclick?

How are collisions supposed to work? I tried both overlap and collide methods. Getting real confused as to why its acting crazy. TileGame.zip
6. ## Phaser Isometric - Move player to tile onclick?

Thanks again, the new code still works and more efficient for sure!
7. ## Phaser Isometric - Move player to tile onclick?

Wow thank you so much! Works great! I'll try your updated solution now. I was working from your earlier post before.
8. ## Phaser Isometric - Move player to tile onclick?

Hi all, In the past I've created some half baked games with C Programming and Lua. However, I never felt like people would be able to play them on much platforms without downloading something. Phaser and the way games can be played on any device looks very attractive. Right, so I want to create an isometric game. I want to have it click based. I got that part working. However, clicking on a tile will not center the player on the tile. What would be a possible solution? Attached my files in case anyone wants to see the current behavior and maybe help me out. Thanks for reading. TileGa
9. ## my new phaser isometric board game: www.battleofhoth.com

Your game is pretty damn cool! How does the move to tile work? I don't get how it gets centered to the tile.
×