![]() |
#1 |
Rookie
Join Date: Jan 2008
Posts: 13
![]() |
Angband Java port
Hopefully I'm not stirring up a nest of nether worms or commiting some other dreadful faux pas, but I'm testing the waters to see what kind of interest there might be in the Angband community for developing a Java port of Angband. I'd been wanting to develop a 2D tile based version of Moria for a while, and even started a Sourceforge project about a week ago (Jmoria - there's nothing in it right now), but then I discovered Angband, and I love the gameplay features added on to the classical Moria.
So now I've set my sights on porting the 2D tile based Angband version to Java, with all the attendant benefits (cross platform, expandibility, maintainability, etc.) I know, a lot of time and code has already been invested in the existing version, but would any developers like to join me in seeing it happen? I don't have any interest (at the moment) in making a signifiant variant, just porting the latest version to Java. Eventually I'd like to add network play for small groups of players, but that would be after getting the single-player version out. If you're interested, let me know (either here or in the sourceforge jmoria forum) |
![]() |
![]() |
![]() |
#2 |
Administrator
|
What would be the target platform? PC? Phones? Consoles?
__________________
See the elves and everything! http://angband.oook.cz |
![]() |
![]() |
![]() |
#3 |
Rookie
Join Date: Jan 2008
Posts: 13
![]() |
good question. I was thinking PC's, but now that you mention it, anything that runs a JRE could be a target platform. I'm not sure I'd want to try playing on a PDA, but I suppose if one needed one's Angband fix on the go, that could be a possibility!
|
![]() |
![]() |
![]() |
#4 | |
Veteran
Join Date: Apr 2007
Posts: 1,947
Donated: $40
![]() |
Quote:
|
|
![]() |
![]() |
![]() |
#5 | |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 56
Posts: 9,350
Donated: $60
![]() ![]() |
Quote:
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
|
![]() |
![]() |
![]() |
#6 |
Knight
Join Date: Apr 2007
Posts: 590
![]() |
|
![]() |
![]() |
![]() |
#7 |
Apprentice
Join Date: Jan 2008
Posts: 83
![]() |
I wholeheartedly support the porting of Angband to Java. In fact, I've had the same idea for the last week or two, since I've started playing Angband again.
I am a professional Java programmer, but inexperienced and I've been thinking that a project like this would be good for my resume and would sharpen my skills. I understand the resistance to Java by other developers. My own opinion of Java was poor back when I was purely C/C++, but since learning the language I have come to appreciate how it simplifies a lot of what can make C and C++ programming frustrating. It is just a nice language to work with, and the performance of the JVM has improved greatly since Java's early days. If I was going to do a Java Angband though, I'd change certain things. For one, I'd move as much to the edit files as possible, even things like resistances, monster types, and spells. The edit files themselves could also be converted to XML format, to simplify the code needed for edit file read/writing. I'd also change the UI so it is better suited for modern screens. Basically, there are a lot of things about Angband that could be made modifiable without recompilation, that currently require source code changes. Let me say, however, that Angband is hands-down one of the BEST designed pieces of software I have ever seen. I really have to congratulate Ben Harrison and Robert Ruehlmann for their amazingly well polished code, and I am sure that Andrew has and is continuing their quality work. This would be a long project, and I'm not sure if I can commit to the kind of time that would be required for it. But since you're asking to see if there's interest, yes, there's definitely interest. |
![]() |
![]() |
![]() |
#8 | |
Rookie
Join Date: Jan 2008
Posts: 13
![]() |
Quote:
Changing the edit files to a more human-readable code is something I had in mind, and parsing in Java is relatively painless (in fact, writing an auto-converter would not be difficult). When I mentioned not changing much, I was really referring to game play features - I'm not really setting out to make an Angband variant per se. To address comment by previous poster - By no means did I intend to malign the existing code base; after looking through it, I can certainly appreciate the effort that has gone into (and it's especially nice to see the C code well documented - I intend to use that code extensively as a reference). But having moved from C to C++ to Java myself, I'm a big proponent of the language. Just as an e.g. - I haven't been able to get the graphical version running on my Linux box; that wouldn't be an issue with Java. Additionally, I'll be doing a fair bit of the coding on a Linux platform anyways, so there should be a pretty good chance that incompatibilities are minimized (though I have yet to encounter any issues myself). I did notice that at least one Java port has been attempted (see JAngband) and petered out. I think part of the problem is that the developer tried to tackle too much at once (in addition to real life butting in, I'm sure). I think the project can be broken down into reasonable bite size pieces and incrementally chipped away it. For version 0.0.1, for example, I have in mind a canvas displaying a single room (with graphics from the Gervais tile set), in which the player moves around. In any case, I'm starting the project, and will try to get a foundation code base - or at least s/w spec - posted into the sourceforge project in the near future (one to two weeks). I welcome any assistance anyone wants to provide. And of course, it will be GPLed. |
|
![]() |
![]() |
![]() |
#9 | ||
Veteran
Join Date: Apr 2007
Posts: 1,947
Donated: $40
![]() |
Quote:
![]() Quote:
|
||
![]() |
![]() |
![]() |
#10 | |||||
Veteran
Join Date: Apr 2007
Posts: 1,947
Donated: $40
![]() |
Quote:
![]() (I might seem to contradict myself at a later date if I claim that I want to put large chunks of my Angband variant into Lua and try and keep the amount of new C code to a minimum, but that's different-- that's replacing chunks of the game at a time with better code as necessary to achieve my ends.) Quote:
Quote:
There are plans afoot to change the format during the 3.1.x release cycle to something ever-so-slightly more verbose but still proprietary... but I'm still not sure if it's worth it. Quote:
Quote:
|
|||||
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|