Search the Community

Showing results for tags 'tetris.phaser'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Coding and Game Design
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. Hi i made a Tetris variant - Tetris in reverse so iI called it Retris, u must sort the elements like shown in the screen. The drag and drop is'nt the phaser default function because there are groups and not single sprites. The grid/snap moving is a simple formula: ---- in the update function: curMouseX = game.input.activePointer.x -difX; rasterStepsX = Math.floor(curMouseX/gridTile) *gridTile; puzzleTiles[actSprite].x = rasterStepsX; -- gridTile are 32px so the Math.floor cuts the movement in steps just as simple as that. So leave me some feedback if u want: Retris