Popular Content

Showing content with the highest reputation on 03/09/2019 in all areas

  1. 1 point
    According to https://github.com/pixijs/pixi.js/blob/v4.x/src/interaction/interactiveTarget.js#L104 , there's internal "trackedPointers" (_trackedPointers) where you can get all the data about current mouse/pen/whatever that is interacting with the element. I dont remember more details, but I'm sure you can just look in console and debug it to see what values it returns. I remember that I used it in multiple projects.
  2. 1 point
    It shouldn't, but I suggest to use debugger to step into those functions and check what's going on
  3. 1 point

    [Phaser] Underworld Chaos

    It's an old thread, but just wanted to say this game is lovely URL appears to have changed, now playable here: http://zelcard.000webhostapp.com/games/games/Underworld Chaos/index.html (really should upload to Itch.io or somewhere more reliable!)
  4. 1 point

    BabylonJS and Android using Basic4Android

    No worries, hopefully it will help others get started.. It took me a few years to find Basic4Android when looking for a decent toolset to create Android Apps which offered enough flexibility to delve deeper if needed but not too much coding for codings sake. I had an idea for a 3D game a few years (4 or 5!!) ago and then went looking for a 3D framework. I came across BabylonJS and have just about achieved my goal for this now, thanks to you and David R + others along the way. My game is very much a 0.1 version of where I want to get it to, but as always there are other time pressures. 0.1 is just about viable - hopefully if there is interest I am hoping to improve on it rapidly.
  5. 1 point

    A battle chess or card game framework.

    https://ljzc002.github.io/CardSimulate2/HTML/TEST4optimize.html I'm trying to make a battle chess game framework.By now,I have completed the following functions: Use wasd,Shift,space to fly around the scene. Press alt to display hand cards. Click to chose one card or use Shift/Ctrl to select multiple cards and use 1-5 to team them up. When close to a hand card,you can click the button '落子'(Drop the pawn),then the sight change to orange,click the chessboard with the orange sight,the hand card will became a chess pieces. Select a unit on chessboard will display the range of movement by blue masks and the skill table by a DOM node,then you can move the unit by click the mask or click the DOM node to select a skill(up to now,only 'nattack' and 'test5' can work),click other grid or the unit itself will deselect the unit. Use skills to an target will trigger a series of animations,if the unit's hp falls below zero it will turn gray and go up to hand cards. After a round of action,you can click '下一回合'(Next round) button in the hand cards view,the unit on the chessboard will be waiting for move again. I don't have much experience in making battle chess games.I am eager to get to get some suggestions on how to optimize the ui and the operation mode. Next,I plan to use some 3D model to represent units on the chessboard,add some sound effects into the scene,and try to make a websocket interconnection.
  6. 1 point

    [Phaser] Underworld Chaos

    Has a bit of issues, but the Pixel Art details is really great. Has a cool aesthetic to it.
  7. 1 point

    [Phaser] Underworld Chaos

    I think the testing values may still be active. I was started on level 4 and after completing it the game crashed: phaser.min.js:3 Uncaught TypeError: Cannot read property 'width' of undefined at new i.Tilemap (phaser.min.js:3) at i.GameObjectFactory.tilemap (phaser.min.js:3) at GameName.Game.create (Game.js:582) at i.StateManager.loadComplete (phaser.min.js:3) at i.StateManager.preUpdate (phaser.min.js:3) at i.Game.updateLogic (phaser.min.js:3) at i.Game.update (phaser.min.js:3) at i.RequestAnimationFrame.updateRAF (phaser.min.js:3) at window.requestAnimationFrame.forceSetTimeOut._onLoop (phaser.min.js:3) Other than that, I liked the game, but with the level layout it's quite hard to actually kill enemies with the shooting
  8. 1 point
    Krisztian Varga

    [Phaser] Underworld Chaos

    I love the 16-bi old-school look! I didn't get very far though, once I press left arrow, it keeps moving that direction as if the key was tuck.. also, you may want to use space for jump, as Milton said, "Y" should be jump but it is "Z" for me as well. I know about this keyboard issue because I'm Hungarian, I used to get this all the time switching back and forth between English and Hungarian keyboard layouts, using space or any other key would eliminate the issue, but space is more convenient imho. Please let us know when these issues are fixed and we can give it another go. Looking forward to playing it