Run your own fantasy world inn.

Serve ale. Share rumors. Tell jokes.


Rob your guests…??


Well, maybe just a little.




A micro-RPG with light sim elements, a dash of sleuthing, and some "creative" cooking. Spy on your guests while you serve them. Eavesdrop on their conversations. Use jokes and banter to set them at ease. Then, uncover their secrets, and find out what valuables they have. Late at night you’ll be paying some of them a visit, wiggling rings from fingers and rifling through backpacks.


Features

  • A visually detailed play space with day and night phases and atmospheric lighting.

  • A unique vanishing-point perspective with cut-away walls and floors.

  • A host of individually hand-crafted guests.

  • A challenging core game loop.

  • An unfolding narrative which responds to player choice.

  • Musical tracks that are incorporated into the game, played by the bards you hire.

  • A cooking system.

  • The ability to collect and share rumors, stories, and jokes.


If you want notifications about innkeep development you can sign up to to the mailing list (link at the bottom of the game page.) You can also watch dev diary videos on youtube, catch the latest developments via twitter, and chat with the game community on discord.

  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
Post article RSS Articles

boombababoom

Hi there fellow Makers of Games and indie game aficionados.

I’ve had some positive comments from people about the lighting effects in my game, along with a few asking about how I did it. So, I thought I’d write an article about how my lighting system works, pitched at a fairly basic level (Translation: sometimes lightly technical, but no specific code, and with pretty pictures.) My hope is to….

  1. Give people interested in the game some insight into the work going on behind the scenes.
  2. Give people working on 2D games a few ideas they might want to try out.

So let’s just jump in, and start looking at some examples. First, window light.

sunset

Not too bad looking, right? The secret is that this part is actually technically pretty simple.

The first thing that is going on is that each bedroom has three sprites.

bedroomspritevariation

What is going on here is that we draw the dark version of the bedroom, then on top of that, we draw the sunset and daytime versions, and as the sun sets in the evening we drop down the transparency of the daytime, and then the sunset sprites. That way you have a nice smooth transition from daytime to evening. It needs a few more effects to really polish it up, but this is the foundation. (Now, as this is something I knocked up a few years ago, I made the mistake of “baking in” some daytime and sunset glow with those first two images. That means that the glow is not a separate image that can be layered on and tweaked, but is fixed in place. Not really a good idea! Keep your layers separate and you have more control.)

But of course, that’s not all that is going on. As you can see in that first GIF, the room gets darker than what we see with the final bedroom sprite. And of course, the player is also getting darker. This is where shaders come in. That’s just a fancy way of saying that we are “drawing” the regular sprites on the screen, but in an irregular way, using some code.

In this case, the code is super simple. All I am doing, is drawing a dark layer over everything.

shaderexample

Here you get the basic idea. We have the regular sprite, and then we use a shader to draw a pitch black version of that sprite, the transparency adjusted, on top of that regular sprite. The effect is that we have a darker looking player. This is then being done for every sprite that you can see. What I have in the background is a simple value that is used to determine how strong that dark layer should be. I call it “Ambient Darkness”. So when it is very late at night, we are drawing at 0.8 transparency (think, 80%, with a value of 1 being 100%.) But during the day, we are drawing at 0 transparency. Everything is very visible.

Now of course, for some games with a side-on platformer perspective, you could cut some major corners. Think Terraria for example. You can just layer a black square over the whole screen, and “cut out” holes in it for lights. With Innkeep though, we have a perspective that requires the treatment of lighting at the level of individual sprites. This does pay off down the road. Take a look at this.

windowlightexample

So, here you see that the player is getting lighter when they stand in front of the window. How does that work? Well, as we have direct control of how bright each individual sprite is, we can find ways to tweak that brightness in a way that works together with ambient light. In this case, I am talking about lightmaps.

lightmaps

These gray sprites are not usually visible in game of course. But behind the scenes the player sprite is reading how the value of the particular pixel in that sprite (dark or light), and using that to help determine how bright the player should be. Here, the dark parts are actually brighter when it comes to drawing the player!

