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,293 results

  1. Marcelo Lv Cabral

    Phaser sprite sheets unpacker

    I'm porting a game developed using Phaser to Roku (streaming box) and I needed to change some of the sprite sheets, so I got TexturePacker but was surprised that it does not have an option to read the json file and split back the sheet into all the separate frames. Then I decided to create a quick app to do that, get the json and the png and unpack the frames png files into a folder. It was very useful to me so I decided to open it to the community: https://github.com/lvcabral/PhaserSpriteSheetUnpacker/releases
  2. hcakar

    fullScreenScaleMode on IOS

    Hello Everyone, I'm currently using Phaser and first of all Thanks for all developers for Phaser. I've got a problem and wanna share with you guys. I wrote a game and using ScaleManager for full screen. var playScreen = function(game){}; playScreen.prototype = { init: function(){ game.scale.pageAlignHorizontally = true; game.scale.pageAlignVertically = true; game.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL; game.scale.fullScreenScaleMode = Phaser.ScaleManager.SHOW_ALL; game.state.start('TitleScreen'); }, create: function(){ game.add.image(1830, 16, 'fullScreenExit'); this.fullScreenButton = game.add.button(1830, 16, 'fullScreen', changeFullScreen, this); } } function changeFullScreen(){ if(game.scale.isFullScreen == false){ this.fullScreenButton.alpha = 0; game.scale.startFullScreen(false); } else { game.scale.stopFullScreen(); this.fullScreenButton.alpha = 1; } } This works fine on desktop and android but however on IOS it's not working. Please let me know if you have any advance. Thanks.
  3. Thunderfist

    I can't find the bugs in my code

    I have a problem: I'm making an RPG and it's not working. I just keep getting a green bar on a white screen. I have multiple .js files, and I can't figure out which file might be it.
  4. onlycape

    Flappy Tours (my first game)

    Hi all, This is my first html5 game and my first contact with Phaser (2.10) and javascript, and I must say that this framework has left me pleasantly surprised. I'm a hobbyist with some experience in libgdx(java) and monogame(c#). Screenshots: Desciption: Simple endless game based on the original Flappy Bird. We must prevent the bird from colliding with obstacles. I know it is not the most original, but it is a simple way to quickly test the possibilities of Phaser. Link: Flappy Tours Target platform: The game is designed to play in portrait mode on a mobile with an aspect ratio equal to or narrower than a 3: 4. Of course, the game is playable in desktop browser. Credits: -Bird (duck) designed by bevouliin.com. Source: OpenGameArt.org . License: OGA-BY-3.0 . -Music "Pleasant Creek" by Matthew Pablo . Source: OpenGameArt.org. License: CC-BY-3.0. - Everything else by me. Notes: At least in this case and after some compatibility and performance issues, I take the following options (I'm newbie, I have probably done some things wrong ): - Do not use webgl. Still supporting webgl, some browsers have a low performance with WebGl. - Disable sounds when webAudio is not available. - Make the UI in the DOM. - I just found a little problem with phaser. When I turn 180 degrees a sprite using "sprite.scale.y = -1" the bottom and top properties of the sprite change (anchor is set to the center). This forum has helped me a lot in the development of the game when I was stuck with some problem. I hope to be able to return the help received. Best Regards and thanks for your time.
  5. Hi erveryone ! I'm trying to make some notes appearing when the music hits a certain time in Phaser, but when I log the "hit times" in the console, it only show up sometimes. I have an object of "notes", the key being the time I expect the note to show : { 1371: { jam: 1, duration: 0.40 } } But, in the update loop, if I do something like this : update () { if (music && music.currentTime) { if (notes[music.currentTime]) { console.log('notes[music.currentTime].jam', notes[music.currentTime].jam) } } } It logs only some of the notes, randomly. Even something like this : if (music && music.currentTime) { var time = Math.floor(music.currentTime) if (time === 1371) { console.log('time', time) } } never trigger the log Do you have any idea why ?
  6. Play Cool Math

    Math Tower of Hanoi

    Based on this classic puzzle, we created a game called Math Tower of Hanoi. The game contains of 18 levels - from simple ones to complex ones. The smallest disk has number 1 on it, the next disk is larger and has number 2 and so on up to the largest disk that has number 8, accordingly. The main goal of this game is to move the disks so that the amount of the digits on all the disks in the bars would match the target. The fewer steps you make during the game, the more points you will get for the puzzle. You are allowed to move only one disk at a time. You cannot put a larger disk on a smaller one. You will get other math tasks between the levels. Play and improve your skills in mental counting. Online Version Android Version iOS Version
  7. ST4H

    Please help ;__;

    Please, can someone tell me how to import framework Phaser3 or other framework to Ionic? (for reference, i want to use phaser only) When i simply run html file in browser it works, but in ionic lab i can see white screen
  8. 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
  9. Hemanthraj

    Phaser Code standard

    Hi Iam new to phaser development i need the code standard please help me.
  10. Hello, i am new to using Phaser, and i would love to know if i am able to use DOM elements within my Phaser stage (canvas). I have a div which is styled to look like a ball and i would like to use this ball in the phaser game to physicly bounce on any of the ledges i will define in the future. My question: can i use this DOM element to do so? Or should i use a sprite/image? Because whenever the ball hits any of the ledges, i want it to change color. (I know this is possible with sprites and sprite recoloring) Greetings, Regentix
  11. I have 2 files as below: file 1- var deck = 0; var game = { fun: function() { statements; } } file 2 - var game1 = { I need to call file 1function. I dont know how to call. } i am beginner for phaser 3. i dont know how to call..
  12. Artuki

    Changing frames in Phaser

    Hi guys, I have this code in create() lootCrates = this.physics.add.staticGroup(); lootCrates.create(600, 362, 'crate', frame = 1); this.physics.add.overlap(player, lootCrates, brokenCrate, null, this); I then have this function for when the player touches the crate: function brokenCrate(player, crate) { crate.frame = 0; } I simply want to change the frame to the crate being broken.... However, I get this error: "Cannot read property 'source' of undefined" But earlier I did the exact same thing for a speedPotion where I did speedPotion.disableBody(true, true) and that worked perfectly. Why is changing frame giving me an error? Thanks!
  13. forleafe

    Spine animation compatibility?

    I want to use Phaser3, but unfortunately I'm not sure if there's any way for it to utilize Spine Animation at runtime. Unless I'm wrong? Does anyone know if this is possible, and if not, are there any plans for this to be implemented? It makes little sense for a JS game engine of this caliber to not support a gamedev standard for beautiful 2D animation. Heck, even pixi.js does that.
  14. spawn_more_overlords

    Simple interaction between two characters

    Hello guys, i am currently building a simple 2D platformer and want to create a simple interaction between my main character and a NPC. Im trying to figure out which functions i should use for this scenario: What i want to achieve: Main character walks until it reaches the sprite of the NPC. Soundeffect plays only one time and speechbubble (i will use a simple image) appears. Speechbubble can only be confirmed by pressing Enter. While speechbubble is not confirmed character cant move. When player hits enter, speechbubble disappears and character can pass the NPC without anymore interaction.
  15. Hi, I'm Cutler Cox. I am a junior in highschool who is looking for people to work with on the "Student Game Developers: Got Game?" competition by clay.io. I am a beginning coder, so I am not going to be perfect, but I work hard to be the best I can be. I'm looking for an artist, but other roles are welcome because I would like this game to be polished and well thought out. Most likely the project will be in phaser, but if I am unable to get it going on that, I'll go for impact.js because of the great available resources, and the competition gave me a free license. Once again, all help is welcome, but there is no promise of pay for anyone. If we get the game is good and we put in ads, the revenue will be split between all the collaborators. Thanks in advance!
  16. Hi, I'm trying to implement the pixi-v4 filters in phaser 2 (CE Version). I'm especially interested in this one: https://github.com/pixijs/pixi-filters/tree/master/filters/zoom-blur I've noticed this example (http://phaser.io/examples/v2/filters/pixi-filter) in phaser 2 is outdated/not working (link to pixi filter is wrong). Even when i fix the link (e.g. https://github.com/photonstorm/phaser/blob/v2.6.2/filters/pixi/RGBSplitFilter.js) the filter gives an error because pixi is not included. So I'm wondering what is the right method to do it. I guess the main questions here are: is pixi-v4 filters compatible with phaser-v2 method of importing of pixi filters? if yes, where are the new filters (interested in the zoom-blur one: https://github.com/pixijs/pixi-filters/tree/master/filters/zoom-blur)? if not, any pointers how to port them? Thanks!
  17. Hello all, We are expanding our team so we are looking for HTML5 (JS) programmers who are passionate about casual gaming, who want to work in international environments, with very experienced industry peers and great learning opportunities. If you have all these qualities we would like to meet you: A strong desire to learn, collaborate and work hard Organized and proactive Proven proficiency and professional experience (or extensive amateur experience) in at least one of the following game engines: Phaser Pixie JS Cocos2D-html5 Haxe/OpenFL Playcanvas Extensive domain of HTML5 and JavaScript Have demos or portfolio you can share Knowing some/all of these skills will make you a little bit more suitable for the position: Intermediate, Advanced or University Studies in Programming Experience working with third-party SDKs (Facebook, Adm...) Experience developing multiplayer games Knowledge of AWS or Google Cloud Knowledge of Unity 3D English You are gonna help us: Technical implementation of the games we make Guarantee the highest quality of our products Collaborate in the design of games Create a better working environment Benefits Flexible schedule with core hours from 10:00 to 15:00 (you choose when to work the rest) Possibility to grow professionally in the company To be able to learn from professionals with more than 10 years of experience in the industry. Join one of Europe's most successful casual gaming companies Possibility of working remotely if you are not in Barcelona PM us your updated CV (and a link to your portfolio) and we will contact you shortly. THIS IS A PAID POSITION
  18. MerchantAdventurer

    Company of Merchant Adventurers

    Company of Merchant Adventurers is a trading game based on the C64 game Hanse from the 80ies. It's a browser game completely in HTML5/JS and using Phaser for some game elements like the Map or the mini-games. It's got a bit of multiplayer as you can see other merchants in towns and buy shares or attack their ships and harbours. The goal of the game is to claim the title of Mayor in London. This can only be done by wisely trading the goods returned by your merchant fleet. The game is not commercial and I've developed it as a hobby game programmer. It's in english and german language (settings at the top). If you like trading games - turn based trading strategy, and maybe enjoyed the game Hanse - you will enjoy a quick round of my Merchant Adventurers - give it a go and let me know what you think - trade's up! Login and register free at: http://trader.thomashopes.de/indexgame.php More details and blog: http://trader.thomashopes.de
  19. This is the last part of the multiplayer tutorial series. We're going to host our game in Heroku so that everyone else can access your game! http://gojasonyang.com/post/phaserMultiplayerGamePart8.html
  20. spawn_more_overlords

    Simple Cutscene between levels

    Hey guys, im working on a 2D platformer with linear level structure. Between some levels i want to make a cutscene which consists of a background and a single sprite thats moving from left to right. Everything else like my HUD or character should disappear during that cutscene. In my case its just a plane thats flying through the screen. Once the plane has passed the next level should start. Can someone tell me whats the best way to achieve that. Thanks in advance!
  21. Henrique

    Hit and Samba

    "Warning" 10 days GameJam Game made with: Phaser.io(v2) Link: https://gamejolt.com/games/hit-and-samba/322267 Hello there, and welcome to the show! So, are you tired of those old fashion parades, huh? So are we! We would like to see those powerful and magnificent cars that open-up the event doing something more than just passing by us at low speed, having people hanging there doing nothing at all. Aw, come on! People spend a lot of money, time and put much effort on this event and in the end, it goes like a walk in the park? Where is the speed? Where is the FUN? This is so wrong! They should be more fast and furious! Don't you think? Ah, thank you! We knew you shared the same thought! <3 Lucky, for you and me, we can gladly present Hit and Samba, a game where all the carnival's magic is elevated to the ultimate limits! YES! We proudly present what was missing in the event: extreme competition and fun! Come join us on this (now) awesome party! Like someone used to say: "Let's get ready to rumble!!!" Controls Yeah! We are happy to see you reading this too! We knew this event was destined to greatness! To play is pretty simple: On the left side of the screen, you have your Power Bar. Click on the button to charge it, you have a limited time to do it, so be fast! When the time is up the power bar will be locked and the cars will attack. After each attack you must set up the power to hit your opponent again, so be ready. The bar has some parts were you can do even more damage and finish the fight quickly. If you are skilled enough you can do up to 5 times the damage! Upgrades After you won the round you can upgrade your car by giving it more attack, defense or health to the next encounter. Good luck and let's get this party! Have fun!!! Credits Art: André Forni Audio: Daniel Halond Code: Henrique & Anderson Rodrigues Design: Icaro Ferracini
  22. Hello, i have this code that should create in the create function if one of the sprites of the "asteroids" group is overlapping the station (so the player doesnt get instant killed when he spawn). It is working in the Asteroid.prototype.update function but to optimize the game i would like to check it in the create function. this.asteroids.forEach(function (item) { if (Phaser.Rectangle.intersects(this.station.getBounds(), item.getBounds())) { item.destroy(); } }, this); It isnt working as exepted, could soweone help me ?
  23. shaunumb

    Any Pause Screen Code / Examples?

    Hi guys – just discovered Phaser yesterday. Just wondering if anyone has an example of a pause screen/state in a game created? Would be great to see some code. Had a look at the examples in the docs and couldn't see anything. Also, is the only way to pause/resume a game to individually pause and then resume all the moving / relevant elements, or am I missing some amazing game.pause() function? I pretty familiar with JS, but am pretty much a noob at creating games with frameworks. Many thanks, Shaun
  24. Play Cool Math

    Math Pixel Puzzle

    Math pixel puzzle is a very unusual game. The rules are very simple. You will see an image with pixels of various colors. After three seconds, the pixels fly apart in 3D space. Your task is to rotate the space so that the image appears as originally. In the upper left corner you will find a hint - a small picture. You’ll need to collect an image so that it becomes exactly the same as the one in the hint. If it gets upside down or inclined – let’s look for more options to solve this puzzle. The difficulty of the levels increases at every level. In this game, we collected figures from 0 to 9 and pictures of geometric shapes: circle, square, triangle, parallelogram, cube and star. Do not spend too much time as it is limited. The faster you solve the puzzle, the more points you will get. Game Play Video https://www.youtube.com/embed/wuCh4hVShZI Cordova Project for iOS and Android Google Play pluging GameCenter plugin Heyzap plugin (admob, UnityAds) Firebase plugin Play Math Pixel Puzzle Online Download Math Pixel Puzzle on AppStore Get Math Pixel Puzzle on Google Play
  25. game_prince

    multiplayer online card game

    hello i want to make a online multiplayer online card game using phaser. CAn you please help me in this that from where i would start??