Jump to content

Search the Community

Showing results for tags 'display'.

  • 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

Found 16 results

  1. Apologies for the rookie question but I am new to 3D graphics and to BabylonJS. I have successfully created a model from custom meshes through the Babylon APIs. The model displays but parts of it disappear and reappear depending on the relative position of the model and the camera. Here's a sample: https://geekart3.azurewebsites.net/babylon.html If you watch the model rotate you see pieces appearing and disappearing. You can also move the camera position and see the same issue. The meshes in the model do not change, they are only generated on load. I am digging in to see if I c
  2. So my problem is that I have a sprite that is giving me 0 for sprite.world.x and sprite.world.y (although it clearly isn't at 0,0). What's weird is that printing out the sprite.world.x gives 0 at first but adding a delay of 50ms it gives me the correct position (in case you're wondering nothing is happening during the delay) Below is the code snippet that i am using (just to be 100% sure). Basically I have a group (located at a certain position) with a specific rotation that has a sprite (the one I'm having issues with) at a certain location. The first printed out valu
  3. So my problem is that I have a sprite that is giving me 0 for sprite.world.x and sprite.world.y (although it clearly isn't at 0,0). What's weird is that printing out the sprite.world.x gives 0 at first but adding a delay of 50ms it gives me the correct position (in case you're wondering nothing is happening during the delay) Below is the code snippet that i am using (just to be 100% sure). Basically I have a group (located at a certain position) with a specific rotation that has a sprite (the one I'm having issues with) at a certain location. The first printed out valu
  4. Hi all, I am making an android game with phaser but when I export it, the game does not play, I mean, I just have the menu screen but when I try to start the game the sounds play but it does not pass to game sreen from the menu screen. What is the problem I do not understand, I tried all screen settings, AUTO, CANVAS and WEBGL but it was same for all.
  5. Hello everyone, I need help, i want display an element of a tileset, but i don't understand how to do that. function preload() this.game.load.image('stone', 'assets/tiles/tiless.png'); function create() this.stone = this.game.add.image(720, 78, 'stone'); i guess , i need a key or other but i don't understand how write and found this key. my tileset is 32*32
  6. Hi, I know this should not be BabylonJS issue, just intend to aware people that Lenovo Phab 2 Pro may have canvas rendering issue. I am using chome to open the webpage, while firefox and opera had no problem displaying the 3D scene. below are screenshots of webpage with webgl content: The Sponza Demo: www.babylonjs.com/demos/sponza/ The Espilit Demo: https://www.babylonjs.com/demos/espilit/ The Instances Demo: https://www.babylonjs.com/demos/instances/ And all ThreeJS projects I had viewed so far have this issue too: Lasertown: http://oletus
  7. Hello, I am new to Phaser and I am trying to get a player extends from a sprite and display it in the screen but I am not being able and I don't know why. If anyone could help me It would be appreciated. Thank you. this is my code play.js player.js game.js
  8. Here's my situation: When the main game state starts, it generates a couple hundred objects (sprites, images, etc) scattered around the world, but when I change to a different state, the objects are removed as normal, and when I change states back to the main state, the objects are re-generated. I'm trying to figure out a way to not re-generate that large number of already-generated objects when I switch back to the main state. I already know that game.state.start() gives you the option to not clear the world, but this keeps the objects from the previous state displayed. Is there a way to
  9. Hello, I have a problem with adding tile maps to my phaser game. I know how to add one tile map, but I can't add multiple tile maps. I want two things, which are that I want to add these tile maps, but I also want collision between the turtle and all of the four layers. I didn't add the tile maps already to my game, because of the fact that I can't display the tilemap on my screen. I don't know why.... I get a few error's, which you can see in the images below. Does anybody knows a solution for my problem(s)? My code: var road; var turtle; var controls = {}; var Backg
  10. EDIT: I already solved the issues. About the html functions that phaser was unable to call using Firefox browser I change how to define them. Instead of: var changeFullScreen = function(){ actions(); } I changed for: function changeFullScreen (){ actions(); } Hello, I wanted to create a game that appears with its default size in desktop vesion (800x600). In mobile version should be seen in fullscreen and resized to the device resolution. It is defined: this.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL Canvas is inside a div and it
  11. Hello, I may not be able to solve my current dilemma, however I thought I might ask if anyone has had a similar issue and was able to resolve it. The problem I have is that I have an interface for an application in which I need to display color information through the GUI. So I have a pallatte, a color picker, and a simple mesh plane which I use to display the currently selected color by the user - and I do this by changing the material color value of the plane to represent any color the user has selected. This works great on my laptops or a single device, however, when the device resolut
  12. Hello Guys, Currently looking at utilising a nice little tool for converting Flash's Create JS Export for use in PIXI JS. What methods are there for displaying standard Pixi DisplayObjects in a Phaser Game? (suitable for constantly updating Pixi DisplayObjects)
  13. Hi all, I have a collection of five bee spritesheets and I have assigned them unique strings such as, 'bee1', 'bee2' etc. I randomly generate a character/bee at the start of each game by: // Randomly generate an integer and identify unique string var randomBee = 'bee'+ this.game.rnd.integerInRange(1,5); // Add sprite this.bee = this.game.add.sprite(100, 245, randomBee); HOWEVER, I wanted to display the characters name (top right): var beeName = getName(randomBeeKey); AND function getName(beeKey) { if(beeKey === "bee1") return "Boo
  14. I have two images that I want to display, but there's some error. I'm just getting green boxes in place of the images. I checked the paths. They are correct. What might be the issue? I have attached a screenshot. You can view the screenshot of the console here : https://www.dropbox.com/s/1puzi0mci2m1535/Capture.PNG?dl=0 My JS code: var GameState = { preload: function() { this.add.image('bg','Assets/Images/stormy-sky.png'); this.add.image('sea','Assets/Images/sea.png'); this.add.image('ship','Assets/Images/Ship.png'); }, create: function() { this.backgro
  15. Hey all, As I develop my games in html5, I often notice that browser games feel different than downloadable games. This is simply because of the nature of web browsers; they are not specifically meant to showcase games. Because of this, I often find even myself clicking on other tabs as I play my game; kinda going in and out of the gaming experience. I don't really want my game to be displayed in a normal browser window for these reasons. Is there any way that I can make my game downloadable and have a file that opens a window which only contains the canvas? Thanks!
  16. Since the mask is just setter property, can multiple display objects be masked by a single graphics object? In the future, would display object be able to have multiple different masks? Thanks for your response.
×
×
  • Create New...