Djurkinthebox's Recent Forum Activity

  • Are there any third party services that can do that? I have hosting with Godaddy, but I'm not too versed with SQL or PHP. I'm sure I could get it working if I had instructions.

  • I've done numerous searches on the Scirra forums for leaderboard and highscore implementation, but I'm still not quite seeing what I need.

    Please forgive me if this has been covered before.

    I'm just looking for a way for my online game to have a basic leaderboard. Top 10, top 20, whatever.

    Problem is, for what I've seen, firebase, nugplay etc are all requiring the player to have to login or register.

    I just need a way for my players to just type in their name before the game starts, play the game, after the game so them their ranking.

    I've tried it with local storage, but it only seems to work on one computer. Say, I have an office full of co-workers playing my game on my server, I want them to be able to see their scores and everyones else's scores at the end of their games. All without having to register or login. Just type in their username.

    Is this possible? Again, sorry if I overlooked something.

  • This is so much fun!

    I suck at it, though. 8 lianas only, for me

  • That's a great idea. I'll give it a shot and report back.

    Thanks!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I'm working on a basketball free throw game with catapult physics. It's working well, except for the fact that if I touch any part of the screen that's not part of the ball, it still acts like I'm aiming the ball. Is there a way to only limit the catapult touch controls to the area around the ball only? It makes it frustrating when I click the Pause button and the ball launches off in a weird direction.

    Thanks in advance!

  • I think I figured it out!

    First, I added a thin line in the hoop.

    When the ball passes over the line, it adds a value of 5 to my variable MakeBasket, which has a starting value of 0.

    Right below that line, I have another thin line that adds another value of 5 to the variable.

    I added a new event that looks for the MakeBasket variable to have a value of 10. If it does, then it registers a basket.

    To keep it from adding a point when the ball travels in the opposite direction, I used gamecorpstudio's advice and made the bottom line a solid, until the ball is currently in contact with the top line.

    Works like a charm! Thanks for all your help

  • Sorry, I should have specified. The game doesn't really have a "player". The ball is launched Angry Bird style at a basket. Sometimes when the ball bounces off the ground, it will pass through the hoop from the bottom. When it does that, the game counts it as a basket. I want it to only count if the ball passes completely through the hoop and only from top to bottom.

  • Hello everyone!

    I've been playing around with a 2D basketball game. I have the physics and the gameplay down. My only problem is, when the ball even barely passes through the hoop, it counts it as a basket. For example, if the ball bounces off the ground and moves through the hoop from the bottom-up, it counts it. Like a reverse basket.

    The way I have it set to score is, I have a thin line sprite that sits inside the hoop. When the ball passes through the line, it counts it as a basket. Is there a better way to do this?

Djurkinthebox's avatar

Djurkinthebox

Member since 25 Dec, 2012

None one is following Djurkinthebox yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies