News for hackers. Stuff that matters.
Re:Polycode – Open Source, cross-platform framework for game... by norswap on Tuesday March 26, 2013 @10:49AM (#5443639)
Looks slick.

But damn, this is how you build a product website.

Re:Polycode – Open Source, cross-platform framework for game... by tolmasky on Tuesday March 26, 2013 @02:04PM (#5445007)
Having a page that says "binaries coming soon" instead of a download is the difference between me trying it today and forgetting about it for months.
Re:Polycode – Open Source, cross-platform framework for game... by drawkbox on Tuesday March 26, 2013 @05:27PM (#5446183)
Extremely clean api and C++ code. Code in C++ or Lua (http://polycode.org/features/). Editor base like Unity (albeit still just 2D support). Simplified interface and nice looking coding environment using powerful languages for gamedev. This is off to an excellent start.

Very Unity like look and feel but with the added open source and deeper C++ access that is still required in games. In Unity you can build plugins for each platform like I am sure you would need for extra libs here.

Re:Polycode – Open Source, cross-platform framework for game... by icemelt8 on Tuesday March 26, 2013 @10:07AM (#5443329)
Please don't down vote me. But can I ask that in a world where Unity exists, how is this relevant?
Re:Polycode – Open Source, cross-platform framework for game... by eropple on Tuesday March 26, 2013 @12:40PM (#5444427)
Unity is a great product for what it is, but it enforces upon you a particular view of the world and it's one I personally do not share. It puts you into its editor environment (which I don't find to be very good) and more or less expects you to be using the visual tools for most of what you're doing. I don't like that workflow; I prefer to work in a data-driven environment and in a real IDE. It is not as quick to prototype, but I enjoy it more and the end result satisfies me. I also prefer to know exactly what's going on in my game code, and there's enough obscuring that in Unity or another closed-source runtime that I'm not comfortable with it.

And I don't trust Unity not to close up shop one day and leave me high and dry with closed-source, bit-rotting libraries. Or to not target a platform I care about in the future, again leaving me screwed. I need to control the stack, and Unity is antithetical to this. (This is also why I have moved away from Xamarin's stuff--while enough of their stuff is open that I could spend multiple man-years re-implementing it if it went away tomorrow, it's a much better investment of my time to use the platform APIs directly.)

Re:Polycode – Open Source, cross-platform framework for game... by tolmasky on Tuesday March 26, 2013 @02:13PM (#5445060)
I was initially hesitant to use Unity or to give their workflow a chance, but now I have to admit I really love it. I use my own text editor vs. Monodevelop, and like a truly good visual editor, it really is just augmenting the code experience (you could do everything in code if you wanted). There really isn't that much magic going on.

That being said, I share many of your frustrations, but I think the root cause is that its closed source and not any particular design decision they made. At the end of the day the design is straight forward, but its hard to wrap your head around since you can't easily just look at the code and go "ah ok FixedUpdate gets called right after WhateverFunction, now this makes sense". This is severely exacerbated by bad documentation. Here is one of my favorite examples: http://docs.unity3d.com/Documentation/ScriptReference/Time-s... "Time.smoothedTime - A smoothed out Time.deltaTime (Read Only)." Great, no idea why I'd ever want this or what it actually does. In OS land I'd just go to the function, but not such option here.

On the other hand, I have considerable more faith in Unity than some OS tool to be around in the future and to support new platforms. They have a really great track record of this (they've been around forever), and the fact that they make money is more comforting to me than some random group of developers doing it for the love of programming. However, more tools is better, I'm in no way suggesting Polycode isn't cool or shouldn't exist or anything.

Re:Polycode – Open Source, cross-platform framework for game... by zerr on Friday April 05, 2013 @10:26AM (#5498595)
Could you please point me to the resources documenting "doing everything in code"?

For me, that tool based approach was a deal breaker, didn't care about it's closed source...

Re:Polycode – Open Source, cross-platform framework for game... by dysoco on Tuesday March 26, 2013 @11:49AM (#5444075)
In a world where you can do everything in Pascal... how are Scheme or Java relevant?
Re:Polycode – Open Source, cross-platform framework for game... by aeze on Tuesday March 26, 2013 @10:09AM (#5443345)
Open source vs $1500+
Re:Polycode – Open Source, cross-platform framework for game... by untothebreach on Tuesday March 26, 2013 @10:10AM (#5443358)
To be fair, Unity3d _does_ have a free version, but it is not Open Source.
Re:Polycode – Open Source, cross-platform framework for game... by dagw on Tuesday March 26, 2013 @05:57PM (#5446328)
You're only allowed to use the free version if you're a hobbyist or a tiny company.
Re:Polycode – Open Source, cross-platform framework for game... by srik on Tuesday March 26, 2013 @10:23AM (#5443455)
The free version does have restrictions that would matter in s final production.
Re:Polycode – Open Source, cross-platform framework for game... by yowmamasita on Tuesday March 26, 2013 @10:28AM (#5443486)
That would be unfair for game devs who made it through and making money just using the free version. It does lack features vs Pro but it is still viable for a production release.
Re:Polycode – Open Source, cross-platform framework for game... by srik on Tuesday March 26, 2013 @10:41AM (#5443571)
Yes, it is certainly viable and I don't mean to discount what Unity offers for free. However, IMO the restrictions matter as in, for instance, the free version does't come with pro's lighting and shadow etc. GAme devs do resort to small "hacks" to get around but it is a slight inconvenience at the least.

Either way, doesnt hurt to have competition :)

Re:Polycode – Open Source, cross-platform framework for game... by attrition0 on Tuesday March 26, 2013 @03:05PM (#5445362)
A minor clarification, Unity Free does have real-time lighting, just not real-time shadows.
Re:Polycode – Open Source, cross-platform framework for game... by untothebreach on Tuesday March 26, 2013 @10:09AM (#5443349)
It's open source.
Re:Polycode – Open Source, cross-platform framework for game... by mrcharles on Tuesday March 26, 2013 @10:51AM (#5443649)
Unity is a jackhammer when sometimes you just want a chisel.
Re:Polycode – Open Source, cross-platform framework for game... by yeureka on Tuesday March 26, 2013 @12:01PM (#5444149)
I payed for a Unity license to do work for a client but I still prefer to use C++/Ogre3D/SFML for other projects where I need a bit more control.
Re:Polycode – Open Source, cross-platform framework for game... by yowmamasita on Tuesday March 26, 2013 @10:23AM (#5443457)
simpler for 2d stuffs
Re:Polycode – Open Source, cross-platform framework for game... by spoiler on Tuesday March 26, 2013 @09:08PM (#5447136)
I really like this, but in absolute honesty, I am not the biggest Lua fan. I would prefer if it were Ruby or JavaScript, but I am guessing Ruby/JavaScript is a lot heavier (not counting in mruby) than Lua and hard to implement (well, implementing rbx would be very possible), but V8 would be easy to implement.

I did embed Ruby into C++ once, but it was rather clumsy and it would sometimes cause a segmentation fault (my C++ was beginner level at best then, so I just abandoned ship without trying to fix it, since I wouldn't know where to look). I wish someone smart does this successfully. Daydreams

Re:Polycode – Open Source, cross-platform framework for game... by gavanwoolery on Tuesday March 26, 2013 @11:28AM (#5443913)
cross platform c++, or just cross platform via LUA? I would imagine it would need to be somewhat bulky (like QT) to support cross-platform C++.
Re:Polycode – Open Source, cross-platform framework for game... by ioquatix on Tuesday March 26, 2013 @11:02AM (#5443729)
Another one!?

Seriously, looks very interesting.

Re:Polycode – Open Source, cross-platform framework for game... by Total_Meltdown on Tuesday March 26, 2013 @11:12AM (#5443808)
I've actually been looking for something like this (specifically the 2D game support in C++) for a long time. What other options are there?
Re:Polycode – Open Source, cross-platform framework for game... by lobster_johnson on Tuesday March 26, 2013 @03:24PM (#5445497)
Moai [1] is very mature, used for a bunch of commercial games, broad support for Mac, Windows, iOS, Android, Chrome (via NaCL), with Linux support forthcoming. Scripted with Lua and/or used directly through C++. Open source.

[1] http://getmoai.com/

Re:Polycode – Open Source, cross-platform framework for game... by skittlebrau on Tuesday March 26, 2013 @11:22AM (#5443865)
Cocos2d-x is another option: http://www.cocos2d-x.org/
Re:Polycode – Open Source, cross-platform framework for game... by samjohnson on Tuesday March 26, 2013 @11:18AM (#5443837)
You might be interested in Cinder. It's a mature C++ library with multiplatform support: http://libcinder.org/
Re:Polycode – Open Source, cross-platform framework for game... by yeureka on Tuesday March 26, 2013 @11:47AM (#5444054)
Cinder is not written for performance. I use it just to open an window and get a basic update/render loop. It is too slow to write games in.

[EDIT] I will actually have a go with polycode to see if it solves the issues I have now with some other projects. Looks good.

Re:Polycode – Open Source, cross-platform framework for game... by yowmamasita on Tuesday March 26, 2013 @11:20AM (#5443851)
with C++ there are a lot of options out there: allegro, sdl, sfml and your favorite text editor.
Re:Polycode – Open Source, cross-platform framework for game... by davedx on Tuesday March 26, 2013 @09:56AM (#5443255)
Lots of inspiration from Unity there. Looks good!
Re:Polycode – Open Source, cross-platform framework for game... by rip747 on Tuesday March 26, 2013 @08:23AM (#5442713)
why is it that i cannot find a link to the github repo?
Re:Polycode – Open Source, cross-platform framework for game... by ariejan on Tuesday March 26, 2013 @09:32AM (#5443091)
For your forking pleasure: https://github.com/ivansafrin/Polycode
Re:Polycode – Open Source, cross-platform framework for game... by virtualritz on Tuesday March 26, 2013 @08:27AM (#5442731)
Go to 'Download'. There is /only/ a link to the github repo.
Re:Polycode – Open Source, cross-platform framework for game... by avolcano on Tuesday March 26, 2013 @09:47AM (#5443185)
Oof. Those build steps seem a bit obtuse (as someone used to a "brew/pip/gem/npm install"). Wonder why there are no binaries distributed?
Re:Polycode – Open Source, cross-platform framework for game... by eropple on Tuesday March 26, 2013 @12:35PM (#5444401)
> Those build steps seem a bit obtuse (as someone used to a "brew/pip/gem/npm install").

They don't strike me as particularly obtuse. But I write a decent amount of C++ already, and I've come to terms with the reality that there is always some assembly required.

Binaries don't strike me as particularly useful for C++ projects. C projects, moreso, but with C++ you've got to support a number of different C++ runtimes per platform (the various MSVCRTs on Windows, libstdc++ and libc++ on OS X) and it's probably just better to have the user--who is going to be the one stuck with it--build it themselves.

Re:Polycode – Open Source, cross-platform framework for game... by mrcharles on Tuesday March 26, 2013 @10:55AM (#5443675)
Because he's not ready for full release. He's working towards it though, but right now it is still effectively in development but not fully ready for release.
Re:Polycode – Open Source, cross-platform framework for game... by virtualritz on Wednesday March 27, 2013 @01:54PM (#5450928)
I built it and it was dead easy just following the build instructions for Unix makefiles in the BUILT.txt (I'm on OS X but I never use XCode). Although I don't get why they do not distribute a shell script wrapper for these build steps, they have no variables.

The build steps seem to miss the IDE though. The part I was most interested in. I have postponed playing with Polycode until I get that to work on OS X.

Re:Polycode – Open Source, cross-platform framework for game... by camus on Tuesday March 26, 2013 @08:53AM (#5442866)
looks great !