I need some advice on adding airships to my game. It's an original idea, I know. I'm not sure what the best way to do it is. Here's what I've come up with.
Make an array that stores the x and y of every single obstructed tile and use SetObs() inside a loop whenever the player enters or exits the airship. (Removing or restoring the map obstructions, respectively)
Use zones instead of obstructions. I'm not sure if this would actually be feasible. I suppose I would need to disallow movement in a particular direction when the player comes into contact with a particular zone and is not on an airship.
This happens to be a screenshot directly from my game. Look for it in the Gallery section soon.
For ocean-going ships, I suppose could have a very small obstruction tile and a zone that would activate upon pressing b1, repositioning the player on the other side of the obstruction, on land.
######
# #
# P #
##/\##
##||##
#----#
# S #
######
This is also a screenshot from my game. P is the player, S is the ship.
So those are my ideas. I'm not so sure the last two would work. What would you do? What would Jesus do? WWJD? How would Jesus implement airships in his game? HWJIAIHG?
Sorry, I got off on a tangent there. Anyway, how would you do it?
Thanks!