Search the Community

Showing results for tags '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 3,332 results

  1. Hi everyone! I'm very pleased to announce the IO version of my game, OWN! Now you can have a better glimpse at the game without registering, instantly in your browser! You can try it HERE. Hope you guys will enjoy it! And don't hesitate to leave some feedback!
  2. wordplay

    How to align game in webpage

    I am new to phaser and had just used a pre-made 800x600 game from the examples. I am creating a HTML page and I want to display text above and below the game however it is completely refusing to do so. Any advice would be appreciated
  3. FlopJack

    Detection zone

    I would to implement in my game a 'collision zone' on enemy. For example when the player approaches (without touching it ) an enemy, this one start to follow him.
  4. We’ve been working part-time on our own take on the IO game for close to a year. Exocraft is an action/strategy persistent MMO that is focused around more depth and progression than most IO games. You start as a small mining vessel and build up your unique ship using dozens of available parts. Team up with others to mine and battle planetary defenses on a dying alien world for resources, or compete in skirmish-style tournaments to reach the top. The game is built with Phaser-CE on the client and uses a custom server built with Node.js, MongoDB and Redis -- backed by our own GoldFire platform for signup/login, communication, achievements, etc. All players are in the same world, so there are no servers to choose from. As more players come online, the world will dynamically size up and down to fit the number of players and maintain resource balance. You can play now at https://exocraft.io, and any feedback is greatly appreciated!
  5. Hi, I've recently created an HTML5 game, developed using Phaser called Fantasy Wars. You can play now on the Google Play Store or the Apple App Store. Links can be found at https://www.miyagigames.com/. Below is a short description of the game and some of the art. Any feedback would be greatly appreciated. Thank you! Fantasy Wars is a turn-based strategy game where six fantasy races: Humans, Orcs, Elves, Undead, Dwarves, and Drow vie for supremacy in a small crowded world. Features: - 6 races, each with a unique special, strengths and weaknesses. - Epic campaign with 25 missions - Randomly generated map so no two games will be the same. Choose your race. Do you upgrade your troops, or buy more armies? Make a choice, take a risk and conquer the world.
  6. Hey Folks, I hope you can help. I am fairly new to Phaser 3 and am currently working on a platformer where my character can run, jump and collect collectibles. My game is modularised through WebPack everything else is plain JS along with the Phaser 3 framework. I am using Tiled where I export my levels as json files and the initial level loads perfectly with all collision tiles in place and working as expected. I've hit a road block with loading/starting new levels. I'll try and explain with my code to clarify. I've reduce the code significantly to make it easier to read. main.js: Entry file // Main.js import 'phaser'; import { Cave } from 'scenes/cave'; import { Playground } from 'scenes/playground'; var config = {...}, scene: [Cave,Playground] }; var game = new Phaser.Game(config); Cave.js. For the sake of conciseness, I've placed the this.scene.start in the update function so the new scene initialisation happens immediately. MapSetup function is further down. // Cave.js import 'phaser'; import MapSetup from 'modules/map-setup.js'; import CollectibleSetup from 'modules/collectible-setup.js'; const mapSetup = new MapSetup(); const collectibleSetup = new CollectibleSetup(); export class Cave extends Phaser.Scene { constructor () {super('Cave')} preload() { this.load.tilemapTiledJSON('map', 'assets/levels/cave/cave.json');// map made with Tiled in JSON format this.load.spritesheet('cave', 'assets/levels/cave/cave.png', {frameWidth: 64, frameHeight: 64});// tiles in spritesheet } create() { // Setup up map for this scene/level var mapObj = mapSetup.sceneMap(this, 'map', 'cave', 'world') this.map = mapObj.map; this.physics.add.overlap(this.player, this.stars, collectibleSetup.collectStar, null, this); }// create update () { this.scene.start('Playground') } Playground.js // Playground.js export class Playground extends Phaser.Scene { constructor () {super('Playground')} preload() { this.load.tilemapTiledJSON('map', 'assets/levels/playground/map.json');// map made with Tiled in JSON format this.load.spritesheet('tiles', 'assets/levels/playground/tiles.png', {frameWidth: 70, frameHeight: 70});// tiles in spritesheet } create() { // Setup up map for this scene/level var mapObj = mapSetup.sceneMap(this, 'map', 'tiles', 'World') this.map = mapObj.map; this.physics.add.overlap(this.player, this.stars, collectibleSetup.collectStar, null, this); }// create } MapSetup.js. The issue occurs here when the PlayGround scene is initiated. import 'phaser'; export default class MapSetup { sceneMap (ctx, key, tileSetImage, dynamicLayer) { // Map var map = ctx.make.tilemap({key: key}); console.log('map',map) // tiles for the ground layer - tilesets.name` var groundTiles = map.addTilesetImage(tileSetImage); // create the ground layer - layers[i].name var groundLayer = map.createDynamicLayer(dynamicLayer, groundTiles, 0, 0); // the player will collide with this layer groundLayer.setCollisionByExclusion([-1]); // set the boundaries of our game world ctx.physics.world.bounds.width = groundLayer.width; ctx.physics.world.bounds.height = groundLayer.height; return {map:map, groundTiles:groundTiles, groundLayer:groundLayer} } } I'll try and explain the issue as I understand it. When Playground is initiated, the following error fires in the console and it's because the the groundTiles & groundLayer variables return null so the setCollisionByExclusion doesn't work. When I console.log the map variable that get's assigned in the sceneMap function it returns: The tileset name is still referencing the cave json object and not the playground one. I don't understand why that is. My understanding is that a scene is automatically stopped when a new scene is started and that each scene is it's own class so i'm a bit baffled as to why previous references are still in place. What am I missing? Any help would be much appreciated. Thanks, All Moe
  7. I'm using Phaser2 to make a simple game. When I set the game width and height to these: var Screen_Width = window.innerWidth * window.devicePixelRatio; var Screen_Height = window.innerHeight * window.devicePixelRatio; The game runs really slow on my iPhone. What is the problem?
  8. We are buying a couple of HTML 5 Phaser (preferably Phaser 3) games. It could be of any categories and being Mobile Friendly is a must. If you are interested, plz drop a line and I will contact. Thanks, Yan
  9. Hello! I have chosen this forum to be the first place where i will communicate about the release of my game, because Phaser has a special place in my heart. i decided to work hard on this project, alone, and never talk about it until it was well polished. I was about to release the beta in a couple of days but... what a surprise, i just saw that PhantomStom made an article about it! I don't even know how he found the URL, but i'm glad he did it :). So a little earlier than i expected, here is Infinity Land (BETA): https://infinity-land.net/ It's a sandbox platformer, you can create your own levels, and share it with the community. Greatly inspired by Mario Maker of course, but also: Metroid, Mega Man, Super Meat Boy, i wanna be the boshy. The levels i design are pretty hard because i like to improve from dying! but i will make more easy levels for beginners. I suggest you to look at the SPECIAL INTERACTIONS page to know more about all the subtleties. You can also play the controls tutorial without registering: CONTROLS TUTORIAL You can help me to improve the game by reporting issues or misspelled worlds to support@infinity-land.net. Thank you in advance for testing the game, any feedback is welcomed.
  10. I'm making a new video game named Strange Platformer Game. It involves trying to reach the next level. I'm really passionate about this game and I want to work together with you, the player, to make this a great game. Many more levels and features are being planned, but I would love to receive feedback from you to make sure the game is heading in the right direction. https://webdva.itch.io/pantsu-versus-baka
  11. Play Cool Math

    Online Solitaire Game

    Hi Everyone! Today, I present my new online game: Online Solitaire (https://onlinesolitaire.games) Daily mode (Every day new level); 4 Game Mode for 100% solvable levels (1 Card/3 Cards, Normal/Vegas, more 6000 levels); Random Mode (Generate random deck, can be not solvable); Solitaire Solver (If you do not complete level, you can use solver to check solution); Undo; Facebook connect; Top score for daily mode; Backup (restore game if you close browser); Magic button (help); Restore progress system (if you logined, you can restore progress on other devices and browsers). It is the third game for Cool.Logic project (previous games: Online Mahjong, Online Sudoku) and the most hard game for me from this serie. I made easy level generator, but not all levels was solvable.I made solver, it checks levels for solutions. But some levels has several solutions and solver spend a lot of time to find all of them. I optimized solver for only one solutions and find solution no more 30 sec for random level. My solver can generate around 1000 levels per night. (I generated levels at night 😊) It was interest project for me. Play and leave your feedback. Mobile Versions:
  12. Hey All, I hope you can help me. I'm quite new to Phaser. I've looked all over google and couldn't find an answer to my question. I have an idea for a Tetris-like game. At the moment I'm learning the basics by setting up a single block to fall on the floor before another single block falls after it. The block falls from the air onto the ground just fine. The issue is: I simply want to have a collision call back happen once. I've simplified the code to make the question easier to read: function create () { this.physics.add.collider(block, ground, hitFloor, null, this); } function hitFloor () { console.log('floor hit'); } The block hits the floor and the callBack runs infinitely which makes sense because the block doesn't move and stays on the floor. I was considering setting a flag with a variable like `floorHit`. Something like: function hitFloor() { if (!floorHit) { console.log('do something') floorHit = true } } But I want to have multiple blocks fall and this won't work because the new block that gets created needs to have the `floorHit` variable set to false before it starts falling. What am I missing? Any help would be much appreciated. Thanks MHC
  13. brainbass

    Firefox Slow FPS

    Hello, Since some day, firefox turn phaser game slow. All game i have created and even litle game downgrade fps. (60FPS to 30FPS) I dont know where is the problem. i have try use phaser but no change. You can try with this example : https://phaser.io/examples/v2/time/slow-down-time if you wait some seconds the animation down to 30fps. this problem is only on firefox (i suppose since v57). All others browsers working fine. Have you an idea where is the problem? Thank you
  14. Hi guys, in the release of phaser 3.13, the developers of phaser have said that the support of scale manager and dom elements will be available in the phaser's 3.14 release, but after release we see that these functionalities are not available for us for now ? So who can say when it will be available and is there another option to solve problems related to adding dom elements and scaling.
  15. Hello fellas! Having web games is amazing, but we all know monetisation and marketing is a lot easier with apps. What is currently the best way to port a web game into native apps? Is there any wrapper out there working well without having a big impact in performance? The one I've seen is cocoon js, but I've not yet been able to make it work. Many thanks in advance!
  16. I'm trying to apply physics to a animated sprite. I used PhysicsEditor to generate the JSON and loaded the polygon shape for the first frame. Collision detection is not happening when i try to clear the shapes and load the polygon dynamically with respect to animation. Is there any method to clear and load the polygon dynamically to detect collision. Any thoughts ?
  17. BunBunBun

    gunfight.io

    Hi Everyone, GunFight.io - original HTML5 multiplayer game. Select your team Counter-terrorists or Terrorists and have fun! Play Made with: Phaser + NodeJS server framework - custom version of Colyseus scheduled to add: 1) Multi-language support 2) May be bots? 3) Mobile device support. 4) More emotions. Any suggestion and feedback are welcome.
  18. I have a sprite of a character moving and I'm trying to apply physics collide on it that when it hits a rock for example health is decreased. I managed to achieve collision but as rectangular shape of the image, what I want to achieve is the collision happens on the boundaries of the character itself. I used PhysicsEditor to generate the JSON file, but I'm still not sure how to use it to achieve pixel perfect collision. Any thoughts?
  19. hoangtd

    Can we watch CCTV using phaser 3

    I'm working on a project HTML5 . They want to watch CCTV ( camera ) using that project. I've already search everywhere but not found anything. So does phaser can do it ? Thank you
  20. manojsinghnegiwd

    [Phaser] Shooting Arcade

    One of my first game built with Phaser 2. Play the game at http://www.manojsinghnegi.com/shootingarcade and let me know what do you think about this. Thanks
  21. AramCP

    Optimal resolution for my game?

    When I started to create my game I wanted to make it look good on my own phone as a start. So I searched for my screen resolution and it is 1920*1080, so I decided to make my game 540 width and 960 height, making it the half from my res to not make the sprites too big and then scale it*2 in phaser. Yesterday I first tried it on my phone using cordova, and I can only see like 30% of my game because it is too big for the screen. And I dont really understand why is that happening.
  22. RuslanPeresy

    How make isometric scenes?

    How do you make isometric with phaser? I try to use isometric plugin, but it doesn't work good with big maps exported from Tiled editor. Can you give any examples or source code?
  23. Zendrael

    [Phaser] The Last Battery

    Hi! I Just released my new game called "The Last Battery"! You can play it for free at https://goo.gl/JGeumV and try to survive until your battery is running out! Also, my other games are at https://www.minzaogames.com Thanks! EDIT: Now you can play right in your iOS or Android device! Check it out! iOS: https://tinyurl.com/TLB-ios ANDROID: https://tinyurl.com/TLB-droid
  24. Mike

    Game list of phaser games

    Edit by Rich (September 2016): Back in 2013 Mike created a web site (below) that allowed Phaser devs to list the games they'd made. You'll find over 400 games created with some of the earliest versions of Phaser. Lots of the links don't work any more, but some do, and it's a really interesting archive. It's not worth submitting your games to the list any longer, however I'm keeping it, and this thread, because people still post new games to this thread even today. If you do this, it's highly likely I'll see it, and add it to the Phaser web site. Mike's original message follows: ------------------------------------------------------------------------------------------------------------------- What I did started from personal need, but decided to share it and maybe improve it if it went bigger. Well since the engine is still new but there is quite a moving and I check every topic, and game that is made I have a phaser game list: http://pgl.ilinov.eu/
  25. Hi all! I made some improvements to my web games site 1 Pixel Army, now it has 4 games (all made with Phaser). I'd be happy to receive suggestions for improvement. You also have the option to place a free ad as well, to promote your game/project/whatever, you just have to sign in with your Google account. Hope you enjoy the games, and spread the word!