Rest In Peace by kenrickrilee

[raw]
made by kenrickrilee for LD30 (COMPO)
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.

Ratings

Coolness 45% 1426
Overall 3.44 324
Audio 2.69 576
Fun 3.30 334
Graphics 3.86 146
Humor 2.50 436
Innovation 3.46 321
Mood 3.23 358
Theme 3.70 227

Feedback

PapaCheech
25. Aug 2014 路 01:47 UTC
really good concept, and good execution too. Great art, all around good job!
馃帳 kenrickrilee
25. Aug 2014 路 01:56 UTC
Thanks PapaCheech! :) I'm loving your entry (Flicker) too :o it's gorgeous.
NnelGdaBandit
25. Aug 2014 路 03:05 UTC
Good concept! Burn the bodies!!!
MJamesShort
25. Aug 2014 路 03:06 UTC
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)
highlyinteractive
25. Aug 2014 路 03:06 UTC
Space is terrible for shooting - page kept scrolling down

Graphics are wicked
Elforama
25. Aug 2014 路 03:07 UTC
Awesome idea, great graphics, and well executed. I had fun.
rynti
25. Aug 2014 路 03:08 UTC
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
SnapDragon
25. Aug 2014 路 03:08 UTC
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
25. Aug 2014 路 03:12 UTC
Interesting. Good graphics and sound.

I've some problem with scroll in Chrome. Can't play comfortly :(
Miziziziz
25. Aug 2014 路 03:13 UTC
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.
馃帳 kenrickrilee
25. Aug 2014 路 03:40 UTC
Thanks for the feedback! I accidentally added an <img> tag that was causing scrolling to happen. Should be fixed now.
Tanner
25. Aug 2014 路 05:21 UTC
Nice graphics. Good gameplay.
DaanVanYperen
25. Aug 2014 路 09:24 UTC
Scrolling is indeed fixed! Nice little game.
hazzahazzam
25. Aug 2014 路 09:56 UTC
Good game considering it was done in HTML5.
Larzan
25. Aug 2014 路 10:59 UTC
Love the theme implementation, nice gfx, good game mechanics, fun to play, well done indeed!
ShellfishGames
25. Aug 2014 路 11:23 UTC
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
25. Aug 2014 路 11:41 UTC
really nice concept, mechanics feels harsh at the beginning but the pixel art is really awesome :)
Robber
26. Aug 2014 路 04:02 UTC
first i tried to burn the ghost then i got it..very cool minigame
jgthespy
26. Aug 2014 路 07:05 UTC
First I tried to light ghosts on fire. That didn't work. Then I started lighting corpses on fire. I really enjoyed that.
Pavel
26. Aug 2014 路 09:21 UTC
Cool and funny to play. Good job.
EnigmAraigne
26. Aug 2014 路 11:15 UTC
Nice! Good Idea, really enjoyable. Had some good time with this game.
BadgerPriest
26. Aug 2014 路 17:58 UTC
Ooh, very good implementation of a multiple-dimensions mechanic. Gameplay is just the right amount of challenging.
INC$D021
26. Aug 2014 路 19:49 UTC
All around good job! Like the graphics :)
jimmypaulin
26. Aug 2014 路 19:58 UTC
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!
korigame
27. Aug 2014 路 02:10 UTC
Good and simple! I love the sprites, and the shot being a line rather than a bullet is really nice. Well done :D
pythong
27. Aug 2014 路 16:39 UTC
ew. I don't like burning bodies :D couldn't you have used zombies or so? :D
psychomonster
27. Aug 2014 路 19:24 UTC
nice. I love lasers :D
43iscoding
28. Aug 2014 路 14:13 UTC
Very interesting game! Lovely graphics!
Jezzamon
29. Aug 2014 路 13:10 UTC
Interesting how you can avoid the dangers of one place by escaping to the other.

Poor thieves though... having their bodies being burnt.
egor-idiot
29. Aug 2014 路 15:43 UTC
Greate! I liked idea and art. Nice little thing.
dickpoelen
31. Aug 2014 路 09:20 UTC
Those ghosts are hard to dodge! Cool game :)
markusfisch
31. Aug 2014 路 16:34 UTC
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
08. Sep 2014 路 02:34 UTC
Great innovation, nice graphics. Good job!
Sestren
08. Sep 2014 路 11:26 UTC
Awesome game! Once I realized burning the ghosts was not the same as burning the bodies, the game became a lot of fun.
sP0CkEr2
09. Sep 2014 路 04:14 UTC
Really cool game. Adding to my play list.
mcapraro
15. Sep 2014 路 01:10 UTC
very cute design i love the little ghosts and cowboy!