Hello, everyone!
As development on Eggs and Bacon ticks away, I've started working on a new idea I had. The premise is that you're a castaway on a desert island, and you need to survive.
- You need to eat to keep hunger up
- You need to drink to keep thirst up
- These both affect your health
- You can make items to make surviving easier (or hider? more fun?)
Hunger/Thirst
Your hunger is a scale from 1 to 10, and you eat to bring it up. It slowly lowers as you walk around and interact with things. If it drops below 4, then your health will begin to go down.
Thirst works the same way, except it begins affecting health once it drops below 6. Right now, the only thing you can eat or drink are coconuts, which come from a tree on the island. The coconut increases both health and thirst by 1.
Making Items
This is one thing which I feel like will make the game really fun. Right now, you can't craft anything, but there is driftwood, which will be a vital part of crafting.
Saving and More
While making this game, I have discovered how to do so many things in pulp that I never knew how or I didn't even know I could do.
One of these is saving. I decided saving was an integral part of the game, seeing as I wanted it to be kind of a real-time game, and, well, it's a survival game. This is one thing I've tried to figure out for a while, but while reading through the PulpScript docs AGAIN (If you're struggling on figuring anything out in pulp, I highly recommend reading through those, because they're very helpful and detail how to do most things) I figured it out. What I had been missing this whole time was I always tried to just use the store
function, but without actually saving the file to persistent storage first. So, that's one thing that is really cool to figure out.
I also figured out how to do the thing were the player is always kept in the middle of the screen, using config.follow = 1
. I plan on eventually adding more islands, fishing, etc. (Other castaways?) But first, FIRE. (also there's a day/night cycle which is really cool)
Thank you for reading!