Angband.oook.cz
Angband.oook.cz
AboutDownloadVariantsLadderForumCompetitionSpoilersComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old July 2, 2009, 06:49   #1
Sirridan
Knight
 
Sirridan's Avatar
 
Join Date: May 2009
Posts: 560
Sirridan is on a distinguished road
Thornwind

Well after years of off and on work in various languages (Mostly QBASIC), I'm finally starting on a roguelike engine I call Thornwind.

Current plans are to get a basic game engine with no story to work, and then to build something I have planned (more of a reversal, you start at the bottom and work up to town... being evil and all .

I'm quickly learning C, many of the bugs I had initially were due to code positioning and the way includes are set up. That was fun, but hey I have something built and running, a little '@' moves around on a window (although it's trail doesn't erase yet...)

A lot of thanks go to the Angband maintainers and writers because that code has helped me a lot in both setting up windows, and with the 'term' idea to make an abstraction between the system dependent and independent code.

Also having taken some software engineering courses for my degree will help I think.

In any case, I'm making this post as an announcement, and as a way to encourage myself, so I don't just give up. If I do start to give up or slack, I'll know people will get ticked at me and I'll keep going.

Also, if I use part of Angband's code, or just base some of mine off of it, how would I make note of that, and how would licenses work? I don't want to rip code off and not credit properly...

Thanks!

EDIT: If you couldn't tell, the project name is currently Thornwind, heh. Surname from one of my D&D characters.
Sirridan is offline   Reply With Quote
Old July 2, 2009, 07:25   #2
Pete Mack
Veteran
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 2,399
Donated: $40
Pete Mack is on a distinguished road
Angband is not the best model for starting from the ground up -- the Term level abstraction is barely good enough to get by. (If you want to do things like tiles at one scale and text at another, it's a lousy model indeed--you need to start with the "canvas" and "panel" model, then build things like the term (text or tile panel) on top of that.)

If you want to base your game on Angband-like modeling, you should probably borrow the code from angband. (Some folks have already been doing C++ porting, which is better than C for non-realtime games; java or C# is better still.)
Pete Mack is offline   Reply With Quote
Old July 2, 2009, 11:44   #3
PaulBlay
Knight
 
Join Date: Jan 2009
Posts: 657
PaulBlay is on a distinguished road
Quote:
Originally Posted by Pete Mack View Post
(Some folks have already been doing C++ porting, which is better than C for non-realtime games; java or C# is better still.)
Yeah, but don't use JBand because I suck.

Zaiband is the only *band variant I know of that is in C++. I would be interested to know if there are others.
__________________
Currently turning (Angband) Japanese.
PaulBlay is offline   Reply With Quote
Old July 2, 2009, 16:22   #4
Sirridan
Knight
 
Sirridan's Avatar
 
Join Date: May 2009
Posts: 560
Sirridan is on a distinguished road
Well I may re-start in C# since it really is so much easier, and OOP can really do some nice things. My only problem is its pretty much windows only... although I suppose if someone really wanted to play it on linux there is Wine, and bootcamp for OSX.
Sirridan is offline   Reply With Quote
Old July 2, 2009, 16:39   #5
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,603
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by Sirridan View Post
Well I may re-start in C# since it really is so much easier, and OOP can really do some nice things. My only problem is its pretty much windows only... although I suppose if someone really wanted to play it on linux there is Wine, and bootcamp for OSX.
It's not Windows-only, there's a pretty fully functional C# compiler called Mono which works on Linux...
__________________
"Physician, heal thyself."
takkaria is offline   Reply With Quote
Old July 2, 2009, 17:33   #6
Sirridan
Knight
 
Sirridan's Avatar
 
Join Date: May 2009
Posts: 560
Sirridan is on a distinguished road
Quote:
Originally Posted by takkaria View Post
It's not Windows-only, there's a pretty fully functional C# compiler called Mono which works on Linux...
Shows how much I pay attention... looks like its settled then, C# it is! I use it at work too so yay, this should work well!

Thanks for the replies, wish me luck!
Sirridan is offline   Reply With Quote
Old July 2, 2009, 19:40   #7
CloneDeath
Rookie
 
Join Date: Jul 2009
Posts: 2
CloneDeath is on a distinguished road
C# is great on some levels, but it is my least favorite language due to some design decisions Microsoft made. I will save my rants for another day.

Anyhow, for the trailing, when I made my first roguelike game, I did what he refered to as layering. First I drew the map, then I drew the character, and made sure not to place the @ into the array/string.

I would recomend C++, if nothing more than for the use of Vectors (array wrapper), Strings (another array wrapper), and Namespaces(more elegant aproaches than putting prefixed on all your functions, avoids function name clashes :P) (iostream is a NO. Again, that rant is for another day~).


Right now I am designing a rougelikelike (as I like to call it) for the Wii, and me and the room mate decided to go with C++ (using classes) and we are just streamlining through development and doing better than if we had picked C.

Just, I would strongly advise AGAINST C#.
CloneDeath is offline   Reply With Quote
Old July 2, 2009, 21:42   #8
Sirridan
Knight
 
Sirridan's Avatar
 
Join Date: May 2009
Posts: 560
Sirridan is on a distinguished road
Well I'm taking a quick break from work (writing a windows service in c# for a UDP port listener) and I really do like C#. Originally I was going to use c++, then moved to c. Unless there is a really good reason not to use it, I think I'll continue with it.

Then again, c++ is really portable.. *sigh* decisions decisions.
Sirridan is offline   Reply With Quote
Old July 3, 2009, 02:19   #9
Pete Mack
Veteran
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 2,399
Donated: $40
Pete Mack is on a distinguished road
Quote:
Originally Posted by Sirridan View Post
Well I'm taking a quick break from work (writing a windows service in c# for a UDP port listener) and I really do like C#. Originally I was going to use c++, then moved to c. Unless there is a really good reason not to use it, I think I'll continue with it.

Then again, c++ is really portable.. *sigh* decisions decisions.
If you are doing UI, java is more portable than any of the above. The gfx library is (nearly) uniform across all platforms.
Pete Mack is offline   Reply With Quote
Old July 3, 2009, 05:25   #10
Sirridan
Knight
 
Sirridan's Avatar
 
Join Date: May 2009
Posts: 560
Sirridan is on a distinguished road
Quote:
Originally Posted by Pete Mack View Post
If you are doing UI, java is more portable than any of the above. The gfx library is (nearly) uniform across all platforms.
True, and I'm quite experienced with java, but I'm not too fond of it.
Sirridan is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 13:42.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.