News for hackers. Stuff that matters.
Re:Superpowers, a collaborative HTML5 2D and 3D game maker, ... by elisee on Monday January 11, 2016 @02:42PM (#10882785)
Giving it another shot since it didn't take off when I submitted it a few days ago. Quoting my comment on the original submission (https://news.ycombinator.com/item?id=10864402):

Hi! I've been working on live collaborative game development software for about 4 years (some of you might remember me from CraftStudio). For the past year and a half, we've been working on Superpowers with my two friends Bilou and Pixel-boy and now we've open sourced it, as promised back in March when we launched early access for supporters.

Superpowers at its core (http://github.com/superpowers/superpowers) is more than a game maker. It's a generic collaborative client/server Web app for building all kinds of projects. A project type is defined by what we call a system, and you can have any number of systems installed on your Superpowers server.

We spent most of the last year building the core along with a system called Superpowers Game (https://github.com/superpowers/superpowers-game), which is a TypeScript game engine built on top of Three.js along with a bunch of collaborative asset editors.

Now that the platform is maturing, we've started work on other systems. For instance, Superpowers LÖVE (https://github.com/superpowers/superpowers-love2d) lets you build Lua games for the LÖVE framework. Demo: https://i.imgur.com/yLybycP.jpg

Another example: Superpowers Web is (https://github.com/superpowers/superpowers-web) a Superpowers system for building static Websites. We've used it to build the official website (https://github.com/superpowers/superpowers-html5.com) in real-time collaboration. We have plan for a "Superpowers Node.js" system, and hopefully the community will embrace this extensibility and build cool tools for all sorts of engines and creative endeavours.

You can find lots of pictures of the app in the release notes: https://github.com/superpowers/superpowers/releases and many games made with Superpowers Game here: http://sparklinlabs.itch.io/. The devlog album has cool stuff too: http://imgur.com/a/NdIuH

Re:Superpowers, a collaborative HTML5 2D and 3D game maker, ... by blixt on Monday January 11, 2016 @04:08PM (#10883570)
I think this is really cool, and really appreciate what you guys are doing. I have a particular passion for game creation tools as that is how I started down the path of becoming a developer over 20 years ago.

To show my appreciation, I've set up a $5/month pledge on Patreon. It's not much but I hope it helps! Should Crapule meow my name, please send me the recording. ;)

Re:Superpowers, a collaborative HTML5 2D and 3D game maker, ... by elisee on Monday January 11, 2016 @04:24PM (#10883711)
Thank you so much! Here's a picture of Crapule singing your name (in his head): http://i.imgur.com/wRwTSgh.png
Re:Superpowers, a collaborative HTML5 2D and 3D game maker, ... by seivan on Monday January 11, 2016 @04:07PM (#10883561)
Hey, so I had a question about http://docs.superpowers-html5.com/en/getting-started/scripte...

How do you find this impact performance, especially when a behaviour might need to communicate with other behaviours, also how would that be done?

I've looked at several solutions, e.g Apple has a "BehaviourSystem" (called ComponentSystem) where you can fetch Behaviours (Components) per class from all other actors.

Re:Superpowers, a collaborative HTML5 2D and 3D game maker, ... by elisee on Monday January 11, 2016 @04:21PM (#10883688)
Behaviors are simply added to a list of components on the actor (aka "game object") and once a tick, the whole actor tree is update()'d. There are probably optimizations to be done here, but we haven't hit the wall yet so we're trucking along on more urgent stuff :)

Communicating with another behavior can be done like so:

    Sup.getActor("Some actor").getBehavior(BehaviorClass).someMethod();
If you use an actor or a behavior often, you'll want to cache it into a member variable so you don't look it up every frame.

By the way, we have open sourced all the games we've made for Ludum Dare and the Global Game Jam over the last year, you might like checking them out: https://github.com/superpowers-extra

Re:Superpowers, a collaborative HTML5 2D and 3D game maker, ... by badlogic on Monday January 11, 2016 @05:26PM (#10884075)
As someone in a similar space (libGDX creator), i wonder how you finance development. Could you give insights on that?
Re:Superpowers, a collaborative HTML5 2D and 3D game maker, ... by elisee on Monday January 11, 2016 @05:39PM (#10884144)
Hi! I heard great things about libgdx :)

During our 10 months of early access, we had a recurring / one-time support option on the website. We got (very roughly) about $1000 from that thanks to many generous people. After taxes and all, that doesn't leave much but we are pretty frugal, we live and work together so we've been able to afford it so far.

We're hoping to make a decent living with a mix of donations (we just setup a Patreon - http://patreon.com/SparklinLabs), maybe some sponsors? as well as part-time contract work around Superpowers or game development in general. If it doesn't pan out, well, we're very happy with what we've been able to accomplish so far, so we get to keep that! ^_^

Re:Superpowers, a collaborative HTML5 2D and 3D game maker, ... by badlogic on Tuesday January 12, 2016 @03:26AM (#10886204)
Sounds like a plan :D Wishing you the best of luck, Superpowers looks promising!
Re:Superpowers, a collaborative HTML5 2D and 3D game maker, ... by moron4hire on Monday January 11, 2016 @05:51PM (#10884220)
As someone in a similar space, I work part time on data consulting contracts. I spend 10 to 20 hours a week working for clients, usually at the end of the week, trying to cram it all in before the billing cut off. Then I go back to spending all week working on my project.
Re:Superpowers, a collaborative HTML5 2D and 3D game maker, ... by Zikes on Monday January 11, 2016 @03:15PM (#10883099)
Looks really awesome! I can't wait to dive in and see what all it can do.

I suggest you modify your title to start with "Show HN: ", as that will signal to the HN community that it is a project you are both releasing for general use and presenting for feedback.

Re:Superpowers, a collaborative HTML5 2D and 3D game maker, ... by elisee on Monday January 11, 2016 @03:21PM (#10883145)
Thanks! I don't believe I can edit the title after submitting though.
Re:Superpowers, a collaborative HTML5 2D and 3D game maker, ... by Zikes on Monday January 11, 2016 @03:23PM (#10883167)
Ah no problem, it's alright as it is. I'm sure dang will update it accordingly if he passes through and feels the need to do so.
Re:Superpowers, a collaborative HTML5 2D and 3D game maker, ... by Cogito on Monday January 11, 2016 @05:39PM (#10884142)
If you want to, you can email the mods to get them to change it. In any case congrats! I look forward to trying this out.
Re:Superpowers, a collaborative HTML5 2D and 3D game maker, ... by knowaveragejoe on Monday January 11, 2016 @08:52PM (#10885043)
Just a minor nitpick, the last line of the build instructions is repeated twice("open the dev tools with F12 and type the following in the console: and type the following in the Console"):

http://docs.superpowers-html5.com/en/development/building-su...

Re:Superpowers, a collaborative HTML5 2D and 3D game maker, ... by elisee on Monday January 11, 2016 @09:01PM (#10885097)
Thanks, fixed! https://bitbucket.org/superpowers/docs.sparklinlabs.com/comm... (this is one of the last repos we haven't migrated to GitHub yet ^_^)
Re:Superpowers, a collaborative HTML5 2D and 3D game maker, ... by vive-la-liberte on Monday January 11, 2016 @09:45PM (#10885258)
If you haven't already, post about this on /r/gamedev as well.
Re:Superpowers, a collaborative HTML5 2D and 3D game maker, ... by elisee on Monday January 11, 2016 @09:58PM (#10885297)
Posted it before the week-end, it was well received :) https://www.reddit.com/r/gamedev/comments/3zw1b2/superpowers...