Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Beginning Water


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 tjlahr   Members   -  Reputation: 107

Like
0Likes
Like

Posted 24 August 2012 - 07:14 PM

I'm excited about a game idea I have but I'm new to game development so I feel a little disoriented. I'm hoping somebody can help me with next steps...

I'd like to write a game that gives the player control over a small watercraft in an endless body of water. It doesn't have to be visually realistic and 100% physically accurate. Imagine a toy boat in a cartoon ocean- basically that.

The main problem I'm having is that, as I search around for information, most of articles about water either deal with water simulation (as in enormous particle systems modelling complex fluid dynamics) or water as a visual effect (how to create ripples and stuff like that). I've done enough research to understand that I'd like to fake this as much as I can. Some one on stackexchange talked about using 'force blocks', but I'm not sure what that means.

In terms of experience, I'm a professional web developer and have a ton of JavaScript and Ruby experience. I also work with a handful of smart devs who could help out. But none of us have ever worked in 3D and don't really know where to being modelling this thing. We could build this in HTML5 canvas / JS but I think handling 3D in that environment is going to be tricky. Or, we could grab a game engine like Unity but, at this stage, I don't need a full bells and whistles system.

My goal right now is to build a small piece of moving water and drop simple 3D models in it and have them bob in the waves. Does anybody have advice on:

1) What environment could get us setup with something like this without introducing the overhead of a full-blown "game engine" and
2) Any advice on how to simplify the water / watercraft physics as much as possible so that we can model them with relative ease.

Thanks

T

Sponsor:

#2 DulcetTone   Members   -  Reputation: 103

Like
0Likes
Like

Posted 14 December 2012 - 09:00 AM

I found it pretty easy to start (in Java, with JME3) with a simple sea that was just two sinusoids at angles to each other.

My first floatation was to give my ships four invisible outrigger pontoons that stayed on the surface, and have the ship follow them.
I later moved to having a physically-based one that took the hull model's faces, calculated their centroid's depth, and then the force of the water pressure being exerted through that centroid. It's a good approximation, I'd think, if your hull model is fairly detailed (I used a lower-poly version for this than the one I'd show visually). I never got that one fully under way.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS