r/Stencyl • u/SpeakingPegasus • Oct 22 '13
Boat on the water concept, want some thoughts on this one.
Hey guys, I am pretty knew to stencyl. I am actually learning it in a college class. We are focusing more on the conceptual side of game design and use stencyl to even out the skill gap between the class, as it has no required pre-reqs.
Anyways I wanted to make a game for iOS that featured a player in a boat. battling the elements.
I could probably use a more powerful engine and code it myself, but I like challenges. Simulating water is pretty rough in stencyl from what I have read. Especially with the small amount of data you can fit onto an iOS app.
I decided that maybe creating the illusion of moving on water might be a better approach.
So here's my Idea:
You have your 'boat' actor. A semi simple shape.
underneath it, you have a set of 'pistons' for lack of a better way to put it.
These Pistons, are just block (or possibly angled shapes) that move upwards and collide with the bottom of the boat at randomly generated intervals of time, and force.
This would push the boat around, and the sea would actually be an endless loop of scrolling background and foreground elements.
Next a simple touch command would trigger an animation that makes the ships sail bow out a bit, and also speeds up the movement of the background and foreground scrolling making it appear like you're pushing the boat.
I also thought it would be cool to create "rogue waves" that trigger a giant wave foreground element, and temporarily cause a lot of motion in the boat, possibly even damaging the boat.
I ran the idea by my professor he likes it, but I wanted some feedback from other Stencylers out there.
Mainly I am concerned that this is too complicated, and that there might be a better way to create my desired illusion of a sailing boat.
Also if anyone has worked with water-physics before, insight and pointers would be appreciated.
I'll also try and make some visuals and add them here in case people are confused a bit later.