Jump to content


  • Content Count

  • Joined

  • Last visited

About hoskope

  • Rank
  • Birthday September 9

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location

Recent Profile Visitors

1528 profile views
  1. Yeah, this is great. I created my own random and find out later that it's inside framework
  2. Hey thanks, good catch. Even i've studied 'this' a lot, still makes my head go around..
  3. Hey, Can somebody tell me what i'm doing wrong?. I want that my potion collides with the wooden box. Below Game.js FallingDown.Game = function (game) {} FallingDown.Game.prototype = { init: function () { this.scale.pageAlignHorizontally = true; this.physics.startSystem(Phaser.Physics.ARCADE); this.physics.arcade.gravity.y = 300; }, preload: function () { }, create: function () { this.map = this.add.tilemap('levelMap') this.map.addTilesetImage('spritesheet', 'spritesheet') this.level = this.map.createLayer('Level') this.level.resi
  4. Yeah, i've seen examples using setCollision in this way, but on my case if use : this.map.setCollision([0,1]);My player only collides with the floor, not the boxes. EDIT: Ah, i used wrong numbers, this will make it work properly, yei!: this.map.setCollision([1, 3])
  5. Hello, Beginner user here learning the basics. My guestion is about what is good way to use tilemaps for collision areas. Image from my training project: I've created this level with Tiled using one layer, and then defining it like this in game.js: this.map.setCollision([0, 0, 0, 0,.. 1]) // removed lot's of data to save spaceWell, that works, but somehow i feel there has to be better way? I also saw somebody doing it very wisely with p2 physics, and drawing collision areas with one tile and then in the code using tile's id to set collision areas. I liked this approach, but i never got
  6. I don't have experience on the subject, but here's handbook for Browserify : https://github.com/substack/browserify-handbook
  7. I'm interested in when and why this happens and how to get rid of it?
  8. I loved that chapter on Interphase 1 where writer went through how new Loader works. I wish there was book, which would cover 'everything' like that.
  9. Thanks for this, i was going crazy about uncaught error and the reason was i was not defining max frames.
  10. Hey, Thanks a lot, it worked. Never came to mind
  11. Hey, Currently player moving through the wooden box, so nothing happens. Your tip makes it collide with the box, that's great!. But i need 'platforms' there as well, because of my floor. If i have these three there: game.physics.arcade.collide(player, platforms, smallWoodenBox)I got error: Uncaught TypeError: c.call is not a functionCheers, P
  • Create New...