Search the Community

Showing results for tags 'phaser'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





Found 3,291 results

  1. I want to implement a bitmapData property to skew my sprite, so anybody help me out there..? need to know how to implement search docs in our game..?
  2. Arlefreak

    Tools compatible with Phaser

    Today I started playing with Aseprite and they have a new command tool to export your spreadsheet to a PNG/Json wich is compatible with Phaser/Pixi so I made this Also I used Grunt to make my deploy system easier, I followed this tutorial wich explains very easy how to use Grunt. And I start wondering if there are other tools that may be usefull to develop with Phaser. So wich tools do you guys use for your Phaser games ? Other one i have used Leshy SpriteSheet Tool
  3. 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, and any feedback is greatly appreciated!
  4. How do you configure the server for this template ? => I'm trying to do it by following this tutorial => I added two dependencies: nodemon and express. I created the server.js file with the server configuration. const express = require('express') const app = express() const server = require('http').Server(app) const path = require('path') app.get('/', function(req, res) { res.sendFile(path.resolve('index.html')) }) server.listen(8081, function() { console.log(`Listening on ${server.address().port}`) }) In the package.json file, I added a command to start the server: nodemon src/server/server.js The server starts correctly but the indicated html file can not read the scripts (" The load failed for the "script" element with the source vendor.js and app.js"). Project structure:
  5. I am new to html5 games. I wanna know what LACKS in HTML5 games in terms of revenue ? Can you monetize html5 games with banners and interestitial ads as ANDROID GAMES DOES ? Is there a possibility of implementing IAP or rewarded videos like ANDROID ? Do u thing that using webview that host an HTML5 game in ANDROID and use all these forms of ads above is a good idea ?
  6. Hi everyone! After one year and a half of hard work, I finally have the great pleasure of introducing my game, On the Way to Nemroth (OWN)! OWN is a deathmatch game in 1v1, 2v2 and 3v3 with fast-paced games under 3min. Gameplay-wise, it's a crossover between MOBAs (you control one hero with a limited skillset) and Brawlers (maps are small, action pretty intense). You can watch the trailer here : The competitive side has been polished, (league system, no random mechanics, depth of gameplay etc.), but you can also play casually in normal or private games. Because games are super short, you can use OWN to fill in idle times (like a League of Legends matchmaking, for example) or you can play more seriously and try to rank up the ladder. Money-wise OWN is 100% free-to-play, 0% pay-to-win and contains no ad. It's pay-to-customize. You will have all heroes for free, and you will win virtual currency and chests as you play. By the way, I've created a promo code which will unlock you 1000 gold coins at registration : PHASER ! And with registration also comes a free legendary chest! Regarding the technologies, OWN uses Phaser and Node for the pvp games, and React for the social part. But enough talking, here are the important links : The game HERE ! Testing the game without registering HERE ! Don't forget to follow us on social medias : Facebook Twitter Youtube Discord
  7. Our team is looking for experienced HTML5 developers who are able to join our team immediately as remote freelancers. Duties will range from creating mini games, to full HTML5 games (using Phaser). With this in mind, we need a developer who is dedicated, hard working, extremely knowledgeable and who takes pride in his or her product. The position will start with a few simple minigame projects, and has plenty of room to grow for the right candidate into more work, including full html5 games, conversions and more. Payments are flexible and can be made in fixed, hourly or salary methods. Please note that first we will do a test work with you which will be a fixed pay job. Afterwards we can move to whichever method you would like. Good English speaking and communication is needed so that there is no communication failures. You may be asked to work in some, or all of the following areas. Please note that you do not have to have experience in all of the areas, and that is ok! However, Phaser knowledge is a must. We do not mind people with less experience, they are welcome to apply. Slack: With all projects, we do require a very open communication dialogue. We use Slack for our team conversations. HTML5: You will be converting and/or creating HTML5 games for mobile, tablet, and all platforms. Git Repository: Experience with GIT is a plus, but can train for this. Phaser: Phaser knowledge is a must! You should demonstrate a mastery with all of itโ€™s features, and have titles in your portfolio using the framework. Our games are very small and simple. You will be provided with all the assets and straightforward logic of what has to be done. We concentrate on polish such as tweens, particles and little details that give life to each game. Having an eye for game design and well polished end results are critical! (We can help you achieve it). Once applied, I can explain it to you on what exactly we want here by showing you samples. The three biggest things we look for are excellent communication skills, the ability to not only develop exactly what is given to you, but also contribute new ideas and creative thinking, and finally timeliness. Its absolutely needed that work is always completed on time. Please mention your time zone when applying for the job. Please only apply if you are 100% sure that you can dedicate the time towards it. Please submit your portfolio and hourly wage requirements to jobs by mailing to vivekagrawal57 [at], thanks!
  8. Detective Moustachio

    [WIP] Detective Moustachio

    Detective Moustachio is an HTML5 game made with Phaser CE, Cocoon for mobile optimisation (on old devices) and it use the Arcade physique of Phaser (a bit customised for the slope textures). The atmosphere of the game is a retro pixel art neo post apocalyptic (Despite it I made it as funny as I could do). The story is about a private detective which is trying to solve a case about a lady who lost her cat, and things escalated very very quickly (like mad scientist, gravity inverted on earth and stuff like that). I work on this game since 10 months+ as an hobby and I am doing my best to release it really soon (Actually working on the maps, coding the bosses and putting the sounds).I will try to release it at the end of the summer on Web, Messenger, Android and Ios. You guys can follow the progress of the development on my twitter : I put updates and previews of the game daily/weekly. I have a lot of surprises about this game. Since this is a hobby and not my main activity, I won't put any ads or things like that, I just wants people to have fun playing this game !
  9. Thomas Hunter II

    Cobalt Dungeon

    Hey there! I recently released a mobile game called Cobalt Dungeon. This game is based on Phaser 2 and uses a fullscreen canvas and basically only touches the DOM during initialization. The application itself is wrapped in Cordova 8 and runs on iPhone and Android. It's currently available for both platforms in their respective stores: Cobalt Dungeon for iOS on the App Store Cobalt Dungeon for Android on the Play Store The game took me four months to create, from start to finish. I had created games before using HTML5 / canvas, and had released one before on the app stores (I later open-sourced it as Mobile Game Skeleton, if you're curious), so the process was familiar. This game is very Indie, like most of the games on this forum, with me being the only dedicated contributor. I made the music and sound effects, sourced /remixed existing graphics, etc. One thing that might make this game a little special is that 99% of the development was done on Linux, almost entirely using open source tools, though I do have a Macbook Air I use solely for iOS builds and I did use FL Studio for music. I'd like to talk a bit about the process I went through, hopefully someone else will find it useful as well! I have been producing a series of game development videos recently and will make a high-level one soon based on this post! I also have a blog with hundreds of development posts, if you are into the whole reading thing. Development Workflow Almost all of the day-to-day game development, e.g. the actual core gameplay of moving around the dungeon and attacking enemies and picking up items, is designed and debugged using the responsive view of the web debugger in Google Chrome. Personally I prefer Firefox for web browsing but there's no beating Chrome when it comes to dev tooling. This tool is great because once you tell it to pretend to be a particular device (e.g. an Android Nexus 5x or an iPhone 6s) it'll do everything from setting the user-agent to reconfiguring the pointer to send touch events. Being able to interact, alter game state, and read console messages in real time is a total must. Very little on-device development happened for the first three months (mostly occasional performance testing). Of course, testing locally is fine for a while, but you definitely do need to test on a real device. My daily driver is a Nexus 5x which is a little over 2 years old. I used this device for most of my testing. I figure the average phone is about as powerful as this one so I would constantly make sure the game ran at 60 FPS on this device. My other test device is an iPhone 5. This phone is like 5 years old, so it's mostly safe to say that any game that'll run on this phone will run on any modern iOS device. (One caveat is the new iPhone X notch, which I still need to fix. Resolution differences are also important to consider) You may find weird edge cases which only present themselves when your game runs on a physical device. A common example is related to touch inputs. When debugging these issues you can actually use a Chrome feature called Remote Debugging, which will allow you to use Chrome installed on your computer to interact with Chrome on your Android device (I'm not sure if such a feature exists with iOS Safari, but I didn't need such a feature). Normally Chrome will even show duplicate the view of the phone on your computer screen but it doesn't seem to work with Canvas. Artwork/Aesthetics The game uses 16x16 tiles and a palette of 24 colors. If you find yourself making a pixel art game, you must pick a palette and adhere to it! I found that having such a restriction really helped with creativity, as well as getting an overall cohesive feel. The basic terrain is based on free artwork I found on That website is amazing for getting assets and I highly recommend you check it out (here's a bunch of music I contributed if you're into that). The players / enemies are based on another art pack which I purchased a license for (around $30 at the time, I think). I would then touch up this artwork to get everything following the same palette. I would also have to stitch the graphics together to build spritesheets and get animations going. Any time I would create new artwork I then do my best to fir the same art style. For example, the first boss Shroomzilla I put togehter. It uses the same color palette, though the visual style is definitely more complex than the simpler graphics used throughout the rest of the game. The graphics for the Ice, Moss, and Fire worlds are altered from the base terrain, but still follow the same palette. The main menu graphic of a stairway going into the dungeon is also something I had to draw based on googled reference material (also with the same palette). The graphics I use do use 1x1 pixels in their source PNG files, despite being rendered on device as some arbitrary pixel size, e.g. 6x7. I do the stretching by dynamically scaling the viewport when the game first loads (I'll make a video explaining this process at some point). This is cool because it's impossible for me to address a sub pixel. You'll see this issue in a lot of pixel-art games where there's partial pixel overlap. Rendering on Android is done with Web GL, and on iOS with software. This was necessary to get the viewport scaling to work, prevent blurry pixels on iOS, and prevent slow performance. E.g., scaling the viewport when rendering Web GL on iOS is very slow and blurry and slow, and works perfectly on Android. Music/Sound Effects The audio was all custom made for this game, both the sound effects (SFX) and the background music (BGM), though the process for making both is very different. SFX: The Sound Effects were mostly made using the wonderful as3sfxr tool. This tool, despite being super old and written in Flash, is one of the best (if not the best) tools for making 8-bit (-esque?) sound effects. The workflow I use is to first figure out what part of the game needs a sound effect, then click the category which sounds most similar, and then start randomizing the sound until it sounds similar to what I'm looking for. If a randomization goes in the wrong direction then undo and try again. Once a sound is pretty I then modify individual parameters until it sounds correct. Once it's done I generate a WAV file and load it into FL Studio. The goal with FL Studio is to create a single MP3 file with all the sound effects, e.g. the first at 0 seconds, the next at 3 seconds, etc. Once this is done I specify the sound locations using JSON. Unfortunately I kept having issues with Phaser's audio library so I chose to use a library called Howler to play the audio. The code for using Howler looks something like this: const TIME = 2999; const SFX = { damage: [0, TIME], explode: [3000, TIME], door: [6000, TIME], wait: [9000, TIME], upgrade: [12000, TIME], }; const sfx = new Howl({ src: './audio/sfx.mp3', sprite: SFX, autoplay: false, volume: 1.0, onload: finishPhaserPreloading });'damage'); BGM: The music was entirely composed using FL Studio (overview video, some notes on how I made the music). One of my goals was for the game to feel familiar to the generation of 8-bit / 16-bit gamers. However, making actual 8-bit / chiptune music was not a requirement by any means. So what I chose to do was keep every song simple; most have only 2 or 3 instruments. With the exception of percussion/drums, the music is entirely synthesized. Whenever possible I would use simple waveforms and simple filters (e.g. for the ice levels the lead is a sine-wave with a touch of delay and reverb). Sometimes I would use more complex instruments, like the string instruments in the main menu / fire levels. With the exception of the main menu music, each song follows the same structure, which you can download as an FLP file here. The tempo does change which is why the songs are of different lengths. Overall I like the way the music turned out. I frequently listen to it while commuting. There's a few things that annoy me, like the bridge in the ice music or the repetitiveness of the moss/jungle music, but overall it's not too bad. The music is the largest part of the application, consuming about 18MB of the overall ~24MB binary. Since most people are listening to it via crummy mobile phone speakers I've compressed the audio at 96kbps in the game (higher bitrates are available for download on my Patreon). Libraries / Code As I mentioned, this game is built using Phaser 2 (I might upgrade to Phaser 3 soon, now that the children/group feature is being added), as well as the Howler library. Code is written in mostly ES2015 syntax. I use Browserify to combine my code, traversing import/export statements. Once browserify is done I then pipe the output through Google Closure Compiler to get a single JavaScript file without any comments or whitespace, and being minified as much as possible (e.g. dead code paths are removed). I don't, however, run any of the libraries through closure compiler. So in my final HTML file I'm loading four libraries: phaser.js, howler.js, cordova.js, and my games bundle.js. Many people seem to enjoy many weeks configuring webpack and getting bleeding-edge versions of the language transpiling but I try to avoid that as much as possible. The game is wrapped in Cordova 8. This requires a whole bunch of JDK and Java build tooling be installed, as well as Xcode on my Macbook. Configuring all that tooling is a nightmare! I also make use of the following four Cordova plugins: <plugin name="cordova-plugin-vibration" spec="^3.0.1" /> <plugin name="cordova-plugin-media" spec="^5.0.2" /> <plugin name="cordova-plugin-admobpro" spec="^2.31.1" /> Vibration is required to get vibration working on iOS (it's not required for Android, it just works out of the box). The media plugin is interesting. At first I would play all the music using Howler. This means the browser itself load the audio into memory. Unfortunately I found that the browser is incapable of destroying the music, even when the appropriate methods are called to unload the audio! Using the Cordova media plugin is necessary if you want to be able to play more than a few songs and not have a mobile browser segfault without a stacktrace in sight. The admobpro plugin is used display ads in the game. Unfortunately the author skims a few percent of your proceeds off the top unless you buy a license. I'm also trying to use an IAP module but am currently having compatibility issues with that and Cordova 8. Now that the game has released I'll try to get the plugin working as I'd like to offer players the ability to give me $2 and to have ads disabled (ads also hurt performance). I do load two JavaScript libraries installed via NPM into the compiled bundle.js by way of Browserify. These are two libraries I also made and open-sourced. Neither has any dependencies so that the output bundle is as straight-forward as possible. The first one is roguelike. This library has a ton of features! All the level and room generation is done using this library. I also use it for a lot of math / random / dice roll calculations as well. The second library is autotile. I use it for taking a 2D array of booleans (representing if the ground is a floor or a hole) and converting it into a format to represent the actual spritesheet offsets. This is very handy so that you don't need to perform the calculations yourself. This allows me to represent a floor using a simple array of booleans instead of tightly coupling it with spritesheet offsets. Tools As I mentioned, I use FL Studio to do the audio work. I bought the Producer version for $200 and have been really happy with it. Since I'm running on Linux that means I need to wrap it in Wine. This experience is a little iffy, e.g. if I attempt to scroll anywhere in the UI the app completely freaks out. Other than that it's been a pretty solid experience, especially since my songs only have a few instruments. For most music, however, this won't be true. The more instruments and effects running, the higher the CPU cost. Running FL Studio directly on Windows will be much more efficient than with Wine and Linux. There are of course free alternatives, especially native Linux tools, but I had used it years ago and was comfortable with it. All coding was done using VIM. Once you get used to those keybindings you'll be trapped using this editor forever. While most of the rooms are procedurally generated, I did want to create a bunch by hand. For example, all of the tutorials and challenges are done by hand. For those I used a tool called Tiled. (At first I hand-generated JSON. This would never scale and prevented creativity). Tiled allows me to edit a visual map, with different layers, using the actual spritesheets used in my game. Tiled will output an XML file format which can even be imported into Phaser! However, passing around a file format representing rooms which is so tightly coupled to the graphics is not a route I wanted to take. So I wrote a converter tool to convert the XML files created by Tiled into a very simple JSON representation which contains only exactly what I need to represent a level. As an example, enemies can be represented as an array of objects with an X/Y coordinate, an Enemy ID, and their Phase. The Tiled representation would contain lookup information for the enemies coordinate in the spritesheet, the layer then graphic is on, and wouldn't have the metadata I need. Here's a video of my Tiled workflow if you'd like a better idea of how I make rooms. For creating the Bitmap font format used by Phaser I used a tool called BM Font. This allows me to take a TTF font and create the XML/PNG files needed for rendering on the web. The process for doing this can be super complex so I even made a video on font conversion for Phaser. Graphic editing was done using GIMP, a free image editing app originally made for Linux but is available for all platforms. Coming from a Photoshop background it can take a while to get used to the keyboard shortcuts and the weird choices GIMP made (e.g. layers have different dimensions, what's up with that?!) I created a palette using the 24 game colors and that really helped my efficiency. I also tweaked the UI to be in single window mode (ala Photoshop) and also reconfigured the tools (mostly disabling anti-aliasing, enabling a 16x16 grid). Once you dig through the menus it's possible to save the tool configuration permanently, which really helps with efficiency. Hardware I did the drawing of the main menu graphic using an old Wacom Tablet bamboo, it's older but probably cost $100. The music was made using an Akai MPK Mini (two octave MIDI controller), also for $100. Neither of these tools were required to produce this game, but they sure make it a fun process. All development was done using a Lenovo Thinkpad Carbon X1 5th generation, by far the best laptop I've ever owned! Worth the $1600 price tag. Live Ops Once a game is live you don't want to have to release a new version of the app for every little update. This is when having a CMS is really helpful. I built a Node-based CMS specifically for game development called Grille. My workflow for this is that I edit a Google Sheet, change values (for example enemy attributes, shop costs, game text, etc). Once I'm satisfied with the result I use Grille to generate a JSON file which I can upload to a CDN. Of course, it's useful to know what in the game actually needs changing! For example, do most players get to level 7 and then stop playing because they get killed by a Mage and get frustrated? For that I use a service called Mixpanel. Throughout the codebase I make analytic calls with useful data. For example, when a player dies, goes to a new floor, buys a shop item, views and ad, etc. I can then use the Mixpanel UI to view a "funnel" of users as they progress through the game. [Attached is a screenshot from Mixpanel showing the level progression funnel] Monetization I make money with ads thanks to Admob. There are two types of ads; the first one is an ad shown when the player switches between rooms. This ad is displayed at most once every five minutes. The second ad is an ad the player can choose to view. When the player dies they can choose to view an ad to respawn in the room they died in. Otherwise they can choose to respawn at an older save point. Let me know if you have any other questions about the development process, or if you'd like me to produce a video explaining any of these topics. Thanks!
  10. We're looking for devs to participate in testing our playable content creation platform. Here are some details on the features and benefits: Using our library of existing game assets or starting from scratch, game devs can easily build and customize playables to attract ready-to-pay/play users through highly engaging and fun interactive experiences. Custom playables are instantly published and can be distributed across any website/network/app to engage and acquire new, high LTV users. If you're interested in participating, please respond to this thread or email me at
  11. xKizaru

    Phaser vs Wix !!!

    Hey everyone, hope you are doing good Not too long I was looking on the net for a piece of advice about how to create a 3d furniture editor/ customizer (which library to use and stuff...) and the best thing I found was this topic But I still not decided on which to choose: Phaser or Tree.js ...(do not know where to start either) Why did I mentioned Wix in the title?? because I started this project as an internship and the company is already on Wix so I'm looking also for a way to integrate the the 3d editor on a Wix page (if it is possible) here is an example of what the company asked to code : I'll be more than grateful for your thoughts and insights ^^
  12. Journey Kim

    Samsara - Stones of Eternity

    I've released my game for HTML5 using Kotlin and Phaser 2! Samsara - Stones of Eternity is brand-new, super addictive puzzle game. Play Samsara - Stones of Eternity I started this project about three years ago on iOS using Swift and SpriteKit. This year, I've ported to Android using Kotlin and libGDX. As Kotlin is a mother of Swift, works were not too hard. Last month, I tried publishing for HTML5, but libGDX doesn't support Kotlin for HTML5! After some struggling, I found Kotlin can cross-pile to javascript. So I decided using Phaser, of course. Only one problem was how I could bridge Kotlin and Phaser. Thanks to hiperbou, developer of phaser-kotlin, I easily port my game HTML5. You can play three unique modes with three themes. For 3x3 games, you can use your keyboard(U, I, O, J, K, L, M, comma, period) or numeric keypad, also. 'X' key and enter key are used for cancel and confirm for pop up menu.
  13. 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:
  14. Play Cool Math

    Online Mahjong Solitaire

    Hello Everybody I released new online mahjong solitaire I add new level Every day from 1 January 2018 (170+ levels) 3 tail skins Facebook connect High score Backup (restore game if you closed browser) Undo (unlimited) Magic button (help after 10 seconds) Pause Restrore progress system (if you logined, you can restore progress on other devices and browsers) I need to ask you something โ˜บ๏ธ. Login and complete any level. I want to see some players in table of record (Now you can to see only me ๐Ÿ˜Ÿ) Thank You!
  15. lunafromthemoon

    (Demo) Spiked Heart

    Hello everyone, I present you my new visual novel, Spiked Heart. Spike is just a cat like any other, until the local fairy came to visit and told him to find his true love, or else. Is it just a coincidence that the fairy looks exactly like Cereza? Can Spike find his true love? Why does the game look so shitty? Many questions in this life have no answer. The game was developed with RenJS, a Visual Novel library for Phaser, also developed by me! Thanks for playing!
  16. I released my first Phaser project last week on Kongregate. I'd love any feedback anyone here might have about how to make this project (and future projects) better! Additionally, if anyone has advice for successfully releasing/shipping/marketing games, I'm all ears for that too. ๐Ÿ™‚ Solve challenging real time puzzles to unlock portals that take you to new more advanced worlds. Perfect your navigation of each level to unlock bronze, silver, and gold time trial medals. Play the game here:
  17. I've been working on Impossible Snake 2 for a while now and at this point I feel it's finished. You can play a 9 level preview demo in the link below. Impossible Snake 2 demo It is the sequel to Impossible Snake and it's a one-button snake game. You control the snake with only a single tap to change its direction, each time you tap the snake will toggle between turning clockwise and counter-clockwise. So in a way the controls are similar to Flappy Bird. Eat all apples to open the exit, go through the exit to complete the level. There are bonus coins in difficult to reach spots to add an extra challenge. There are some new features compared to the first Impossible Snake: Go through the exit to complete a level Collect bonus coins for an extra challenge Moving spark enemies, avoid them or you'll get electrocuted Laser beams, some can be switched on and off 27 levels + 9 bonus levels 3 different background themes Some sound & graphics tweaks Btw looking back I don't know why I didn't include screen shake in the previous game, as it's simply built into Phaser. It was just adding one line of code but it gives that much more *oomph* when you hit a wall. ๐Ÿ˜† Anyway let me know what you think of the game.
  18. dcgames

    [WIP] Online Domino Games

    Guys, I have been working on a bunch of domino games and have just released first set of 8 games which I am sharing here. Looking for your feedback on this. AI for the games are decently intelligent (mostly plays for scoring and blocks if it can not score). If someone has any feedback with regards to AI, please get back. I have another set of 6+ games which are work in progress. Shall provide update once they are also done. Meanwhile your feedback will be much appreciated.
  19. oom1993

    moveToXY with socket.IO problem

    socket.on('bulletFromServ',function(bullet){ activeBullets[][bullet.num] = game.add.sprite(connectedSprites[].x - 8,connectedSprites[].y - 8, 'bulletSprite'); game.physics.arcade.enable(activeBullets[][bullet.num]); game.physics.arcade.moveToXY(activeBullets[][bullet.num], bullet.xDest, bullet.yDest, 300); }); Hi, i am having an issue with socket IO together with the moveToXY physics method. When the client receives the "bulletFromServ" message above. I try to initialize a sprite and then use the information sent with the bullet parameter to fill in the parameters of the moveToXY method. However, the sprites are created in the correct position but do not move at all. This snippet of code is within the create function but i have also tried using it in the update function with no luck. I use the moveToXY function in the below code which doesnt involve a socket call and it works fine. The snippet below also includes the emit to the server with the bullet details. Any ideas why the sprite is rendered but does not move to the position i specify with the moveToXY call? if(!firstFired){ activeBullets[] = [game.add.sprite(connectedSprites[].x - 8,connectedSprites[].y - 8, 'bulletSprite')] firstFired= true; }else{ activeBullets[].push(game.add.sprite(connectedSprites[].x - 8,connectedSprites[].y - 8, 'bulletSprite')); } activeBullets[][activeBullets[].length-1].checkWorldBounds = true; activeBullets[][activeBullets[].length-1].outOfBoundsKill = true; game.physics.arcade.enable(activeBullets[][activeBullets[].length-1]); game.physics.arcade.moveToXY(activeBullets[][activeBullets[].length-1], game.input.mousePointer.x, game.input.mousePointer.y, 300); socket.emit('bullet', {, x:activeBullets[][activeBullets[].length-1].x, y:activeBullets[][activeBullets[].length-1].y, xDest:game.input.mousePointer.x, yDest:game.input.mousePointer.y, num:activeBullets[].length-1 }); Thanks
  20. Hello! We made an IO game called and you can play it here: Mobile app version here: IOS coming soon You are a pirate ship and you shall collect coins and shoot other ships. Coins are used to upgrade your boat. Controls: Use mouse to move Use left click to shoot Use space to boost Use 1, 2, 3 and 4 to upgrade your ship if you have enough money This game is made using Phaser, socketIO, NodeJS backend and Nginx for serving the static files. PLAY IT HERE:
  21. when a game object belongs to multiple groups that have runChildUpdate enabled, is there a way to make sure its update only runs once per frame? or is there anyway to get around with it?
  22. i want to make the player goes inside the ring
  23. Hi Guys, I'm having some issues with an emitter that I am trying to attach to a sprite using the addChild method. The emitter should be a child of the player's arm so that it moves and rotates correctly. When I add the emitter to the game without being added as a child it works fine. As soon as I add it as a child to the arm it disappears from the game world. I've played around with a bunch of different coordinates in case it was being moved slightly off screen but I've come to the conclusion that something is going wrong here. I've also run tests in a new state with just a single sprite and an emitter and as soon as I add the emitter asChild of the sprite it is gone. I'm probably missing the thing that is going wrong here, so any help would be appreciated. I'll put my code snippet below if that helps at all create: function() { = "#000"; this.playerContainer =, 600, null); this.player =, 0, 'player'); this.player.scale.setTo(0.75); this.backArm =, -180, 'backArm'); this.backArm.scale.setTo(0.75); this.frontArm =, -180, 'frontArm'); this.frontArm.scale.setTo(0.75); this.emitter =, 0, 5000); this.emitter.makeParticles('whiteParticle'); this.emitter.minParticleSpeed.setTo(200, 0); this.emitter.maxParticleSpeed.setTo(2000, 0); this.emitter.gravity = 200; this.emitter.lifespan = 0; this.playerContainer.addChild(this.backArm); this.playerContainer.addChild(this.player); this.playerContainer.addChild(this.frontArm); this.frontArm.addChild(this.emitter);;; this.playerContainer.body.collideWorldBounds = true; this.player.anchor.setTo(0.5); this.frontArm.anchor.setTo(0.4866, 0.2925); this.backArm.anchor.setTo(0.4866, 0.2925); },
  24. lunafromthemoon

    Visual Novel Engine RenJS

    Hi! I'm a developer from Argentina and I just released a visual novel engine based on Phaser and inspired by Ren'Py, called RenJS. The stories are written in yaml on a list of actions, and then interpreted and executed with Javascript and Phaser. It's easy to use by non programmers and it's super easy to extend and modify for anyone that knows a bit of phaser. I invite you to check the tutorial game I made with the engine itself in, you can also get the code from, download it, play it locally and grab the files to make your own visual novels. There's no official documentation of it yet, but I'm working on it. I hope to get some feedback from you all, thank you!
  25. how to use phaser auto completion in brackets -------------------------------------------- install ternific (extension) [brackets] after that, go to :: for windows::(mac and ubuntu might be quite similar) C:\Users\username\AppData\Roaming\Brackets\extensions\user\ternific\node_modules\tern\plugin and paste phaser.js (auto completion api) (right click and save) create .tern-project at the root dir. of your project file and paste and save { "ecmaVersion": 6, "libs": ["browser"], "loadEagerly": [], "plugins": { "phaser" : {}, "doc_comment": true } } enable ternific:: at right top side of file option menu, click the ternific option file>ternific --> now you can use phaser autocompletion with tern-documentation/tern-def bonus:: install phaser-chain extension ( for phaser api documentation) credits::