• Content count

  • Joined

  • Last visited

About zelcard

  • Rank

Recent Profile Visitors

549 profile views
  1. [Phaser] Copter Rescue

    Thank you guys! There are also some new, cool gameplay features on the higher levels if you manage to reach them
  2. [Phaser] Copter Rescue

    Hello fellow game devs, I have made this game Copter Rescue in the recent few weeks, you can check it out on the this link: http://goo.gl/sCcnu2 Also contacted a few HTML5 game publisher and hoping that I will get a few offers for exclusive or non-exclusive licence, what do you think would be a fair price for a game like that? Thanks for your answers and your time. Feel free to discuss the game and what you like/dislike, I'm open to any kind of criticsm. Regards!
  3. Generate random integer problem?

    Yes! Works like a charm. Thanks!
  4. Generate random integer problem?

    Hello, I'm creating endless style game and I'm planning to reuse already existing sprites instead of creating new ones. My sprites are coming from the top moving towards the bottom of the screen, when they reach bottom I reset their position.y to 0 which brings them back to the top again, but I also wanted them to have random position.x every time they start again from the top, I called this function: obstacles.forEach(function(obstacle){if(obstacle.position.y > this.game.world.height){obstacle.position.y = 0; obstacle.position.x = this.game.rnd.between(0, this.game.world.width);}}) And after trying it out I got this error from the developers console: Is it even posibble to call this.game.rnd.between from the update? If not what is the solution for that? Thanks!
  5. [Phaser] Jelly Jump

    Hey mwiss and thanks for the feedback, it is much appreciated! Adding moving enemies seems like a really nice idea actually, maybe to add some birds flying around, I will definitely look into that. Also if there are enemies in the game it would be cool to add something like a special shield that could be brought from the store which doesn't allow you to die instantly. Cheers!
  6. [Phaser] Jelly Jump

    Another game that I have created for fun using Phaser using the free graphic packs that I got from http://dev.siligame.com/assets A simple One-Button gameplay but fun enough to keep you going on I hope. Here is the link so you can check it out. Let me know what do you guys think and how could I improve it. Thanks! http://tinyurl.com/j8gnn2s
  7. [Phaser] Gold Diving

    Thanks for the feedback! I am currently working on an explosion animation that should play once the player got hit, that should make game over to not appear that sudden. Also bubbles coming out of the back of the submarine seem like a really nice idea, I'll look into implementing that. Thanks!
  8. [Phaser] Gold Diving

    Hey guys, this is one of the games that I made recently with PHASER called "Gold Diving". Simple endless runner concept set in the underocean enviorment, check it out on the link below: http://tinyurl.com/gwl9t66 Please let me know what do you guys think and how could I improve it. Thanks!
  9. Sprite direction

    Thanks man, that was really helpful. I solved it using Arcade Physics and setting players rotation (onCollison) to arcade.angleBetween(circle, player)
  10. Sprite direction

    Hello guys its me again with another noob question. I have a rotating circle and when player sprite collides with the circle they both start rotating together, the thing I want is when the button is pressed the player sprite jumps away from circle. So how do I make player sprite always facing direction from the circle and not in the circle. Please check out the example below: The red arrow is player sprite that is rotating around the black cricle, number one example is how it works now and example 2 is how I need it to work. I need player sprite to "turn its back" to the circle no matter from which side they collide. Thanks for your help and sorry for the lack of information, I know this may be very confusing but I really dont have idea how to put this question right, but I gave it a try.
  11. Collision detection in group

    It works, awesome! Thank you very much!
  12. Collision detection in group

    create: function() { platforms = this.game.add.physicsGroup(); for (var i = 0; i < 5; i++) { platform = platforms.create(this.game.world.centerX, this.game.world.centerY + 300, 'platform') platform.anchor.setTo(0.5, 1); this.game.physics.enable(platform, Phaser.Physics.ARCADE); platform.body.immovable = true; platform.body.checkCollision.up = true; platform.body.checkCollision.down = false; platform.body.stopVelocityOnCollide = false; } player = this.game.add.sprite(this.game.world.centerX, this.game.world.centerY + 260, 'player'); player.anchor.setTo(0.5, 1); this.game.physics.enable(player, Phaser.Physics.ARCADE); player.body.gravity.y = 150; player.body.collideWorldBounds=true; player.body.checkCollision.up = false; player.body.checkCollision.left = false; player.body.checkCollision.right = false; player.body.checkCollision.down = true; }, update: function() { platforms.forEach(this.checkPosition, this); this.game.physics.arcade.collide(player, platforms, this.addScore, null, this); }, checkPosition: function(platform) { if(platform.body.touching.up == true){platform.body.velocity.y = 100;} }, I'm trying to call body.touching.up for every platform that is in-game but it doesn't seem to work. Am I doing something wrong or is this even possible to do using platforms.forEach function? Please note that this is just a part of the code but the basic idea is that I launch player sprite and when it lands on platform, the platform starts to move. I understand that I can do this by checking if player is touching the platform, but I want platforms that are not colliding with player do something as well. Thanks.
  13. Rotate two sprites together

    Thank you very much, both of you. I'll try to work something out with the information you have provided. I'll let you know if I manage to put it together. Thanks!
  14. Rotate two sprites together

    I'm going with P2 Physics since they support more complicated shapes than Arcade Physics.
  15. Rotate two sprites together

    Hello guys, I'm trying to make a game similar to Jump Nuts here is a video: I'm stuck with making my player sprite stick to the wheel sprite(on collision) and rotate along with it, what do you guys think would be the easiest way to do this? The thing I have tried is setting the same pivot point (on collision) for both player and wheel sprite but the player sprite just dissapears from the screen. Thanks.