Search the Community
Showing results for tags 'phaser js'.
-
Play Link: Pixel Memory Find all card pairs, level your profile & unlock new cards in this “Memory” classic optimized for mobile! Play Link: Pixel Memory Welcome to the "Memory" classic, expanded with new features & optimized for mobile! Game Features: Play the “Memory” classic in this mobile game. 3 Difficulties: Easy, Medium & Hard. Level up your profile & unlock more cards. Browse your collection to see which cards you’ve already unlocked. 4 card deck skins: Choose the one you like best! View your profile for your game stats & best scores in all difficulties. Gameplay: Find all the matching card pairs on the table. Find them before you run out of guesses. Unlock all the card packages in the game. Controls: The whole game requires only click inputs and is perfectly optimized for mobile! Credits: The game was developed solely by me. All assets in this game were either done by me or from the CC0 assets linked below. These sources are also credited inside the game: Play Button Name: Cartoon Mobile Rounded Icon Buttons Author: Nathan "GDquest" Lovato, https://opengameart.org/users/gdquest, http://gdquest.com/ URL: https://opengameart.org/content/cartoon-mobile-rounded-icon-buttons Explosion Sprite: Name: 2D Explosion Animations #2 | Frame by frame Author: Sinestesia, https://opengameart.org/users/sinestesia, http://www.sinestesiastudio.com/ URL: https://opengameart.org/content/2d-explosion-animations-2-frame-by-frame http://bit.ly/2C6Bi8b Audio: http://www.freesfx.co.uk/sfx/ Play Link: Pixel Memory
- 11 replies
-
- james pierce
- html5
- (and 8 more)
-
Hello, I am trying to do something very basic with phaser. I have a basic index.html file and I'm just trying to load the phaser.js file. The html correctly displays but in the console I get unexpected token < phaser.js:1. Is this a problem? Is is avoidable? I have other components (menu/game) that I am trying to add but this occurs without them anyway. I have the Phaser 2.6.2 from their website. <!DOCYTPE html> <html> <head> <meta charset="UTF-8"> <title>Survive or Die</title> <script src="js/phaser.js"></script> </head> <body> test </body> </html> Here is my index.html. "test" displays properly but when I inspect and look at the console I get this error. I get the same error when I try to add another script ("js/main.js"). Also here is my server, that might be causing the problems. var http = require('http'); fs = require('fs'); url = require('url'); // Create server // The function as argument, defines what happens with each request and // response from the server http.createServer(function(request, response) { var pathname = url.parse(request.url).pathname; console.log("Request for " + pathname + " received."); // In this case we are sending our index.html file to the page fs.readFile('../index.html', function(err, data) { response.writeHead(200, {'Content-Type': 'text/html', 'Content-Length': data.length}); response.write(data); response.end(); }); }).listen(55100); console.log("Listening to server on 55100...") Thanks for any help.
-
Hi, I'm developing a basic game. The functionality of the game is, once the page is loaded one objects will appear on the canvas like (apple, cat, dog etc...) on the left side and a bunch of letters will appear on the right side. The user will have to drag and drop the letters in a rect area(bucket). Once the user dragged matched letters with the object within bucket then next object will appear in the same area. I have created, but this is not working properly. http://dothejob.in/kids-game/phaser-demo2/ Could anyone help me on this? here is the js file. http://dothejob.in/kids-game/phaser-demo2/js/game.js I need to check the following things....How can detect if the letters are dropped in rect? and which letter is dropped in Rect? Thanks Alex
-
- phaser js
- intersects
-
(and 1 more)
Tagged with:
-
Good day, I'm trying to make a small game to get to know Phaser js but I'm having problems implementing collision detection with groups. Once the maze is created and stored in a bi-dimensional array I fill the screen up with sprites using the following function(as I can't use physics with primitive graphics, if i'm not mistaken) //makes sprites out of the maze function maekMaezDawg() { console.log('hello frmo maekMaezDawg()'); for (var i = 0; i < mazeHeight; i++) { for (var j = 0; j < mazeWidth; j++) { if (maze[i][j] === 0) { var tempBrick = game.add.sprite(j * tileSize, i * tileSize, 'brick'); tempBrick.scale.setTo(tileSize / 64, tileSize / 64); brickMaze.create(tempBrick); } } } mazeGraphics.clear(); } But the collision isn't detected between my player object and the brickMaze group. I'm using the following line in the update function game.physics.arcade.collide( brickMaze,player, collisionHandler)The collision handler function is only supposed to print out a log confirming the collision, yet it never fires up. Help would be greatly appreciated. The full code can be found in the following github repo https://github.com/DanAmador/RandomMazeGame/tree/master/Game
-
My new app called Poker Switch, powered by Phaser is out for iOS and Android. It's a poker puzzle game. You can see it here: iOS: https://itunes.apple.com/us/app/poker-switch/id975772621?ls=1&mt=8 Android: https://play.google.com/store/apps/details?id=jerodmotley.com.pokerswitch