Jump to content

SET001

Members
  • Content Count

    36
  • Joined

  • Last visited

About SET001

  • Rank
    Advanced Member

Recent Profile Visitors

1317 profile views
  1. add an option to play your game without disabling addblock
  2. Guys, who is moderating jobs-hiring-and-freelance ? I posted a topic 20 hours ago and it is still "pending approval".
  3. Hi. My name Konstantin, I'm from Ukraine and I'mtrying to set up a small game-dev business.I'm a full-stack web developer myself. For last 12 years I made tonsof contract work for projects from all over the world. But now it’stime to put an end to this and finally go on to realize the dream ofmy whole life - to make games and make a living from it.To start with, I have chosen a simple horizontal (subject to discuss) shoot-em up scroller.Technically I'm doing it using JavaScript so it would be fullyplayable on web from both mobile and desktop devices. Further down itmay be packed in executable
  4. thanx, I'll try pixi-tilemap. Even with it I think I would need mange tiles to have only visible on screen (and around) to not load all tiles in the large world there...
  5. I do not understand why do I need to call `render` why it should be called inside `ticker` I don`t understand how I can draw some static texture on come container I don't understand how I can I avoid creating million of Sprite objects just to draw 10 static tiles on a texture or at least how to avoid FPS drop causing by that If you can help to put a light to any of this questions - I would be thankfull
  6. I saw that example but being new to pixi.js I can't understand how it work. In this example it will still create as many Sprite objects as tiles on the map, add them to the container, add sprite with texture (which is empty, because rabbit sprites are added to the container) to the stage and then, using ticker (some sort of render loop?) will render container with rabbits, using render texture used previously to the sprite (which added to the stage)... I just don't understand how everything is working here. What actually is causing drawing rabbits on texture?? Why I can't draw it once, why I n
  7. are there any examples of how one would do this? I'm trying to implement simple tiling system so I need to draw thousands and millions of tiles. If I would go and create 1000x1000 sprites I will have decreasing FPS, event if using ParticleContainer. Instead of having each of them as spite object, I suppose to find a way just to draw it once somehow in container.
  8. having about 20k bunnies and still 60fps
  9. this is where click action triggered - http://phaser.io/docs/2.4.2/Phaser.Pointer.html
  10. Something like this to handle right mouse click: this.game.input.onDown.add((pointer: Phaser.Pointer, x: number, y: number)=>{ if (pointer.rightButton.isDown){ // .. draw menu at x, y } }) but still you need you'r own stuff to draw custom menu. Also you may want to disable default right click menu: this.game.canvas.oncontextmenu = (e) => e.preventDefault()
  11. I'm experiencing FPS decrease to about 43 from 60 on 100x100 (128x128) with native Phaser tilemaps. I'm gonna test library you pointed on but I think, with such map sizes, some dynamic methods should be used. Can some one point on any information about such approaches? As I want to have a really big worlds.
  12. Indeed! Can't believe I missed that looking in code. Thanx!
  13. This is also annoying in unit tests output when you have new game instance created before each of hundreds tests. Currently in my tests I'm turning this off by overriding showDebugHeader with empty function: beforeAll(()=>{ Phaser.Game.prototype.showDebugHeader = function(){} }) But it would be nice if we have valid switch for that.
×
×
  • Create New...