Search the Community

Showing results for tags 'game mechanics'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Coding and Game Design
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. Hey Guys, My goal is to create a top-down 2d racing game (if the title didn't give it away). I've done a bit of Googling for examples of this mechanic, but haven't found any (yet). On the other hand I've found a lot of "spaceship" mechanics and have been tinkering with it, but couldn't get where I wanted. My intention is to have a minimalist racing mechanic, acceleration/velocity, braking and drag. Oh, and steering. That's the problem, actually. I have used both "velocity/accelerationFromRotation" and modifying the acceleration with Math.cos/sin on rotation. I feel like the issue may be related to reducing the velocity/acceleration while steering (turning left/right), but that didn't work quite well, also. Finally, I'm not asking for dumb copy/paste code per se (but as this may be very basic, I would not dismiss it), instead I would like to know more about the theory, and then try to code it myself. p.s.: If everything goes well I'll write a tutorial and share it.