• Content Count

  • Joined

  • Last visited

About Juan

  • Rank
  • Birthday December 21

Profile Information

  • Gender

Recent Profile Visitors

761 profile views
  1. Juan

    Rounded Rectangle

    Phaser 3 now has rounded rect support. https://labs.phaser.io/edit.html?src=src\game objects\graphics\fill rounded rectangle.js https://labs.phaser.io/edit.html?src=src\game objects\graphics\stroke rounded rectangle.js
  2. Juan

    adding sprite from the result of a server emit

    function addSprites (data){ var sp = data; this.add.sprite(58, 84, sp.name) } what about this?
  3. Juan

    adding sprite from the result of a server emit

    Could you show more of your code? where is that addSprites function? What about this? socket.on("newSprites", addSprites); // usage: addSprites(this, somedata) function addSprites (_this, data){ sp = data _this.add.sprite(58, 84, sp.name) }
  4. Juan

    adding sprite from the result of a server emit

    Try this socket.on("newSprites", addSprites); var _this = this function addSprites (data){ sp = data _this.add.sprite(58, 84, sp.name) }
  5. Juan

    Detect circle collision inside shape

    It works, but the thing is that I'll be using complex shapes, I used this one so you could get my idea.
  6. Juan

    Detect circle collision inside shape

    This is for a game. And yeah. Whenever I load it the circle goes out the shape.
  7. Hello, This is what I'm trying to do: I have a draggable circle inside a shape which collides with its edges (the shape's edges). Any idea of how I can achieve this? I tried using P2 physics with both sprites, but I couldn't make the circle stay and collide inside the shape.
  8. Juan

    First Game Launch - Chickie Can Fly

    Oh yeah! It's ok now.
  9. Hey there, Nice game! I'd just improve the way the character jumps. It should let us move (left, right) while it's jumping, otherwise, it makes it harder for us to jump into the platforms since the jump is inaccurate.
  10. Juan

    To The Capital II

    Shouldn't the clouds effect be disabled on this one? Since it has a snowing weather.
  11. Juan

    First Game Launch - Chickie Can Fly

    You have made a really good start in Phaser, nice game! By the way, it looks like Phaser is failing to load an image:
  12. Juan


    The killcoin function is expecting two arguments but you're giving it none... function killcoin(coin,player) { coin.kill(); } This code line game.physics.arcade.overlap(coin, player, killcoin(), null, this); Should be like this game.physics.arcade.overlap(coin, player, killcoin(coin, player), null, this);
  13. Juan

    Monster Hands

    I'm not a big fan of puzzle games tbh, but this one is cute, though. Good job.
  14. Juan

    [PIXI4] Soccer21

    Played it all night long! Very nice and entertaining game.
  15. Juan

    Hit Moles

    Hello, everyone! This is Hit Moles, my first game. This game is about hitting as many moles as you can in the limited time (1 minute). There are two more characters which are a cactus and a rabbit. When you hit the mole, you score 5 points, when you hit the cactus, it subtracts 5 secs in the countdown timer, But hitting the rabbit will add 5 secs. Preview Demo Feedbacks would be pretty appreciated.