Settings

Theme

Show HN: Yeah, a Ruby video game framework

github.com

54 points by Skoofoo 11 years ago · 19 comments

Reader

Pistos2 11 years ago

Nice! The example code looks simple enough to understand relatively quickly, and it does seem to work (good on you to have working demos to show). May play with this some time soon. You should put some contact info in the README. e.g. IRC channel, or email (if you dare), or a pointer to github issues page.

SkoofooOP 11 years ago

Author here. Make sure to check out the examples and docs! This is alpha-stage software, but there is roughly enough functionality to build a complete modern video game.

Please ask me any questions you have! Feedback is appreciated.

  • ccallebs 11 years ago

    Is the main benefit to Yeah vs. other frameworks (Gosu in particular) that it compiles to JS? I'm actually weighing game framework options for a project I want to undertake.

    • SkoofooOP 11 years ago

      Gosu is a library that provides the basic building blocks for a video game, while Yeah is an opinionated framework designed to be fast to build games with. It is similar to Sinatra vs Ruby on Rails.

      A major feature of Yeah is a Processing/HTML5 Canvas-like drawing API. http://rdoc.info/github/yeahrb/yeah/9f065a6/Yeah/Display

      Yeah is in early development; more time-saving constructs and functionality are in the works (animated sprites, collision detection, touch controls, etc).

      Yeah compiles to JS now, though it is platform-agnostic - in the future it will also compile into PC executables and mobile apps.

  • djur 11 years ago

    Neat! I had been trying to figure out what library to use for the upcoming Ludum Dare competition, and I think this answers it.

    I'll probably be peppering you with questions/feedback next weekend, in that case. Are GitHub issues the best way to do that?

    • SkoofooOP 11 years ago

      I think that this framework will be ideal for sprints like Ludum Dare.

      Please do write about any questions, suggestions, issues, and bugs via GitHub issues, or to my personal email: skoofoo@gmail.com

nacs 11 years ago

Have you considered using Pixi.js instead of pure canvas? Pixi.js uses WebGL with a canvas fallback and performance is much better: http://www.pixijs.com/

  • SkoofooOP 11 years ago

    Early on I took a close look at Pixi.js, though it turned out to not be the right fit for the project. However, it is planned for Yeah to have an interchangeable WebGL renderer at some point, similar to Pixi.js and Three.js.

    • mattdesl 11 years ago

      If you're looking at WebGL, check out StackGL. It's pretty much intended as a low level WebGL wrapper with a modular codebase, and lots of high level modules built on top of it.

    • evo_9 11 years ago

      You might want to also look at Phaser.io, which is built on pixi.js and is a full game library.

      Also, it's open source and free and quite nice to work with.

Artemis2 11 years ago

That name sounds really confusing. Looks neat otherwise.

TheOverSleeper 11 years ago

I like this.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection