Juan

Members
  • Content count

    15
  • Joined

  • Last visited

About Juan

  • Rank
    Member
  • Birthday December 21

Profile Information

  • Gender
    Male

Recent Profile Visitors

571 profile views
  1. 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?
  2. 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) }
  3. 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) }
  4. 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.
  5. Juan

    Detect circle collision inside shape

    This is for a game. And yeah. Whenever I load it the circle goes out the shape.
  6. 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.
  7. Juan

    First Game Launch - Chickie Can Fly

    Oh yeah! It's ok now.
  8. 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.
  9. Juan

    To The Capital II

    Shouldn't the clouds effect be disabled on this one? Since it has a snowing weather.
  10. 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:
  11. Juan

    overlap

    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);
  12. Juan

    Monster Hands

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

    [PIXI4] Soccer21

    Played it all night long! Very nice and entertaining game.
  14. 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.