ceb Posted March 19, 2014 Share Posted March 19, 2014 Hi In this game I am making you can move the player towards the dark walls and after about 5 - 10 seconds of holding the arrow key towards the wall the player sprite goes straight through it, please help. thanks. http://justukfreebies.co.uk/games/prac/ - Game http://justukfreebies.co.uk/games/prac/js/main.js - Code Link to comment Share on other sites More sharing options...
nunorfpt Posted March 19, 2014 Share Posted March 19, 2014 Just tried on Firefox (v27) and in Chrome (v34) and it worked well on both browsers Link to comment Share on other sites More sharing options...
ceb Posted March 19, 2014 Author Share Posted March 19, 2014 Im on firefox v27 and it doesn't work properly... Really strange. Link to comment Share on other sites More sharing options...
ceb Posted March 19, 2014 Author Share Posted March 19, 2014 Please help try out the game for a few minutes and see if you can get through any walls this is really bugging me. Link to comment Share on other sites More sharing options...
jyapayne Posted March 19, 2014 Share Posted March 19, 2014 I just tried it on Chrome Version 33.0.1750.149 and Firefox v28.0 and they both work fine. Which wall specifically can you go through? Link to comment Share on other sites More sharing options...
ceb Posted March 19, 2014 Author Share Posted March 19, 2014 Literally any wall hold the arrow key to try and go through and then 10 or 20 seconds later the player goes through the wall (the black walls) Link to comment Share on other sites More sharing options...
kass Posted March 20, 2014 Share Posted March 20, 2014 im having the same problem on one of my games >_< sometimes my player even falls through the floor and moves around like a shark lol Link to comment Share on other sites More sharing options...
MichaelD Posted March 20, 2014 Share Posted March 20, 2014 Same thing here, trying to collide between a sprite and a tileSprite like the example here: http://examples.phaser.io/_site/view_full.html?d=tile%20sprites&f=colliding+with+tiling+sprite.js&t=colliding%20with%20tiling%20sprite But it just passes through. I tried 2.0.1 but it moved the ground to the top although the code is as follows:game.add.tileSprite(0, game.world.height - 128, 1024, 128, 'ground');You can view the problem with 2.0.1 and the wrong collision here: http://netgfx.com/trunk/games/nevermore/ Post here also if someone finds out what is wrong. Thanks! Link to comment Share on other sites More sharing options...
jyapayne Posted March 20, 2014 Share Posted March 20, 2014 Held down for two minutes. No change. That's really weird. I'm not sure what's wrong, dude. Link to comment Share on other sites More sharing options...
MichaelD Posted March 20, 2014 Share Posted March 20, 2014 Down arrow works for me but the tileSprite of the ground is all messed up. Also the examples from when run from localhost seem to have a problem. Link to comment Share on other sites More sharing options...
ceb Posted March 20, 2014 Author Share Posted March 20, 2014 Yes! and it happens with this one aswell refresh a few times and he will fall through the floor.http://examples.phaser.io/_site/view_full.html?d=tilemaps&f=map+collide.js&t=map%20collide Link to comment Share on other sites More sharing options...
MichaelD Posted March 20, 2014 Share Posted March 20, 2014 Yes basically it fell through when I pressed down-arrow.I have to point out that all these were working fine with 1.1.6 including my game and the examples. kass 1 Link to comment Share on other sites More sharing options...
ceb Posted March 20, 2014 Author Share Posted March 20, 2014 Yep unfortunately we will have to wait for an update now. Link to comment Share on other sites More sharing options...
ceb Posted March 20, 2014 Author Share Posted March 20, 2014 Even after the update rich has just put out my game is still having problems god damnn Link to comment Share on other sites More sharing options...
ceb Posted March 21, 2014 Author Share Posted March 21, 2014 Bump Link to comment Share on other sites More sharing options...
villetou Posted May 11, 2014 Share Posted May 11, 2014 justuk: Try settings the this.game.physics.arcade.TILE_BIAS to your tilesize. For instance this.game.physics.arcade.TILE_BIAS = 32 with 32x32 tiles. That helped with my game's tunneling issues. You might have to fiddle with the value a bit to get correct collisions and cancel all the tunneling issues. I'm still not sure how this value exactly works... might have to take a look at the source code at some point Hope this helps! Link to comment Share on other sites More sharing options...
Recommended Posts