We can use the same system for candles.

candlelightexample

Here, we have a light map just like by the windows. The game is drawing the player quite dark already, because it is late at night, and so the “ambient darkness” value is around .78 (The candle being lit does help! If everything in the inn was lit, including the fire, then then ambient darkness would only be around .56 or something.) The game then checks the shadow map to find out how much “variation” from the base level should be occurring.

Fitting these two things together is a liitle bit more complicated. The issue is that we cant simply add or subtract the difference, as those “gray” parts of the shadowmap are still returning a value of 0.5. If you were standing in that gray, and then it got dark, and you simply added more darkness, the player would be pitch black. So instead, we need to calculate how much “divergence” is going on from that 0.5 gray value, either positively or negatively, and work with that. Turning 0.5 into a “neutral” point where we are just going by what the ambient darkness level is telling us. Here’s a bit more detail for those who are interested in the technical side of things.

innkeeplightingsystem

Building on these principles, you can do some pretty neat stuff. For example, you can fluctuate a little the light difference caused by the candles and the fireplace, so that when the player or the guest are standing nearby, they flicker together in the same way. I think lighting like this really helps to make it feel like these different sprites are sharing the same space.

flicker

And that about wraps it up! If you are interested in following the development of the game more closely, consider following me on twitter, or joining our discord channel. You can even support the development of the game over at Patreon and receive some neat rewards.

Thank you all for reading! See you again in 2019.

Innkeep - The Road Ahead

Innkeep - The Road Ahead

News

When is this dev going to start making the actual game already? Read and find out.

Innkeep - A Closer Look (Stable Floor Cobblestones)

Innkeep - A Closer Look (Stable Floor Cobblestones)

News

An overview in three easy steps of the process I took in creating a simple cobblestone floor for some stables in Innkeep.

"For There Is Always Something Down There..."

"For There Is Always Something Down There..."

News 1 comment

"...in the dark, waiting to come out." Greetings all! Recently work has starting drawing to a close on another decent sized addition to the Innkeep! play-space...

Spit n' Polish

Spit n' Polish

News 2 comments

Greetings! As part of the update to the new look for the interior of the inn, I’ve been working on updating the previously existing furniture. This...

Comments
NoahLoganVO
NoahLoganVO

The dry sense of humor surrounding this game is intoxicating (no pun intended). Hope development is going well for you!

Reply Good karma Bad karma+2 votes
BeerDrinkingBurke Creator
BeerDrinkingBurke

Thank you. ;-) I hope to bring some of that to the writing in the game, without overdoing it. Check out my twitter feed for frequent updates.

Reply Good karma+2 votes
JillValentine69
JillValentine69

I like micro management games and career/Life sims similar to this. keep up the work ill be keen to try this when you can release a build!

Reply Good karma Bad karma+2 votes
BeerDrinkingBurke Creator
BeerDrinkingBurke

Thanks! It's been quite slow going, but I'll get there in the end.

Reply Good karma+2 votes
baspatolivas
baspatolivas

It looks awesome, the idea is pretty cool too, I suppose it'll also have comedy, right?

Reply Good karma Bad karma+3 votes
BeerDrinkingBurke Creator
BeerDrinkingBurke

Hi. Sorry, I only just saw your comment. I'd like to try and have comedic moments stem from the gameplay as much as possible. Gunpoint for example is a very funny game, not only in the dialogue but the play itself. If I could capture a bit of that feeling I would be super happy.

Reply Good karma+1 vote
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Follow Report Profile
Icon
Innkeep
Platforms
Windows
Contact
Send Message
Homepage
Innkeepgame.com
Release date
Game watch
Follow
Share
Style
Genre
Role Playing
Theme
Fantasy
Players
Single Player
Project
Indie
Boxart
Boxart
Embed Buttons
Link to Innkeep by selecting a button and using the embed code provided more...
Innkeep
Statistics
Last Update
Watchers
40 members
Articles
11