4 months ago
ROFLbalt - Canabalt inspired ASCII side-scroller in your console «
UPDATE: I neglected to credit Dennis Hotson in the original post. This has been corrected below.
While definitely silly, don’t write this Canabalt clone off as pointless. When I stumbled across ROFLbalt, a text-mode side-scroller from Paul Annesley and Dennis Hotson last night, I started to write it up for The Changelog but got sucked into the source. It’s fascinating to see Ruby-based text sprites:
class RoflCopter include Renderable def initialize x, y, background @x, @y = x, y @background = background @frames = [ [ ' :LoL:ROFL:ROFL', ' L ____|__ ', ' O ===` []\ ', ' L \________] ', ' .__|____|__/ ', ], [ ' ROFL:ROFL:LoL: ', ' ____|__ ', ' LOL===` []\ ', ' \________] ', ' .__|____|__/ ', ], ] end ...Go ahead and clone the source and give it a go in your terminal, but be sure and peruse the code and discover some nifty Ruby.
via thechangelog
-
mattsullivan reblogged this from thechangelog and added:
ASCII shoot-em-ups through...console, written...Ruby with...
-
mattsullivan liked this
-
oiteke reblogged this from thechangelog
-
gasandfood4free liked this
-
cocaineholiday liked this
-
cocaineholiday reblogged this from thechangelog
-
mhaidarh liked this
-
dhotson liked this
-
meklarian liked this
-
mrcktz liked this
-
thechangelog posted this
