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. How to pass the cursor object to a method that belongs to a class that inherits the Phaser.Sprite class? I have a class that inherits from Phaser.State in which I create a cursor object and pass it to the update method from another class. class Play extends Phaser.State { create() { this.physics.startSystem(Phaser.Physics.ARCADE) ... this.player = new Player({ game: this.game, x: 32, y: this.world.height - 150, asset: 'dude' }) this.game.add.existing(this.player) } update() { const cursors = this.input.keyboard.createCursorKeys() this.player.update(cursors) } } Player class - problem occurs in the if condition: class Player extends Phaser.Sprite { constructor({ game, x, y, asset }) { super(game, x, y, asset) this.game.physics.arcade.enable(this) this.body.bounce.y = 0.2 this.body.gravity.y = 300 this.body.collideWorldBounds = true this.animations.add('left', [0, 1, 2, 3], 10, true) this.animations.add('right', [5, 6, 7, 8], 10, true) } update(cursors) { this.body.velocity.x = 0 if (cursors.left.isDown) { this.body.velocity.x = -150 this.animations.play('left') } } } Error message: "TypeError t is undefined"
  2. 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 ?
  3. How do you configure the server for this template ? => https://github.com/nkholski/phaser3-es6-webpack I'm trying to do it by following this tutorial => https://gamedevacademy.org/create-a-basic-multiplayer-game-in-phaser-3-with-socket-io-part-1/?a=13 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:
  4. 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..?
  5. 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] gmail.com, thanks!
  6. 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 : https://twitter.com/DelgadoRenaud 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 !
  7. 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 erict@gamecommerce.com
  8. 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 http://www.html5gamedevs.com/topic/23640-best-library-for-furniture-simulator/ 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 : https://www.mobibam.com/configurateur I'll be more than grateful for your thoughts and insights ^^
  9. Play Cool Math

    Online Mahjong Solitaire

    Hello Everybody I released new online mahjong solitaire https://onlinemahjong.games 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!
  10. 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! https://lunafromthemoon.itch.io/spiked-heart-demo
  11. 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.
  12. oom1993

    moveToXY with socket.IO problem

    socket.on('bulletFromServ',function(bullet){ activeBullets[bullet.id][bullet.num] = game.add.sprite(connectedSprites[bullet.id].x - 8,connectedSprites[bullet.id].y - 8, 'bulletSprite'); game.physics.arcade.enable(activeBullets[bullet.id][bullet.num]); game.physics.arcade.moveToXY(activeBullets[bullet.id][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[socket.id] = [game.add.sprite(connectedSprites[socket.id].x - 8,connectedSprites[socket.id].y - 8, 'bulletSprite')] firstFired= true; }else{ activeBullets[socket.id].push(game.add.sprite(connectedSprites[socket.id].x - 8,connectedSprites[socket.id].y - 8, 'bulletSprite')); } activeBullets[socket.id][activeBullets[socket.id].length-1].checkWorldBounds = true; activeBullets[socket.id][activeBullets[socket.id].length-1].outOfBoundsKill = true; game.physics.arcade.enable(activeBullets[socket.id][activeBullets[socket.id].length-1]); game.physics.arcade.moveToXY(activeBullets[socket.id][activeBullets[socket.id].length-1], game.input.mousePointer.x, game.input.mousePointer.y, 300); socket.emit('bullet', {id:socket.id, x:activeBullets[socket.id][activeBullets[socket.id].length-1].x, y:activeBullets[socket.id][activeBullets[socket.id].length-1].y, xDest:game.input.mousePointer.x, yDest:game.input.mousePointer.y, num:activeBullets[socket.id].length-1 }); Thanks
  13. 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. http://www.onlinedominogames.com 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.
  14. 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: unstablegame.com
  15. 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?
  16. i want to make the player goes inside the ring
  17. Hi All I've been working on a top down endless runner , where the player jumps from one platform to another and should not leave the screen. How to make a platform move horizontally I'm spawning platforms and adding x and y velocity its working but is it a right of doing it ? if not how to make it look better this.initX = this.x; this.body.velocity.y = -200; platform.prototype.update = function () { if (this.moving) { if (this.x > (this.initX + this.width)) { this.speed = -200; } if (this.x < (this.initX)) { this.speed = 200; } this.body.velocity.x = this.speed; }
  18. 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.
  19. I'm currently working on a project myself. Basically as a hobby. Yet I feel it might have potential someday. Therefor I'm willing to invest in myself and this game by hiring help. The goal is to help and guide me. Not to make the game. Obviously I might be helpful if you can provide snippets or classes when I'm really struggling I guess the skills needed are; Phaser 3 TypeScript webpack something about nodejs; express / socket.io I can pay in various ways. Either just cash (transfer, paypal whatever) or help and guidance in things I'm actually good at; (PHP, hosting, devops).
  20. ArcadixInfotech

    box2d collision filtering with phaser

    Hello, Can anybody please tell me how box2d collision filtering works in JavaScript(box2dweb). I need balls to collide with player but not with other balls. There are example out there but they are in c++ or other language. I am newbie in gaming hence a silly question. Thanks.
  21. Vvalent

    [Phaser] HADRON

    You are the Large Hadron Collider, but are you the best Hadron Collider? --- This is my first complete game. It's far from perfect, but I put a good deal of work into it so I hope you guys enjoy it. Any comments or impressions are welcome. Play it here on Desktop or Mobile (recommended): https://ametrine.itch.io/hadron Details: Stack: JS (ES6) + Webpack + Babel Built with Phaser 2 (started development before v3 release) Source repo: https://github.com/JHAvrick/hadron
  22. ArcadixInfotech

    Texture in box2d rope/distance joint

    Hello, Is it possible to give a texture to box2d's rope or distance joint. I can see the joints in draw debug mode, but need something like an actual rope texture. Thanks
  23. I was trying with Phaser where i saw that this gets some kind of blurred when moving (ingame) Testet it in Canvas & WebGL both had the same result then i tried it to setting `pixelArt` to false in the gameconfig and when i tried it then, it worked smooth, but it seemd that it had activated some kind of antialiasing so it got washed-out but the moving was smooth Phaser 3.8 (Original) Tileset tiles 16x16 (no spaceing / margin) (Extruded) Tileset tiles 16x15 (1px margin / 2px spaceing) Map made with Tiled Vivaldi & Chrome & Windows Edge Tileset Extruder: https://github.com/sporadic-labs/tile-extruder Code Example / Project: https://github.com/hasezoey/phaser-tiled-test Original Question: https://github.com/photonstorm/phaser/issues/3685 (moved to here)
  24. Hello, Just a quick question. I want to kill any emitter particles that overlap with a sprite. I've tried: if(this.game.physics.arcade.overlap(this.emitter, this.sprite)) { this.emitter.removeChildAt(0); //and this.emitter.removeChild(); }