Rest In Peace

Overall★★★★★★★★★★3.44
Fun★★★★★★★★★★3.30
Innovation★★★★★★★★★★3.46
Theme★★★★★★★★★★3.70
Graphics★★★★★★★★★★3.86
Audio★★★★★★★★★★2.69
Humor★★★★★★★★★★2.50
Mood★★★★★★★★★★3.23
Coolness★★★★★★★★★★45%
WORKS BEST IN CHROME!

In this game, you hop between alternate dimensions to kill bandits. The ghosts of the dead haunt one dimension and the dead come back to life in the other!

Gameplay gif! https://twitter.com/kenrickrilee/status/503676728703995904

You can check out my devlog either on http://cricklet.tumblr.com/ or https://twitter.com/kenrickrilee

Here's the codes on github: https://github.com/cricklet/ld48-rip/

// Dev notes:

I built the game from scratch in Javascript. As an experiment, I wanted to organize my code without using much OOP. The state of the game (player, bandits, ghosts, etc) are simply stored in arrays of JS objects (basically JSON). Then, different functions (like thinkPlayer or renderPlayer) take those objects and manipulate them. It lead to some awkwardness-- i.e. I pass the player object to nearly every function-- but worked well enough for the jam. I don't see this method as being useful for any larger projects, but it definitely works for something this simple.

I spent a lot of time on the art. The background is procedurally drawn by randomly peppering a pixellated gradient with squares of dark and light. The lighting in the dark dimension is drawn by painting a flickering semi-transparent radial gradient on top of each light source (the player's torch and burning bodies). It's amazing how much something like adding a flicker to the lighting can improve the atmosphere.

The AI of the robbers is pretty simple. Luckily, you don't notice because you're constantly switching between dimensions :). Each robber is essentially a finite state machine: run to a random location -> aim in the direction of the player -> wait for player to enter your sights -> shoot or return to randomly running around.

The audio is done with as3sfxr (http://www.superflashbros.net/as3sfxr/) and SunVox (http://www.warmplace.ru/soft/sunvox/). I'm especially happy with the fire crackling which is just a noise-generator and a distortion-filter in SunVox. Unfortunately, I didn't have time to make any music for the game (and I spent an hour in Audacity trying to get rid of the clicking in my loops :P).

The flipping dimensions mechanic gets pretty involved. Once multiple bandits start spawning at a time (and the bodies of the dead start piling up), you have to use each dimension as a way to escape the dangers of the other.

Comments36

PapaCheech
PapaCheech25 Aug 2014, 01:52
really good concept, and good execution too. Great art, all around good job!
kenrickrileeauthor25 Aug 2014, 02:01
Thanks PapaCheech! :) I'm loving your entry (Flicker) too :o it's gorgeous.
highlyinteractive25 Aug 2014, 03:11
Space is terrible for shooting - page kept scrolling down

Graphics are wicked
MJamesShort
MJamesShort25 Aug 2014, 03:11
Really cool idea and execution. I would recommend doing something to keep focus on the game though. Moving around kept scrolling my browser in Chrome (MAC)
Elforama
Elforama25 Aug 2014, 03:12
Awesome idea, great graphics, and well executed. I had fun.
rynti25 Aug 2014, 03:13
Really enjoyed playing your entry! However, whenever I press [down] or [space] the page scrolled down - had to make the div smaller to get rid of that :D
SnapDragon25 Aug 2014, 03:13
Good game. The thing I don't like about the game is the screen should be in the center of the website, otherwise change the shooting button because when I press Space the
scroll bar scrolls down and I can't see.
BloodJohn
BloodJohn25 Aug 2014, 03:17
Interesting. Good graphics and sound.

I've some problem with scroll in Chrome. Can't play comfortly :(
Miziziziz25 Aug 2014, 03:18
The art is really nice, and the concept is cool. My only complaint is that when the game is playing, my arrow keys and space bar still affect my browser, so it keeps scrolling down while I play. This kinda made the game unplayable for me :/, since the game is at the top of the screen. let me know if you fix this, cause I'd love to play it more.
kenrickrileeauthor25 Aug 2014, 03:45
Thanks for the feedback! I accidentally added an <img> tag that was causing scrolling to happen. Should be fixed now.
Tanner25 Aug 2014, 05:26
Nice graphics. Good gameplay.
DaanVanYperen
DaanVanYperen25 Aug 2014, 09:29
Scrolling is indeed fixed! Nice little game.
hazzahazzam
hazzahazzam25 Aug 2014, 10:01
Good game considering it was done in HTML5.
Larzan
Larzan25 Aug 2014, 11:04
Love the theme implementation, nice gfx, good game mechanics, fun to play, well done indeed!
ShellfishGames25 Aug 2014, 11:28
Neat little game. Could use a soundtrack and a little more variety gameplay-wise, but other than that it's pretty cool. And those robbers are cute. I don't really want to kill them. :>
Posva
Posva25 Aug 2014, 11:46
really nice concept, mechanics feels harsh at the beginning but the pixel art is really awesome :)
Robber
Robber26 Aug 2014, 04:07
first i tried to burn the ghost then i got it..very cool minigame
jgthespy
jgthespy26 Aug 2014, 07:10
First I tried to light ghosts on fire. That didn't work. Then I started lighting corpses on fire. I really enjoyed that.
Pavel26 Aug 2014, 09:26
Cool and funny to play. Good job.
EnigmAraigne26 Aug 2014, 11:20
Nice! Good Idea, really enjoyable. Had some good time with this game.
BadgerPriest
BadgerPriest26 Aug 2014, 18:03
Ooh, very good implementation of a multiple-dimensions mechanic. Gameplay is just the right amount of challenging.
INC$D02126 Aug 2014, 19:54
All around good job! Like the graphics :)
jimmypaulin
jimmypaulin26 Aug 2014, 20:03
Really enjoyed this, love the dimension switching, really nicely implemented and a satisfying mechanic. The artwork was very good, great colours and clear sprites and effects. Great game!
korigame27 Aug 2014, 02:15
Good and simple! I love the sprites, and the shot being a line rather than a bullet is really nice. Well done :D
pythong27 Aug 2014, 16:44
ew. I don't like burning bodies :D couldn't you have used zombies or so? :D
43iscoding
43iscoding28 Aug 2014, 14:18
Very interesting game! Lovely graphics!
Jezzamon
Jezzamon29 Aug 2014, 13:15
Interesting how you can avoid the dangers of one place by escaping to the other.

Poor thieves though... having their bodies being burnt.
egor-idiot29 Aug 2014, 15:48
Greate! I liked idea and art. Nice little thing.
dickpoelen
dickpoelen31 Aug 2014, 09:25
Those ghosts are hard to dodge! Cool game :)
markusfisch
markusfisch31 Aug 2014, 16:39
That's a lot of fun actually! I really like the cute graphics and especially that seamless start. And the pistol sound, of course! Great game!
ChuiGum
ChuiGum8 Sep 2014, 02:39
Great innovation, nice graphics. Good job!
Sestren8 Sep 2014, 11:31
Awesome game! Once I realized burning the ghosts was not the same as burning the bodies, the game became a lot of fun.
sP0CkEr29 Sep 2014, 04:19
Really cool game. Adding to my play list.
mcapraro
mcapraro15 Sep 2014, 01:15
very cute design i love the little ghosts and cowboy!

Other games by @kenrickrilee

Found a bug?
Tell us on Discord