pdiddles03

Members
  • Content count

    104
  • Joined

  • Last visited

About pdiddles03

  • Rank
    Advanced Member

Recent Profile Visitors

706 profile views
  1. Programming a ladder

    Bump
  2. Programming a ladder

    I'm using tiled to set an object for a ladder, in phaser, i am using "createFromObjects" to create the object, i can perform the overlap collision in order to let the user climb, but my problem comes from when the user reaches the top, how do i detect when the user has reached the top, re enable the gravity, and not allow them to fall down?
  3. Physics Overlap causes touching.down

    Is phaser meant to set "this.body.touching.down" to true when the initial overlap collision is done?
  4. Tilemap Layer groups from tiled

    I'm using this method in phaser: https://phaser.io/examples/v2/loader/load-tilemap-json I want to create groups to easily organize my levels, how would i call this using this method? Lets say i have a group called "Level-1" and inside of that i have a layer of tiles called "x0-y0"
  5. Group of enemies don't take damage

    I'm confused as to why the arcade physics is being defined in the update function. Shouldn't it be defined once?
  6. Making Audio Sprites

    Can anybody point me to a program where i can make audio sprites for my games? I need to do 1 request instead of a bunch of little ones. Preferably something like texture packer would be great!
  7. HTML5 Platformer and On Screen Controls

    For my game, i am using on screen controls to control my character. Each level has multiple sections. Think mega man, when the user reaches the end of the section, it goes to the next one, i am achieving this by using Game States. but i am encountering an issue where when i change the game state, those controls no longer exist where i am performing the touch event, so there is no "onUp" event happening when i let the button go. I'm about to the point where I am just going to use Img tags to remedy this problem, does anybody have a fix for this?
  8. I'm trying to get better performance out of my game, so instead of looping through a ton of tiles, i decided to overlay objects and create groups from those objects. my problem is, collision detection seems a bit off. if i draw an object over a set of tiles, it seems to not match up in game. Also, sometimes the collision happens to soon. i don't know how else to explain it. sorry.
  9. Killing sprite, tweening and animation

    When switching game state, does that kill the animation?
  10. Killing sprite, tweening and animation

    Lol the docs that give very very vague info. I decided to ask here and get an answer. Which I did. Ty
  11. Killing sprite, tweening and animation

    when i apply sprite.kill() to something, does it automatically stop the tween/animation?
  12. Admob Free Plugin with Phaser

    I actually figured it out. Documentation is very sparse and confusing. I find that a lot with libraries and plugins. It's like programmers make the documentation lol.
  13. Admob Free Plugin with Phaser

    I'm having a bit of an issue. I would assume because the game is no longer the focus, the ad being displayed full screen would cause the game to pause, but it does not. The admob free plugin also does not seem to have an event for "onadclose" or something. Does anybody know how to handle this? This is the cordova plugin i am using: https://github.com/ratson/cordova-plugin-admob-free
  14. Tile Collision vs object collision

    I've been thinking has i have been using tiled, isn't making the map, and making objects in the collision areas better then making a tile map and applying collisions to every single tile needed?
  15. does anybody have any idea when i jump a far distance and I am using a tilemap from tiled, when i reach the floor, my character goes right through it?