Jump to content

Search the Community

Showing results for tags 'fixed'.

  • 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
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

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 11 results

  1. I need to make custom operations before or after the render and it works nicely on Chrome and Firefox (tested in windows), also works nice on Android but you cannot move the camera in iPhone here are the mandatory examples Non-working https://www.babylonjs-playground.com/#7FJNSA Working (just commented out the registerBeroreRender) https://www.babylonjs-playground.com/#7FJNSA#1 Any tip on this? Thank you in advance. Btw: most of my code is based on an example that a user posted in the forum but I cannot longer find the post to make a proper attribution sorry!
  2. I noticed that the specular light effects in my app has completely disappeared in rc1. It was working in beta5. Has anything changed? Is this a bug ? Thanks
  3. Hi, I want my game to be always in 16:9 with letterboxing when neccessary. I'm using this code in the very first state: this.game.scale.aspectRatio = 1.77; this.game.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL; this.game.scale.align(true, true); When I now start the game after I resized the browser to a quadratic format the aspect ratio is different, close to 1. As if the aspect ratio I set is just being ignored and the canvas is scaled to the complete window. I'm not in the browser full screen mode. When I start in a format close to 16:9 everything works as expected, thus I guess only at startup something goes wrong. Am I missing something?
  4. Hello people! I need to know how to insert a repeating map that moves in the Y position. I need to give the moving map effect, but the "player" can pass both halves of the map and not be in the middle, as when using the "setBounds ()" method.
  5. Hello everyone, I have a problem in drawing objects that are not affected with the camera position or scale or rotation. Right now, I want to draw a HUD at a fixed location with fixed scale. fixed to camera works fine if there is no scale but if scale/rotation involved, it breaks Is there any solution to that?
  6. Hi, I have an application that uses BabylonJS: http://rapidmockup.topempresas.net/ As you see, i have a skybox with 3D backgrounds and a ArcRotateCamera in my scene. This works well, but i need a second behavior in my scene. When the user select an option, i need to rotate only the object and the plane in my scene, but not the background. It is because i need a option to user add your own backgorund image, but users will upload only one texture, and the background skybox must be fixed to see only one face. Is it possible? How to make it? Thanks by the support!
  7. Hi, for my specific goal I need to have a group of components which are fixed to the camera, but only in x axis. What I mean is that if a player moves left or right, the group moves with the player (is fixed to the camera), but when the player moves up or down, the components behave like if they were part of the world (not fixed to the camera). What's the best (or any) way to implement this within Phaser? Thanks!
  8. I was wandering how can I make a bit of text, or really anything in my game have a fixed position related to the camera? Basically when I move right everything works just like a platformer should, except for the text that displays 'Health: ' + my health var. How can I make the text constantly stay in the same spot on the screen?
  9. Hi everyone, when scaling the world the camera follow and fixing groups to the camera seems to stop working. Please see the live example here: http://phasercamera.hpcodecraft.me/ Holding down the right arrow key makes the mushroom leave the screen and the camera does not follow. Also, the UI at the top starts to wander off screen. If globalScale is set to 1 everything works as expected. Any ideas?
  10. Hello! I need to set a graph of camera movement. I tried with this code but it does not work well this.lifeGraphics.lineStyle (10, 0x33FF00); this.lifeGraphics.moveTo (30, 460); this.lifeGraphics.lineTo (60, 460); this.lfeGraphics.fixedToCamera = true;
  11. So I have several Texts in my game to display informations like the fuel level of my vehicle : fuelText = game.add.text(16, 16, 'Fuel: ' + fuel, { font: '16px Arial', fill: '#ffffff' }); The camera follows the player controlled vehicle : game.camera.follow(lander);How can I get the Text to stay in the top left corner of the window the player currently sees instead of sticking at (16, 16) ?
×
×
  • Create New...