Jump to content

isekream

Members
  • Content Count

    23
  • Joined

  • Last visited

About isekream

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I'm trying to develop an audio rhythm based 2d html5 game and need some advice. I'm trying to develop the logic to sync the audio with the games animation. I do not need a constant animated sequence nor do I need to sync user input but I do need the animation to play once per selected be at and on time/ beat and be able to increase the number of beats eventually animating on almost all notes per bar for the duration of the audio. Now I've researched various method on how to compensate FPS for BPS when trying to sync audio with visual/ input tasks but I'm wondering if this is overkil
  2. Have you tried creating collision groups?
  3. Move the location of the game. So updated the link information
  4. @WombatTurkey Sorry about the mess. I have been redrafting the game and this is the new version
  5. There should be a URL link that you can type in the browser underneath the QR CODE
  6. Hey guys, I made this game using phaser and wanted some feedback on it our pc or laptop go to Air Console from your pc or laptop and connect using your smartphone via the Code. The aim of the game is to keep the ball in the air by moving the player across the screen via the touch gestures using your connected mobile device. You have to click CONTINUE then START to BEGIN the game! Some areas I have concerns with are :- Ball gets stuck in middle of player when colliding Audio on safari seems to be inefficient the multiple audio is played. Not sure how to c
  7. Hey guys, I made this game using phaser and wanted some feedback on it our pc or laptop go to https://soccerhead.herokuapp.com from your pc or laptop and connect using your smartphone. Some areas I have concerns with are :- Ball gets stuck in middle of player Audio on safari Not sure how to combat these obstacles but any feedback is appreciated thanks
  8. Ok i'm not sure why but I had to do the following in order to get it to work. pauseUpdate() { if(this.unpaused) { delete this.unpaused; this.game.paused = false; console.log('unpaused'); } } startGame() { this.unpaused = true; this.game.paused = false; console.log('start game'); } Have to call game.paused = true twice.... the log at pausedUpdate() indicates that game.paused is being set back to true. Not sure why
  9. Not sure why my formatting isn't working sorry
  10. I don't know how else to pause game. I am trying to halt the "ball" physics from running until player is ready.
  11. class GameStatePlay extends Phaser.State { init() { this.game.paused = true; this.onEndGamePlayEvent = new Phaser.Signal(); this.onStartGamePlayEvent = new Phaser.Signal(); this.onStartGamePlayEvent.add(this.startGame, this); } create() { let game = this.game; let playerCollision = game.physics.p2.createCollisionGroup(); let ballCollision = game.physics.p2.createCollisionGroup(); game.physics.p2.updateBoundsCollisionGroup(); let timeBoard = new TimeBoard(game); game.world.addChild(timeBoard); let timer = game.time.create(false); timer.lastDroppedBal
  12. Sorry if it doesn't seem clear "startGame" is being called by an anonymous function created in the state as shown in the 2nd snippet. game._codePaused is apparently a private var in the Phaser.Game class when i outputted it to log. This is driving me nuts as all documentation and research is showing is that to pause and unease a game is a simple matter of setting the variable...I'm at odds end as to why it isn't "unpausing"
  13. Thanks but I am using P2 Physics. I check ended up doing a conditional check for the sprite's.x value against the floor on an update()
×
×
  • Create New...