Search the Community
Showing results for tags 'bomb'.
-
I’ve refreshed an old game I originally developed with Godot 3.5 and completely rebuilt it using Godot 4.5. The new version comes with smooth animated buttons, improved visuals, and plenty of bug fixes for a cleaner, more enjoyable experience. If you’re a fan of classic Minesweeper, you might really enjoy this one. Thanks to a plugin, I also managed to shrink the web build size from 40MB down to around 10MB, making it much faster to load and play. For testing and feedback, I’ve uploaded the game to the GameMonetize platform. If you’re curious, you can find the game link below and give it a try https://gamemonetize.com/minesweeper-find-bombs-game
-
I am trying to create a bomb that only goes off after the player has collides with it but delays for a number of seconds. Currently it goes off immediately I have my collision as below game.physics.arcade.collide(this.player, this.tnts, this.tntCollision, null, this); and the collison handler as below tntCollision: function (player, tnt) { if (player.body.touching.right){ player.body.velocity.x = -200; } else if (player.body.touching.down) { tnt.kill(); var explosionGroup = "explosionSmallGroup"; var explosion = this[explosionGroup].getFirstExists(false); explosion.reset(tnt.x, tnt.y); explosion.animations.play('explode', 30, false, true); } else if (player.body.touching.left) { player.body.velocity.x = 200; } }
