Search the Community

Showing results for tags 'platformer'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Coding and Game Design
  • Frameworks
    • Phaser
    • Pixi.js
    • Babylon.js
    • Panda.js
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Found 98 results

  1. Phaser

    Hey everyone, I have noob questions. I'm creating a platformer game with Phaser, as well as Tiled to create a layered JSON map. So far one of my tile layers is handling all of the inanimate object collisions via this.map.setCollisionBetween(0, 600, true, this.collisionLayer, false) to which I've passed indices to my entire tileset (only using one). Given that I've done this, does the number of tiles I actually create in that layer via Tiled affect performance? Would it be advisable for me to just use setCollision() or setCollisionBetween and pass only the necessary tiles that I plan on passing to that layer? My tileset is about 1/3 tiles I want to use for collision, and they're not totally organized but I can reasonable get that done if necessary. Also, what's better for performance, bigger tilesets or more, smaller tilesets. What would you consider a sweet spot for this in terms of size and number of tilesets? Note that I've already compressed my images etc and not having any performance issues so far, just taking preventative measures. Thanks for any help in advance.
  2. Resize platformer like Melon JS

    Hi, First I apologise if this has already been covered but I have searched and searched and not found a clear answer. In basic terms, I am trying to build a horizontal scrolling platformer that resizes as you change the size of its container. The functionality that I am trying to achieve can be seen in the Melon JS engine and results in no blank bars to the left & right or top & bottom. Thanks in advance. David
  3. [WIP] General Election Game (UK)

    Hi all, Me and my team have just made our very first game and I would really appreciate some feedback! Here's the link to play it online and below is a screenshot of how it looks: The Game is about Jeremy Corbyn, the Labour leader, that in the game is portrayed as a Wizard that can turn evil into good. I have just created 5 levels for now but I am not sure that the gameplay works 100%. It seems to me that the game is too easy, but my opinion doesn't count because I know how the enemies behave and how the levels look. Maybe I should increase the number of enemies per level or the speed? Or it works ok as it is now? Any feedback is greately appreciated, thanks!
  4. Game Pack Bundle Sale

    10 Tile Packs all together https://mikemac2d.selz.com/item/10
  5. Me - The Game

    Hi guys, this is my metaphorical platform game:online demoThank you in advance for your attention, feedback always very appreciated!!
  6. Hello all, I am currently trying to make a simple platformer, but am having trouble detecting collision with a tile layer. After looking through many of the other forum posts here about this problem, none of the fixes seem to work for me. 'World 1' layer is the background and 'Collision' is the layer that contains the platforms. To my understanding, I should just be able to use map.setCollisionBetween() on the tiles that I want to use as the ground, which I think I did correctly. I also made sure to enable physics for the player and the collision layer. For some reason, though when I console.log(game.physics.arcade.collide(player, col)), it always returns false. When I run console.log(player.body.blocked), it only returns true when the player is on the window boundary (because of collideWorldBounds=true). Can anyone see what I'm doing wrong? var game = new Phaser.Game(800, 480, Phaser.AUTO, 'phaser-example', { preload: preload, create: create, update: update }); function preload() { game.load.tilemap('bgmap', 'assets/tilemaps/maps/superMarioBG.json', null, Phaser.Tilemap.TILED_JSON); game.load.image('bgtiles', 'assets/tilemaps/tiles/super_mario.png'); game.load.image('player', 'assets/sprites/georgeRight.png'); } var map; var bg; var col; var player; var cursors; var jumpButton; function create() { game.physics.startSystem(Phaser.Physics.ARCADE); game.stage.backgroundColor = '#787878'; map = game.add.tilemap('bgmap'); map.addTilesetImage('SuperMarioBros', 'bgtiles'); bg = map.createLayer('World1'); bg.scale.set(2); bg.resizeWorld(); col = map.createLayer('Collision'); col.scale.set(2); game.physics.arcade.enable(col); map.setCollisionBetween(1,40,true,col); col.resizeWorld(); player = game.add.sprite(0,game.world.height - 150,'player'); player.scale.set(1.5) ; player.anchor.setTo(.5,.5); cursors = game.input.keyboard.createCursorKeys(); jumpButton = game.input.keyboard.addKey(Phaser.Keyboard.SPACEBAR); game.physics.arcade.enable(player); player.body.bounce.y = 0.2; player.body.gravity.y = 500; player.body.collideWorldBounds = true; } // function update() { game.physics.arcade.collide(player, col); player.body.velocity.x=0; game.camera.follow(player); if (cursors.left.isDown) { player.body.velocity.x -= 500; } else if (cursors.right.isDown) { player.body.velocity.x += 500; } if (jumpButton.isDown && player.body.onFloor()) { player.body.velocity.y = -550; } console.log(player.body.blocked); } function render() { } };
  7. TypeError

    Hello, I am pretty new to Phaser and also to JavaScript and while coding a game I keep on getting this error " TypeError: Argument 1 of CanvasRenderingContext2D.drawImage could not be converted to any of: HTMLImageElement, HTMLCanvasElement, HTMLVideoElement, ImageBitmap." I have been stuck on it for a day or so and I would like to see if someone could help me find where the problem is. I have been following a few tutorials i find on the web on how to work with Phaser and js here is a pastebin of the code. http://pastebin.com/2CScJnH6
  8. I have not complicated 2D game platformer with two levels, with simple platforms My character can jump, run and fall I want to teach him to hanging on the ledge on arms (i have sprite to animate this), and to stand up on platform. Hanging on arms - see picture below. Please, help me with some advice. I will add code if you will need to. In advance, thank for answer.
  9. Platformer collision problem

    Hi guys! I'm new to Phaser, with basic knowledge of JS. I have a problem with my platform game, which I've started with this tutorial. https://phaser.io/news/2015/09/platformer-tutorial-part2 The code is different from every tutorial I've seen on Phaser main webpage, so It's hard for me to get in to. (no update, create, preload function in main is the beggining of all my problems)... I wanted to add a shooting system, which I learned from this: https://phaser.io/examples/v2/arcade-physics/group-vs-group I applied this code to the platformer engine, and I am not sure if I did it correctly. I have created shooting system in Player object, because I didn't know how to do it other way. This code look like this: //In player: Platformer.Player = function (game_state, position, properties) { "use strict"; Platformer.Prefab.call(this, game_state, position, properties); (...) //bullets bullets = game.add.group(); bullets.enableBody = true; bullets.physicsBodyType = Phaser.Physics.ARCADE; bullets.callAll('events.onOutOfBounds.add', 'events.onOutOfBounds', resetBullet, this); bullets.setAll('checkWorldBounds', true); bullets.createMultiple(100, 'pocisk'); function resetBullet (bullet) { bullet.kill(); } //In player.prototype.update : Platformer.Player.prototype = Object.create(Platformer.Prefab.prototype); Platformer.Player.prototype.constructor = Platformer.Player; Platformer.Player.prototype.update = function () { "use strict"; this.game_state.game.physics.arcade.collide(this, this.game_state.layers.collision); this.game_state.game.physics.arcade.overlap(this, this.game_state.groups.enemies, this.hit_enemy, null, this); (...) //bullets if (this.spaceKey.isDown) { this.fireBullet(); } this.fireBullet = function() { if (game.time.now > bulletTime) { bullet = bullets.getFirstExists(false); if (bullet) { this.game_state.game.physics.arcade.overlap(bullet, Platformer.Enemy, this.zderzenie, null, this); bullet.reset(this.body.x + 6, this.body.y - 8); bullet.body.allowGravity = false; if (this.profil==1) //direction of shooting bullet.body.velocity.x = 300; else bullet.body.velocity.x = -300; if(bullet.body.x==Platformer.Enemy.x && bullet.body.y==Platformer.Enemy.y) bullet.kill(); bulletTime = game.time.now + 250; } } } And it works, the player is shooting circles in left or right direction. The problem starts now. I need to somehow code the collision between the bullet and the enemy. As you can see above, I wrote thing like this : if(bullet.body.x==Platformer.Enemy.x && bullet.body.y==Platformer.Enemy.y) bullet.kill(); But this don't work. What can I do? It is the problem with seperate objects? Or maybe I know nothing and made serious stupid mistakes?
  10. HTML5 Game: http://itlektor.cz/html5/square_jump_city/ Welcome to Square Jump City, the endless run and jump arcade game. Tap on color buttons to change color of the Square shape hero that matches landing platform color. You can double jump from platform or even jump in the air when falling. It is also possible to change the color while jumping if you change your mind, but you can not jump more than twice until you land on any platform. Just remember that you need to land with appropriate color. Available also free on Google Play: https://play.google.com/store/apps/details?id=com.petrvad.squarejumpcity ** Features ** Endless jumping Colors matching Relaxing music Casual and fun Challenging and addictive gameplay Clear design Achievements Global Leaderboard Free to play No ads after a donation ** Stars and Lives ** You collect stars on colored platforms that increase your score and speed up the game a little when every 10th star is collected. If you land on a platform with different color (grey is neutral) you lose one life and slow down the game. On some long platforms you can collect bonus lives. Make a strategy to stay alive as long as you can and submit your score into global leaderboard. ** Matching colors ** Platforms are generated randomly, so you need to focus your mind while speed is increased and tap on correct color buttons. There are four colors used (blue, red, green, yellow), grey is neutral and is set on the very first platform or on a hero when you die.
  11. Bad Pad now on Steam - Early Access

    Ever wonder what would happen if your gamepad's buttons came to life? Join square in his adventures, save Hexagon and Trapezoid from the hands of Evil Pen! Bad Pad is platformer game mixed with a little arcading, shooting, puzzle solving and metroidvania elements, that being said it is still a platformer, so expect a lot of jumping and fair amount of dying along the way. Bad Pad is available for Early Access on Steam now! Devblog, free demo, media kit and more can be found here.
  12. Ranger Steve is a web (phaser) based realtime 2d shooter that let's you have instant lan parties with your friends. Ranger Steve: Buffalo Invasion YouTube Teaser Trailer Fast paced, intense shooter, explosions This is a realtime, "shoot em up", explosive multiplayer game that makes playing with your friends as simple as sharing a link. Made with: Phaser.io, ReactJS, NodeJS, Socket.io, and Redux.
  13. 2D Game Art Bundle

    Available Now! Over 90 items in one huge bundle (Character Sprite, GUI, Game Kit, Platformer) 2D Game Art Bundle – 2017 New Year Bundle Items that noted “Sold by Tokegameart” presented in one huge bundle “2D Game Art Bundle – 2017 New Year Bundle” Over 90 items are included. Character Sprite Alien Boss Sprite Android Boss Big Hands Robot Bob The Caveman Brock From The Metro Squad Castle Guard Sprite Chibi Knight 01 (The White Bull) Chibi Knight 02 (The Roman Knight) Chibi Knight 03 (The Golden Helmet) Chibi Knight 04 (The Gladiator) Chibi Muscular Viking Christopher The Police Dungeon Bosses Dungeon Guard Sprite Evil Bot Character Sprite Genki and Dragon Sword Sprite George From The Space Squad Sprite Ghost 01 Good Boy Jack The Thug Jake Adventurous Boy Jane Adventurous Girl Joana From The Metro Squad Joe From The Metro Squad Karen From The Metro Squad Micro Style Character – Arabian Executioner Micro Style Character – Chinese King Micro Style Character – Roman Knight Mike The Counter Terrorist Priest – Tiny Style Character Pumpkin Ghost Skull Knight Skull Warrior Super Black Cat Super Boy Super Cat Super Monkey The Executioner The Shaman Tiny Armored Samurai Tiny Army – Sam Tiny Australian Soldier Tiny Chinese Soldier Tiny Cowboy Tiny Crystal Monster Tiny Guy – Arnold Tiny Ice Monster Tiny Knight Tiny Lava Monster Tiny Mummy 01 Tiny Mummy 02 Tiny Rock Monster Tiny Style Character – Barbarian Tiny Style Character – King Tiny Style Character – Knight Tiny Style Character – Pirate Tiny Style Character – Skull Tiny Style Character – Witcher Tiny U.S Soldier Tom The Police Viking – Tiny Style Character Zombie 01 – Scar Forehead Zombie Zombie 02 – Anime Zombie Zombie 03 – Meat Clever Zombie Wife Zombie 04 – G.I. Joe Zombie Zombie 05 – Exposed Brain Zombie Warrior – Tiny Style Character Bad Piggy Fairy Tiny Stlye Character Goblin Tiny Style Character Wizard Tiny Style Character Archer Tiny Style Character Ogre Tiny Style Character Ninja Tiny Style Character Super Bunny Super Panda Cartoon Enemy Pack 01 Cyclop Tiny Style Character Gold Miner Tiny Style Character Game Kit Jetpack Buddy GUI Classic GUI Snowy GUI Stone Age Themed GUI Western Game UI Cartoon RPG GUI Tileset Cartoon Town Egyptian Tileset Fantasy Tileset Snowy Platformer Game Tileset Spaceship Game Platformer Top-Down Dungeon Platformer Tileset Top-Down Forest Tileset Top-Down Snowy Game Tileset DOWNLOAD NOW! Visit : http://tokegameart.net/ Facebook : https://www.facebook.com/tokegameart/ Contact : support@tokegameart.net
  14. Bad Run, is platformer runner and was created as a part of the Bad Pad saga, to expand the world, characters and story and for some extra fun, Bad Pad is my upcoming PC/Consoles platformer game. "Join Square's epic adventure and fight the infamous Evil Pen.Run, jump, dive, fly and shot your way through, but most importantly take Evil Pen down! It's up to you, are you ready?" Features: - Campaign mode including 4 episodes, 40 levels, missions and battles. - Endless mode, master your skills, collect coins and upgrade your character and buy new items. - Daily rewards and achievements. - Bad Pad comics, finish an episode to reveal more slides. - Original guitar driven music by Avishay Mizrav. - Supports Landscape and Portrait views. Bad Run can be download in Google Play for free, https://play.google.com/store/apps/details?id=com.headbangames.badrun If you have any suggestions or questions feel free to ask here or send us an email, have fun!
  15. Hi, I'm using Phaser (2.2.1) to make my first game, a platformer. Arcade physics to do the collision detection; Tiled to make the map. The problem I'm having is that the player occasionally passes through a platform when descending from a higher point (after jumping for example). Here are what I think are the relevant bits of code: Create: this.gravity = 2200;this.blockedLayer = this.map.createLayer('blockedLayer');this.map.setCollisionBetween(1,10000,true,'blockedLayer');this.player = this.add.sprite(200,200,'player');this.player.anchor.setTo(0.5,1);this.physics.arcade.enable(this.player);Update: this.game.physics.arcade.collide(this.player,this.blockedLayer);So to repeat -- it's working most of the time, but 1 jump in 8 results in the player falling down through a platform (including through the floor on occasion). Following the advice in this post I tried playing with TILE_BIAS but it just made the player act freaky around the platforms... Has anyone had this problem before? Any ideas how to fix it much appreciated.
  16. zzombie phaser

    ZZombie is an open-source side-scrolling action platform game that is made with Phaser.I created this game for teaching in Basic of Game Programming classroom at Khon Kaen University. Play on Web Browser at http://zombie.devtrainer.net Play on Android at https://play.google.com/store/apps/details?id=phaser.game.twachi.zzombie https://github.com/twachikku/zzombie_phaser
  17. You are jumpy ape Joe! Collect all the bananas, get to the exit, and do it fast enough to get stars that help you unlock more characters! It features 30 levels with a variety of obstacles, 3 stars to unlock on each level and a total of 4 characters to play with. Available for licensing in HTML5 and Flash . You can play it also on Google Play with more levels and skins. For licensing please contact: zed [at] ozdy.com . You can also look at our HTML5 portfolio.
  18. Just quickly a short story before I begin with the description for this game: This game originally started as a graduation project, after graduating we started working on a new version. Worked on this new version for 6 months and never finished it. This is a great example of an overscoped project, however, we did manage to do quite a lot and that's why I'm sharing this game nonetheless since I think that some of you might find this interesting. UPDATE: Managed to scope it down a lot. At the time of writing this there'll be an update near the end of next week. This would bring Tuludo to the Minimal Viable Product that we should've defined better. From there we can start adding fun new features. Now that we got that out of the way: Tuludo is an online game create that is accessible for anyone. It is targeted towards kids who would like to create games but who do not know how to program. The goal of Tuludo is not to teach kids how to program, there're already plenty of websites doing that just fine. Tuludo's goal is rather to have fun with creating games. Features: Create levels by simply drawing tiles. Add interactions to levels using pre-built game objects. Change the behaviour and looks of game objects freely. Easy to understand action-reaction system that allows users to create their own logic for game objects. Save and publish games to share them with friends. Tuludo is of course made with Javascript and uses Matter.js for the physics. Mustache.js and jQuery were used to make the GUI interactions more doable. Other then that there's no engine used. The website itself is built using the Laravel framework. You can check out some of the demo games that were made: Adventure in the dark cave (Small platformer): https://tuludo.com/play/Z8QHSb Lava Tower (Vertical platformer with rising lava): https://tuludo.com/play/pxNPmT Legend of the Puzzle Temple ("Pushing blocks" puzzle game): https://tuludo.com/play/vVHpHz Or you can jump straight into the Editor to try it out yourself (No account or sign up required): https://tuludo.com/editor And if you really don't feel like doing anything you can simply watch this video that I once made (Which was never meant to be shared): So that's it. That's Tuludo. Thought some of you might like seeing it, it's nowhere near perfect but I and my team members learned a lot. Nonetheless, never overscope your projects kids. Let me know if you have any questions!
  19. Carpe Diet

    Play ( Fr / En) : http://www.a-lyrae.com/host/vega/carpediet Jump on platforms to rapidly collect some fishes. Earn medals for your best chains, and set new records. Browser game, for mobile & desktop. Carpe Diet is a free mini game I made in my spare time. More details here : http://www.vega-workshop.com/home/carpediet (I'm not english native, if you notice some weird english writings, please tell me, thx <3)
  20. Tiny Thor

    I'd like to showcase my latest HTML5 game to you - Tiny Thor - a 2D Platformer with 8Bit Pixel graphics. Tiny Thor Play it here: http://www.intermediaware.com/games/tinythor/html5 Available for exclusive or non-exclusive licensing! Features Great retro look Throw the hammer to destroy enemies and surroundings Defeat throngs of enemies and end bosses Collect jewels and coins Solve tricky switch puzzles Purchase awesome special capabilities and upgrades in the store Ingenious chiptune soundtrack I hope you like it. If you find any issues, please let me know.
  21. Hello, A complete newbie here. So, I selected my project within 3 weeks as " Mario like game with level editor" for my college and can only use plain javascript and nothing else. I have done some research and i found that i have to make it on canvas. My logic was to first create a json data and render the map from that and make it playable. Then make an editor where the user can drag and drop tiles which after finished creates a json data, from which the game can render from. But, how do i start on this? Any guidance? How do i render the json and provide collision detection. Also, how to let user create their own level and create the json data. Help is much appreciated, Thank you!
  22. Hi, I'm pretty new to game development. Having looked at a load of javascript libraries/frameworks (Pixi, Melon, Phaser, Lychee, WADE, etc...), I thought I would try to produce a platformer using Pixi.js. I would like to build something that I can customize pretty heavily, so building with pixi makes sense, because I can either build my own collision systems and inbuilt physics, or use separate libraries for them. I'm also considering combining the pixi rendering engine with something like physicsjs. Having read quite a bit through these forums, I couldn't see that anyone had spoken about doing this before. My main question is, do you think this a good idea? Is it overkill? I looked at box2d too, but it seems that developing with either one would be similar(ish). I'm going to make a start on doing this tomorrow morning anyway, as I don't want to hesitate too long before I take the plunge, but I would love to hear of anyone else's experience or objections to doing it this way. Thanks! Dan
  23. Hello! (Note: helpers are all volunteers. There is no payment yet since I don't earn any money myself with the game.) I am working on a 2D MOBA and searching someone to help me with the Pixel art! The game is still in development and soon I will have fixed the major problems so I can start with introducing new things. I need help in following sections: Making a game cover / Main screen Background of the map, ground and walls Character models and skill particles (Characters are divided into 3 parts: Body, front arm and weapon to make them be dynamic) If you have anything else to offer, feel free! I need every help I can get! If you are interested, contact me either in this post or private here: kingdanius.leagueofpixels@gmail.com Also you can play the game and catch a first impression of it -> here on this site <-
  24. Sophias World

    My next game is here for you to check out: Sophia's World Sophia's World is a classic platform game. I hope you like it. On Desktop use your cursor keys, on mobile devices use the HUD overlay I'm still playtesting it, trying to find and fix every bug, so I'd love to listen to your feedback. As soon as I've completed the game it will be available for licensing, so PM me if you're interested.
  25. Hi all. I am an experienced programmer, working on software/games/websites for the past 5+ years. I am looking to work with a talented artist for a platformer game. The engine is 90% done and you will get 50% of the shares. Here is the preview of the game: I expect much better graphics like this. If you cannot do equal or better graphics, please do not reply.