![]() |
#1 |
Knight
Join Date: May 2009
Posts: 560
![]() |
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. |
![]() |
![]() |
![]() |
#2 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,414
Donated: $40
![]() |
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.) |
![]() |
![]() |
![]() |
#3 | |
Knight
Join Date: Jan 2009
Posts: 657
![]() |
Quote:
![]() 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. |
|
![]() |
![]() |
![]() |
#4 |
Knight
Join Date: May 2009
Posts: 560
![]() |
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.
|
![]() |
![]() |
![]() |
#5 |
Veteran
Join Date: Apr 2007
Posts: 1,936
Donated: $40
![]() |
It's not Windows-only, there's a pretty fully functional C# compiler called Mono which works on Linux...
__________________
takkaria whispers something about options. -more- |
![]() |
![]() |
![]() |
#6 | |
Knight
Join Date: May 2009
Posts: 560
![]() |
Quote:
Thanks for the replies, wish me luck! |
|
![]() |
![]() |
![]() |
#7 |
Rookie
Join Date: Jul 2009
Posts: 2
![]() |
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#. |
![]() |
![]() |
![]() |
#8 |
Knight
Join Date: May 2009
Posts: 560
![]() |
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. |
![]() |
![]() |
![]() |
#9 | |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,414
Donated: $40
![]() |
Quote:
|
|
![]() |
![]() |
![]() |
#10 |
Knight
Join Date: May 2009
Posts: 560
![]() |
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|