Jump to content

Search the Community

Showing results for tags 'phaser2'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
  • 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

  1. I am using Phaser 2 and I am trying to get it working with quasar framework, but I just keep stumbling into errors. I suspect it may be a webpack configuration issue, coupled with package incompatibility issues. The relevant section of my `quasar.conf.js` file is as follows const webpack = require('webpack'); const path = require('path'); const phaserModule = path.join(__dirname, '/node_modules/phaser/'); const p2 = path.join(phaserModule, 'build/custom/p2.js'); const phaser = path.join(phaserModule, 'build/custom/phaser-split.js'); const pixi = path.join(phaserModule, 'build/cu
  2. Hello guys, I've just uploaded my first Phaser(2) project, called "Gotham Shadow". This is a Pacman type of game, taking part in the Batman universe (cause i love Batman!). If you want to, let me know if you have any ideas or tips, i'll hope you'll enjoy : https://gmoliner.itch.io/gotham-shadow
  3. I am trying to create multiple PIXI.Texture instances using a Phaser.RenderTexture as the base. This does not seem to work though. When I set the texture on a sprite it just appears blank. Doing the same with a baseTexture from the cache seems to work. const texture = new PIXI.Texture(renderTextureInstance, new PIXI.Rectangle(0, 0, 200, 200), new PIXI.Rectangle(0, 0, 200, 200)); // DOES NOT WORK const texture = new PIXI.Texture(game.cache.getBaseTexture('buttons'), new PIXI.Rectangle(0, 0, 200, 200), new PIXI.Rectangle(0, 0, 200, 200)) // WORKS I also tried using the renderTextu
  4. Hello, I want to spawn an enemy on different location every second on my screen. is there such thing like this? Im using emitter to spawn random images on my screen but it generate only in one place. how can i generate image in different place every second?
  5. I found in the oficial site Phaser.io good books TO DOWNLOAD, but I need real books not only for Phaser but a good book to get introduced in this world of HTML5 gamedev, even without a framework. It's just to get started. I've been studying JS and I think I'm prepared to go to a framework, but I don't have a mind setted in this "gamemaker" world. πŸ˜… So, what I need is a real book to order, about phaser or about HTML5 game development. I hope someone could understand itπŸ˜‚
  6. I want to build a top down, twin stick shooter and I wanted some help in figuring out the best way to implement it. There will be other buttons on screen as well. A static joystick is fine, no need of a dynamic one. I have tried out the vjoy plugin, but I didn't find it good enough as it only had events for up, down, left and right. I want more specific information. Should I just use pointers or is there a way to implement nippplejs, or is there a better option?
  7. I have one array having 3 phaser groups as follows code:1 exp_s = game.add.group() ; exp_s.physicsBodyType = Phaser.Physics.ARCADE ; exp_s.enableBody = true ; exp_s.scale.setTo(0.9) ; exp_m = game.add.group() ; exp_m.physicsBodyType = Phaser.Physics.ARCADE ; exp_m.enableBody = true ; exp_m.scale.setTo(0.7) ; exp_l = game.add.group() ; exp_l.physicsBodyType = Phaser.Physics.ARCADE ; exp_l.enableBody = true ; exp_l.scale.setTo(0.5) ; em_group.push(exp_s,exp_m,exp_l) ; added animations as follows:
  8. I am trying to make a game so I tried to load a tileset, to help me make the game, but when I try to play my game, this shows on the console- ```Cannot read property 'addTilesetImage' of undefined``` This is my code: ``` Ball.Level1 = function (game) {}; Ball.Level1.prototype = { create: function () { var map; var layer; this.map.addTilesetImage('element-h'); this.map.addTilesetImage('element-w'); this.map = this.game.add.tilemap('map', 32,
  9. I'm working with 2.6.2 and drawing some webfonts directly instead of bitmap fonts. I know rendering a vectorial font is an expensive operation and I was thinking of just rendering it to a separate BitmapData and then use the BitmapData as an image instead, but since Phaser 1 performance on text rendering seems to have improved a lot, so I was wondering if these optimizations are maybe already done behind the scenes by Phaser, but didn't find anything on the source code so far. Does anybody know?
  10. there seems to be something wrong with the code, one button has to slow down and one button to speed up when I add this code, this.downButton = this.add.image(80, 530, 'up-bubble').setInteractive(); this.upButton = this.add.image(230, 530, 'down-bubble').setInteractive(); this.input.on('gameobjectup', function (pointer, gameobject) { if (gameobject === this.downButton && this.spinSpeed > 0) { this.spinSpeed -= 0.1; } else if (gameobject === this.upButton && this.spinSpeed < 9.9) { this.spinSp
  11. Hey guys!...I am new to Phaser. I have an issue. When I am printing text on screen the text and its stroke is getting blur. What should I do now. Text is looking ugly
  12. Hi I am new to game development. I have an issue.. here is the screenshot of my game which I am developing. My screen is scrollable with phaser_kinetic scroller. When I scroll the sheets with numbers it should be masked from the white line and and disappear the part of group sprite which is crossing the line. How can I achieve that. I used graphics to mask. But the graphics also hides the background. I dont want background to be hidden.
  13. I have created a mobile game called Fantasy Wars released on the Apple App and Google Play store. I have been focused on developing the sequel to the game, so I have not had much time focusing on adding features and updates to Fantasy Wars. Fantasy Wars is a turn-based strategy game where six fantasy races: Humans, Orcs, Elves, Undead, Dwarves, and Drow combat on a world map similar to the board game Risk. Each race has a distinct special making them all unique. I am looking for a game designer that can come up with adding new features to the game including new fantasy race
  14. I am trying to put all my phaser 3 games into one ionic 4 application. I found the following example which works perfectly for phaser 2 (https://store.enappd.com/product/ionic-phaser-game-framework-ionic-4/). however when I try to update to phaser three the screen goes blank. I imagine one of the problems is to do with how scenes have replaced states. does anyone have any ideas how to get around this or is this example workable anymore?? below is some code export class HomePage { constructor(private menuCtrl: MenuController) {
  15. How to drag sprite on a path like there https://cdn-factory.marketjs.com/en/mcdonalds-playable-ad/index.html ? Thanks a lot!
  16. I have a group that contains a large number of children that are P2 physics objects. When I tween the group the sprites all move correctly, but their collisions occur in the position they were prior to the tween. Is there a good way to update the position of the bodies of all the children? Heres some super simplified code incase it helps: game.physics.startSystem(Phaser.Physics.P2JS); const collisionGroup1 = game.physics.p2.createCollisionGroup(); const collisionGroup2 = game.physics.p2.createCollisionGroup(); const targetsGroup = game.add.group(0,0); const ammoGroup = game.a
  17. I Use "phaser-ce": "^2.10.0". I want to integrate razorpay payment gateway in phaser es6 webpack. There is sample code in razorpay this is the URL - https://github.com/razorpay/razorpay-cordova . In this URL i add the plugin. But i don't know how to import into sample state or any other methods there ? Any one share your knowledge how to import plugins? Please Help Us.
  18. How to load sound in a game at runtime using ajax call
  19. I'm using the Phaser Editor (newest version, 1.5.3) to make a game, and the "Run Phaser Project" button won't work at all, nothing happens when I click it when my project is open. The internal browser option works but it doesn't seem to have a console log, which I need to be able to see. I have no idea what's going on, is this a bug? Thanks in advance!
  20. hi, I'm try load an image from url for my game.it shows cross origin error. I try like this,(sample code) game.load.baseURL = 'url'; game.load.crossOrigin = 'anonymous'; game.load.image('image', 'assets/images'); If anyone know solution to load image from url please help me. Thanks in advance.
  21. I'm trying to add a bubble-pop spritesheet animation to my game. I have added other sprites fine, and when I add the sprite for the bubble, everything is still good. However, when I go to add the animations, I get an error, "Cannot read property 'add' of undefined. How can I animate the bubble? var config = { type: Phaser.AUTO, width: 1366, height: 768, parent: "canvas", scene: { preload: preload, create: create} }; var game = new Phaser.Game(config); function preload () { this.load.image('freeplayBG', 'images/freeplay-BG.png'); this.load.image('shark', 'images/nice-shark.png');
  22. Ananth

    blendModes

    How to add and use blendModes in phaser. And how to use blendModes to bitmap images. Thanks,
  23. Ananth

    Bitmap

    How can i enable input for bitmap
  24. tanmoy749

    lebeling sprites

    How can I lebel my sprites with a text when I click on them? I have some different sprites that I need to give different names through clicking on them. Thanks in advance.
  25. I'm writing a 2D space shooter. It started as a single player Phaser2 game a couple of years back, and now it's multiplayer with socketcluster.io providing the back end on node.js. The game is at the point where performance is starting to matter (and degrade), and I'm having a bad time rendering the slither.io-quantity of sprites on the screen. I'm probably just writing bad code, and I'm quite happy to work through that myself, but I'm not sure that I'm using the right frameworks underneath, and I'd like some help sorting that out before I start working through the problems I am havi
×
×
  • Create New...