Search the Community
Showing results for tags 'infinite-runner'.
-
Hey everyone! This is a demo for a little game I have just finished: "Arachnowopunk" - an infinite-runner metroidvania. Instead of having complete freedom of movement, you have to strategically use the platforms to explore in the desired direction. Any feedback or comments are greatly appreciated! You can try it here: https://e1sif.itch.io/arachnowopunk (The game was coded in Haxe using OpenFl/Haxeflixel, but then exported to various platforms, including HTML5!)
- 4 replies
-
- metroidvania
- infinite-runner
-
(and 1 more)
Tagged with:
-
I was working with a popular online tutorial in making an infinite runner game. All goes well, except there seems to be this one instance that pushed the player off the screen. (keeping player at velocity 0 instead of -platformSpeed). I think the issue is with this line this.player.body.velocity.x = this.player.body.touching.down ? -this.levelSpeed: 0; It seems to happen when the player catches the very corner of the platform, and isdown does not get set, then the player is "pushed" onto the platform. But this is just a logical guess as it happens too fast to debug. The collision check happens in a line above this.platformPool.forEachAlive(function (platform, index) { this.game.physics.arcade.collide(this.player, platform); if (platform.length && platform.children[platform.length - 1].right < 0) { platform.kill(); } }, this); My full code is here, but I can't figure a way to get the assets to load http://jsbin.com/tufisagoho/edit?html,js,output (updated link with Hosted Assets)