How about multi-platform support?

The Hub is a nice idea, but for a developer like me that targets multiple platforms it doesn't solve the problem yet, so I'd just like to toss up multi-platform support for discussion. I'm talking Mac OS X and Linux primarily.

Looking at the files installed it looks like it's coded in python, at least in part, which would make it simple to port to multiple platforms.

Does releasing the python code pose any security problems or similar for The Hub?

users avatar

How about multi-platform support?

Multiple platforms has never been an issue for us since we only have had windows as a target. But it would definitely be an interesting challenge Smiling

You are right that HUB is coded entirely in python (mainly by myself), and I don't think there should be a problem releasing the source... especially if you are willing to share improvements and bug fixes.

This could be very interesting since i'm definitely not the best python coder (I frankly find the language quite confusing, but on the other hand i'm old and set in my ways Eye-wink ) so there are probably many improvements to be made...

So if you are willing to "share" development I think it could be a good thing.

/hObbE

users avatar

How about multi-platform support?

[quote="hObbE"]Multiple platforms has never been an issue for us since we only have had windows as a target. But it would definitely be an interesting challenge :)[/quote]

I was thinking that the appeal for something like the HUB would probably only increase if there were cross-platform support available. Maybe other developers will get interested in the platform, if you are open for that..

[quote="hObbE"]You are right that HUB is coded entirely in python (mainly by myself), and I don't think there should be a problem releasing the source... especially if you are willing to share improvements and bug fixes.

This could be very interesting since i'm definitely not the best python coder (I frankly find the language quite confusing, but on the other hand i'm old and set in my ways Eye-wink ) so there are probably many improvements to be made...

So if you are willing to "share" development I think it could be a good thing.

/hObbE[/quote]

I'd be more than willing to share development and improvements, of course. I try to make as much as possible of my code available to others.. kind of how I work anyway.. =)

So yeah, make the code available somehow and we'll see what happens. =)

users avatar

How about multi-platform support?

Quick update:

Ran a couple of tests with the source-code (thanks hObbE) last week, and while some of the external python modules have a much broken build system, it pretty much works out of the box on any python install (if the external dependancies are met), with just a few GUI-glitches.

As far as looking into possible improvements, I'll get to that soon..

users avatar

How about multi-platform support?

Im in the development of a Java 2d game at the moment (on the side that is hehe) So there will defenatly be cross-plattform games avalible in the future on the hub, so I see this as a very interesting development for the Hub! Laughing out loud

users avatar

How about multi-platform support?

Neat that it "works" Sticking out tongue

The ui was/is a problem. Mainly due to my inexperience of using python the first ui was made using pygame and an immediate mode approach, then I switched to tkinter, and now finally to wxwidgets.

The goal is of course to get a good and lightweight ui (I guess wxwidgets is not the most lightweight Sticking out tongue) anyways some stuff you might want from a future ui is:

icons for each game
short description, maybe with a link or something
different way of sorting, (newest, installed, categories etc)
...

/hObbE

users avatar

How about multi-platform support?

Icons and short descriptions for each game is something I have planned to implement. It would require each game to have a short text file for a description and an icon.

Both the UI and the subversion access is something I'm planning on improving. I agree that wxwidgets hardly is a lightweight GUI, something might also be said for improving the GUI so it looks a bit more interesting. Not sure what would keep it both lightweight and better looking at the same time though.. I have a few ideas, but I want to try them out before creating unnecessary excitement.. Eye-wink

Also, hObbE, would it be OK if I created a public code repository where my work in progress on HUB would reside? Feel I need to ask since it's still mostly your code..

users avatar

How about multi-platform support?

[quote="dbr"]Also, hObbE, would it be OK if I created a public code repository where my work in progress on HUB would reside? Feel I need to ask since it's still mostly your code..[/quote]

That would probably be a good idea, since it would facilitate collaborative work and sharing. I have no problem with a public code respository Smiling

/hObbE

users avatar

How about multi-platform support?

Right..

I'm caught up between family and work for the time being so not much coding on Hub has been done (aside from a bit more experimenting), but I put up the original, unmodified source att [url]http://hg.mindglow.se/[/url], any changes I make can be tracked there via the page or RSS, if you wish.

I use mercurial [url]http://www.selenic.com/mercurial/wiki/[/url] for source control, which has the huge benefit that you can commit locally, without disturbing the published copy. So I keep the benefit of version control locally, and when I have working code redy for everyone to enjoy, I merge it with the published branch. Neat.

I'll happily accept and apply patches if anyone else feel like getting their feet wet.

Also, I'll make a point of trying to spell "Import" correctly next time :/

users avatar

How about multi-platform support?

Neat!

/hObbE

users avatar