Popular Content

Showing content with the highest reputation on 11/18/2018 in all areas

  1. 2 points
    I made a progress bar using two rectangles, a container and a text block, here I thought I would share because I am very proud of myself ! You can find the code to run it just here: https://playground.babylonjs.com/ts.html#P3XLK9
  2. 1 point

    How do I load tile map with phaser 3

    line 36, typo his.backgroundLayer = this.map.createStaticLayer("World", tileset); //should be "this" there are lots of phaser tiled examples here: https://labs.phaser.io/index.html?dir=game objects/tilemap/&q=
  3. 1 point

    2D Point always same size in a 3D Mesh

  4. 1 point
    This answer worked for me (answer I got from Stack Overflow) height = velocity^2 / (2 * gravity)
  5. 1 point

    Showcase Katan.io

    Hey all, I've finished creating a game with pixi.js I've asked a couple questions here the past few weeks and the game finally is working so I wanted to share it with you guys. Before, I had made the game with canvas & html/css. But now the whole game screen is with pixijs except for the chatbox. There may be some bugs left, but in 1-2 weeks it will work magnificently. Hop on to play some games http://katan.io/ Btw we're doing weekly updates to the game. So if you want to subscribe be my guest: https://katan.us19.list-manage.com/subscribe?u=44e52ce0d2d31e7946354fb0d&id=ae6deb93c6 Lastly I want to ask how can I make the resolution better without heating up the computer. Normal resolution: https://user-images.githubusercontent.com/6215305/48113231-00f16c00-e26b-11e8-9741-736fb18b4a0a.png 2x resolution: https://user-images.githubusercontent.com/6215305/48113232-018a0280-e26b-11e8-865b-a5bc20a05a5e.png The 2x resolution has width & height increased 2x resulting in 4x more drawing surface. While playing heats up my mac. But it looks much better, so I want to ask is there any other way I can increase the resolution? My images are all .svg so I thought maybe turning them to .png might work but even the Pixi.text's have low resolution.