Jump to content

Need guidance in making game involving gravity


yurqo
 Share

Recommended Posts

I'm about to make a hyper-casual game for mobile devices, haven't decided yet what engine to use for native app but current prototype is built using pixi.js since that's a tool i'm most familiar with. Basic gameplay is revolving around nodes (let's say planets) and a ball that is rotating around a node, can detach from it, go to free fly and attach to another node if it's close enough (like a small space object that get's into gravity field of another large object). Right now i'm not using any physics engines but would like to simulate some gravity behavior in a more realistic manner but leave some other aspects in a simplified manner. Can you provide any guides, books or anything else that would help to dive into the problem of realistic and not so gravity imitation in games? Thanks in advance!

Link to comment
Share on other sites

If you just want to simulate movement and forces (no collisions) you can try a Verlet physics implementation. It's not complicated to implement, very lightweight and you can very get nice looking movements.
I have a free asset for GameMaker with a Verlet implementation, not sure how helpful it would be to you since you're using a different engine but feel free to poke around it https://marketplace.yoyogames.com/assets/5239/verlet-physics-and-examples

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...