Search the Community

Showing results for tags 'arcade'.



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 323 results

  1. Alien Invasion

    Hello everyone I'm creating a new game and I have the basics working. It would be really nice to hear what you think. The game is still under construction but you should be able to play the first level of each mission I am working on the next levels. It is still under construction but i hope to be able to create a fully working version. here is the link: https://sharesoft.nl/phaser/alienInvasion.php?language=en
  2. Pymp Pymp is a colorful, fast-paced arcade game with two game modes. In the first mode, "Avoid Mode", you have to avoid the rectangles and collect the triangles in order to proceed. In the second mode, "Collect Mode", you have to pass through rings. If you make one mistake in either mode, the run is over! I tried to make the game challenging enough for most players. As you progress through the levels, the colors, designs and difficulty change. Try to reach as far as possible, it's worth it! As a side note, the graphics are made using only the drawing functions of the Canvas 2D API. No external images or 3D libraries are used. You can play the game here: http://www.kongregate.com/games/Diamonax/pymp http://www.newgrounds.com/portal/view/697620 I really hope you guys enjoy it!
  3. Hi there, I have two groups, each one with 50 item placed randomly in the stage. I need to check if any of the items of group1 overlaps with any of the items of group2 (and then, destroy it) but I´m doing something wrong as all the elements of group 2 are being destroyed, it´s like is checking object1 with the whole group2... how can I check items by item? I have this code (not working properly) function checkOverlaps(group1, group2){ group1.forEachAlive(function(obj1){ group2.forEachAlive(function(obj2){ var boundsA = obj1.getBounds(); var boundsB = obj2.getBounds(); if(Phaser.Rectangle.intersects(boundsA, boundsB)){ obj2.destroy(); } }, this) }, this) },
  4. Hi there, I have a basic game where the player jumps from a building and must fall into different platforms during the falling to avoid crashing directly with the ground. The thing is that those platforms should have some bounce, I mean, when the player falls into those platforms, it should rebound like if they were some kind of elastic stuff... the problem is that as the platform has body.immovable = true it seems that body.bounce is not working at all, and I can´t apply body.bounce to the player because he should rebound only on those platforms, not on every single object. I have the world with a global gravity and those platforms immovable and with their gravity.y = -that global gravity, is this the best way to to this? Any other way to create purely static objects?
  5. Phaser Arcade Slopes Plugin

    Hello everyone! I thought I'd share something I've been working on for the past few weeks. A plugin for Phaser that provides collision handling for sloped tiles and half tiles, similar to Ninja Physics but somewhat more concisely. Check it out on GitHub, give it a whirl, let me know what you think! Github: https://github.com/hexus/phaser-arcade-slopes Demo: http://hexus.github.io/phaser-arcade-slopes/ It's still early days for this project, as I've only just released v0.1.0-alpha today, but I look forward to continuing fleshing it out. Why did I make this? I've been intending to make a 2D platformer with Phaser for ages, and I knew I wanted it to have sloped tiles to allow for a liberating way to traverse the Y axis, but I couldn't find anything that worked the way I want it to. I experimented with Ninja Physics, but it's deprecated and its limitations left me wanting. I tried P2, but it was too much in terms of physics for me, and I didn't want to tame a beast like that. I started searching these forums to see if anyone had managed to get sloped tiles working in Phaser, with some success, but not completely. The solutions wouldn't allow for completely free tile placement, and they just stuck physics bodies to the slopes and left it at that. So, with a somewhat limited understanding of the maths I'd need to learn to achieve what I wanted, I started reading tutorials about the Separating Axis Theorem (SAT), particularly the ones from Metanet and one I found magically through a Google search. After experimenting with SAT.js in Phaser, I decided that I could totally pull off my own plugin to solve this the way I wanted it to be. With lots of learning, but with a clear vision of how I wanted the plugin to work, this is what I've managed! I have lots more features planned, as you can see in the roadmap, but for now I'm just glad I've built something that can be plugged straight into any Arcade Physics project that just works. Screenshots
  6. When I started to play around with the Phaser API, I wanted to tackle the challenge of creating a realtime game with multiple players. I decided to use the PubNub multiplayer framework for the realtime functionality and it worked extremely well. I put my entire project up on Github and you can try it out by clicking HERE (open up two browser windows to test real time functionality). PubNub provided me with low latency with message delivery happening in less than 250ms and Phaser is super lightweight which allows it to work in mobile browser and even on low end computers. The entire project took me a few weeks to develop but most of that was just optimizing the game to send the least amount of messages possible. I wrote a step by step tutorial if you want to try to make this yourself in Phaser, you can checkout the tutorial HERE.
  7. hi, because some issue, so i using group to create sprite as my colliders. var octopus; var colliders; var col; function create() { octopus = game.add.sprite(300, 200, 'octopus'); colliders = game.make.group(octopus, 'colliders', null, true, Phaser.Physics.ARCADE); octopus.updateTransform(); col = colliders.create(0, 0); col.body.setCircle(30, -30, -30); col.body.reset(colliders.worldPosition.x + col.x, colliders.worldPosition.y + col.y); game.debug.body(col, 'rgba(255,0,0,0.5)'); } function update(){ game.debug.body(col, 'rgba(255,0,0,0.5)'); } in the example, the body will flash to another point and then go back to the correct position. if i try to use Arcade Physics's overlap in two group. although two group is not overlap. that still cause overlap event. sorry about my english is not well
  8. Move bullet toward player direction

    Hi guys, I've searched but I didn't find any answer. May be I didn't know exact search keyword to navigate me to the answer. My question is, if I have a player sprite that dynamically change its direction (always in rotating left & right) then I want it to shoot toward its direction (not toward mouse pointer or any object, but its direction, its front), what should I do? I've tried to use game.physics.arcade.moveToXY but I don't know how to calculate the x & y for it. Thank you.
  9. Solving arcade physics issue

    Hi, I'm developing a game, where I build a maze out of a grid. For each cell, I created a sprite with a physics body. The problem which I am facing, is when I "press against a wall and drag". Here's a gif with the issue: http://g.recordit.co/D4XLCSUz8G.gif I don't know what it is causing it, because it doesn't happen all the time. Does anyone knows? Thank you!
  10. My last game, Faraon, created live, about 35 hours of video.Playable from any browser, smartphones, iphones, mac, pc, tablets etc...Rescue your friend through the dangerous rooms hidden in the pyramid of Pharaoh.Test your skill in this fun platform game, Are you a hero? Prove it.Funny and fast platform game.- 55 levels.- 3 different finishes.- Easy to play, one-touch control.- Many traps and enemies await you in the pyramid.- Great and original soundtrack.- Adapted for keyboard and touch screen.- Playable from any device.- Pixelated graphics. Faraon trailerPlay on Itch.IO: Faraon Itch.ioPlay on my Web: Faraon
  11. Hi, I'm using a tileset for my maps. Not all tiles fill their whole square though, like the top and bottom blocks there, for example. The player character is a simple square guy. Here's my problem : for example in this part of one of the map, as long as there's one tiny bit of rock in a tile, Arcade will consider the whole tile should detect collisions. Meaning the player will effectively bounce back against thin air. To have more precise collisions, I'd like to have the character using Arcade physics as it's a simple square and I don't need anything fancy for its physics, and I'd like to use P2 to add detailed physics for collision with the "not entirely filled" map tiles. Is that even possible ? How would you go about doing it ? For now, I've made a json file with physics applied to the whole tileset (using PhysicsEditor) and imported it in the preload method of the Preload state like that : //Preload.js InteractiveResume.Preload.prototype = { preload: function() { //... //load Tiled map this.load.tilemap('grottoMap', 'assets/tilemaps/testGrotto.json', null, Phaser.Tilemap.TILED_JSON); //the terrain tileset and its physics this.load.image('mainTileset', 'assets/png/mainTileset.png'); this.game.load.physics("mainTileset-physics", "assets/json/mainTileset-physics.json"); } } I setup my game maps with an external method located in a "global namespace", the method looks like this : //gameFunctions.js var funcs = { mapSetup: function(map) { config.currentState.map = config.currentState.game.add.tilemap(map); //the first parameter is the tileset name as specified in Tiled, the second is the key to the asset config.currentState.map.addTilesetImage('mainTileset', 'mainTileset', 16, 16); //create layers config.currentState.firstBackgroundLayer = config.currentState.map.createLayer('firstBackgroundLayer'); config.currentState.secondBackgroundLayer = config.currentState.map.createLayer('secondBackgroundLayer'); config.currentState.blockedLayer = config.currentState.map.createLayer('blockedLayer'); //resizes the game world to match the layer dimensions config.currentState.firstBackgroundLayer.resizeWorld(); config.currentState.secondBackgroundLayer.resizeWorld(); config.currentState.blockedLayer.resizeWorld(); //collision on blockedLayer config.currentState.map.setCollisionBetween(1, 100000, true, 'blockedLayer'); config.currentState.game.physics.p2.convertTilemap(config.currentState.map, config.currentState.blockedLayer); } } (I had to define a global variable 'config.currentState' to access the 'this' keyword representing the current state outside of it, if anyone knows a better solution I'd be very thankful as its quite heavy to use) And then in my Grotto state : // Grotto.js InteractiveResume.Grotto.prototype = { create: function() { //Creating the map, player sprite and everything... //setup Arcade physics for the player character this.game.physics.arcade.enable(this.player); }, update: function() { //collisions this.game.physics.arcade.collide(this.player, this.blockedLayer); //... } } Could anyone point me to the correct direction here ? I must admit I'm totally lost
  12. I have a top-down game where I want most objects aligned to tiles. They can be moved(by having a velocity applied to them) but when they do they need to end exactly within a tile when they are stopped. Let's say I have a sprite that is moving across the screen and it detects that the next tile it will try to enter is occupied by some other object. In that scenario I would like to manually stop the sprite at exactly the location of the tile it's in. Currently I have collision on blue and red in the picture and blue would then be manually aligned at the previous tile which looks bad animation wise as it sort of jumps backwards. So what I think I need is a sort of predictive method where before blue enters the next tile it checks if that tile is occupied and if so stops. Any suggestions on the best way to handle this?
  13. Hello there. I am dealing for a long time with this issue. I am making an endless runner where platforms are made from small chunks (each 32x32 square). Character should fall down, not stop on the wall. This also happens when chunks don't have any velocity, until I add if( this.body.touching.right ) { this.body.velocity.x = 0; this.body.acceleration.x = 0; } to the player sprite. When I don't apply velocity to the chunks but instead say this.left -= 10 on chunk group in update the things are get more weird I guess that has to do something with chunks, am I doing this in wrong way? Each platform is a group, to which I add those chunks export default class Platform extends Phaser.Group { constructor(game, _) { super(game); const defaults = { startX: 0, startY: game.height - 64, width: game.width * .3, tileLevel: 1, tileFrame: 8, }; this.state = { extended: false }; _ = Object.assign({}, defaults, _); this.physicsBodyType = Phaser.Physics.ARCADE; this.enableBody = true; // Y axis for(let y = _.startY; y <= game.height + game.global.tileSize; y += game.global.tileSize) { // X axis _.tileLevel === 1 ? _.tileFrame = 8 : _.tileFrame = 1; for( let x = 0; x < _.width; x += game.global.tileSize ) { this.create(x + _.startX, y, 'tileset', _.tileFrame); } _.tileLevel++; } const BODY_OFFSET = 4; this.forEach((child) => { child.body.immovable = true; child.body.allowGravity = false; child.body.offset.y = BODY_OFFSET; child.body.friction.set(0); child.body.velocity.x = -10; }, this); } update() { // Spawn another platform if ((this.left <= this.game.width) && (!this.state.extended)) { this.state.extended = true; this.game.global.spawnPlatform.dispatch(this.right); } // Destroy when off bounds if(this.right < 0) { this.destroy(); } } } Best regards.
  14. Hello, I am using Arcade Physics to do a very simple test. But I could not figure out what goes wrong. I have a player, a ground, a ledge, and a block. Everything is enabled with Arcade Physics. The player can move horizontally and "push" the block down the ledge. Its good. But when the player "jump on" the block, the block will "go through" the edge and fall down to the ground. Its not what I want. When the block is on the ground, and the player "jump on" the block. It will also "go through" the ground. Its not what I want. The block should be "on the ground", and should NOT "go through the ground". My English is poor, please see the following videos for what I mean. http://recordit.co/9PT0X6o4Qu When turn on game.debug.body(), it looks like this http://recordit.co/WXEolzfO2G The code is very simple. player: this.player = game.add.sprite(x, y, 'dude'); game.physics.arcade.enable(this.player); this.player.body.gravity.y = 2000; this.player.body.collideWorldBounds = true; Ground and ledge: this.platforms = game.add.group(); this.platforms.enableBody = true; let ground = this.platforms.create(0, game.world.height - 24, 'ground'); ground.body.immovable = true; ground = this.platforms.create(400, game.world.height - 24, 'ground'); ground.body.immovable = true; ground = this.platforms.create(-100, 350, 'ground'); ground.body.immovable = true; Block this.block = game.add.sprite(270, 100, 'ground'); game.physics.arcade.enable(this.block); this.block.body.gravity.y = 2000; Update() game.physics.arcade.collide(this.block, this.platforms); game.physics.arcade.collide(this.block, this.player); game.physics.arcade.collide(this.player, this.platforms); Please tell me what I did wrong. Thanks you very much.
  15. Arrow Archery Hunting

    Shoot the arrow to the center of the target. More closer you hit, more scores you get. Each time you hit right to the middle of the target balloon board, you may get a 2 bonus arrows. Download Android : https://play.google.com/store/apps/details?id=com.archerybow.arrowshooter Game made using with bow and arrow. bird is spritesheet for flying and there is 5 ways of birds to fly using random time duration...and when arrow hit the bird destroy partical effects. it store high score and display users
  16. Spiky. Arcade game.

    Spiky. http://antongames.com/spiky The bird running left to right trying to avoid spikes on the sides. There is candies you will catch. The aim is to beat the high score. The "thing" of the Spiky game is you having random abilities and features for every game round. As such. 1) The Hart. One spare life. 2) Surprize box. Exists 8 seconds on the field. It has 3 to 5 candy points. 3) Double candies on field 4) Triple candies on field 5) Magnet. To attract nearby candies. Also this features can be combined. Two or three at the same time. At the start of the game you are presented with square board of 9 random features (harts, boxes..). Spin the wheel and get random feature or two, three of them. Every spin costs 5 candies, so you have reason to catch more of them. PS. If you want to buy sitelock or sponsor this game. This email anton644034@gmai.com
  17. Hello! I'm selling my new HTML5 game "Neon Snake" - http://powerthemes.eu/snake/ It was never published before. It has 30 levels and takes at least 40-60 min to win all af them. And it also has endless mode, where players can make high scores. Contact me if you are interested. Best regards.
  18. Phaser Arcade Physics in Node.js

    Hi, i'm curenttly working on a multiplayer game build with Phaser 2.6.x, and for like 2 weeks i'm strugaling to initialize on node.js only the Phaser Arcade Physics, but i can't find how. Anybody ever tried to run Arcade Physics by his own ?
  19. Hey there! Catacomb Chaos is an endless action arcade game where you try to survive against unrelenting waves of skeletons. You can loot gold and purchase potions for your next life. Let me know what you think! Play here: https://sambrosia.gitlab.io/catacomb-chaos/ I learned some neat stuff making this. Engine design, ECS, and steering behaviors are some of the cooler things I experimented with for the making of this game.
  20. [WIP] Old school shoot em up

    Hi, I have an arcade game in development. The game isn't hosted online anywhere just now but it will be on completion at my arcade playstar.mobi Here's a few screens. You can also see a video of the game running on YouTube: The game is written using vanilla JS. It's a cool project as it's involved creating a level editor that outputs a ton of JSON. The data is stored in a MySQL database and I wrote a web front end for dragging and dropping the entities into place. Each entity (sprite) has a load of parameters which really warranted the level editor as manipulating data in a text file is a pain! The resolution of the game is 640 x 960 but scales to the device using CSS vh and vw. The artwork is drawn in Photoshop to 320 x 480 and scaled using nearest neighbour on export to present the retro pixelated effect at 200%. Hope you guys like the look of it. It'll be done end of June.
  21. Hello there! I'm Zombie Derby arcade racing game series developer, and I'm gonna make you an offer you can't refuse. 3D side-scrolling shoot-em-up, ZD and ZD2 have multiple modes of play including an endless survival mode and a random races. There’s plenty of destructible environmental elements as well that are guaranteed to help you let off steam after a long day. Not just strategy or advanced gameplay here: but also raw, bloody fun. Here are the links to give you an idea about my games: http://zombiederby.com/part_1/ http://zombiederby.com/part_2/ Both of games are optimized for WebGL: Zombie Derby 1 (WebGL): no public link. Zombie Derby 2 (WebGL): http://www.kongregate.com/games/BrineMedia/zombie-derby-2 And I'm ready to bring my games to you adjusting them as quick as you'd like them on non-exclusive license for advanced fixed payment. Contact Us: Contact form: http://zombiederby.com/support/
  22. Trouble with collission

    I am trying to make a simple game where you are a ball and have to avoid objects. My code is available here: https://jsfiddle.net/skpvjoxb/ My problem is in line 69: I try to make collission between the player (sprite) and one of the enemies (enemy), but it doesn't work. Anyone can figure out how to make collission between enemy and sprite/player? Thank you so much
  23. Hi All! I'm a single indie game developer who has released games on steam, android, itch.io, gamejolt and kongregate etc. Though I felt like I hit a problem when it came to monetizing web games. I found with mobile games, advertising was the best way to earn. So of coarse earning from ad's with your small HTML5 games should be the best way to earn from web games but sites like kongregate only give you on average 25% of ad earnings. While even though I personally love Itch.io for selling games, you can only earn from donations when it comes to web games. Leaving you with the only option of hosting the games yourself, which means you are alone in driving traffic to your games. So I set out to not only design a platform that allows developers to earn from ad's (adf.ly ad's). A platform which is easy to use, quick to sign up and allows you to instantly publish your games online. A platform which is 100% mobile friendly allowing players to play your games on far more devices. Best of all, you will earn 100% from your game's players. https://play.idevgames.co.uk The play arcade is completely free and allows you to get your game online and start earning within minutes. It is the simplest and quickest way to start earning from your games with ad's. No need for API's, it's all built into the site. Also I want to make the point that I do not earn anything from the site currently, I built the platform originally for my own game's and because this was something that I wanted from a web based platform. I will also never charge for this service or forcefully take a percentage of your ad earnings in the future. The site is still being developed but is fully functional with some pretty cool features too, like: Embed your games easily on any site and still earn from every player Allow your players to give you donations through paypal Allow your players to subscribe to your patreon Turn off ad's at any time and turn them on again... Even choose the frequency your ad is displayed People can review your games Publish your games to the site instantly Keep your game private when testing The site is growing everyday and I hope you decide to take a look. Thanks, -iDev
  24. New FREE HTML5 Games Arcade

    Play FREE online HTML5 games in your browser! http://www.softwareamusements.com/family.html #HTML5 #Games