|
|
View previous topic - View next topic |
Author |
Message |
DeveloperX 202192397
Joined: 04 May 2003 Posts: 1626 Location: Decatur, IL, USA
|
Posted: Tue Apr 03, 2007 9:47 am Post subject: Console Game Framework |
[quote] |
|
I was toying around with some new ideas, and this is the result.
It requires windows atm, ...though I welcome a linux port.
Source is included, and the simple license is at the top of the source.
Download Project (.rar format 240 KB)
Comments & suggestions welcome here.
If you want to port this to linux, let me know. _________________ Principal Software Architect
Rambling Indie Games, LLC
See my professional portfolio
|
|
Back to top |
|
|
Bjorn Demon Hunter
Joined: 29 May 2002 Posts: 1425 Location: Germany
|
Posted: Tue Apr 03, 2007 7:21 pm Post subject: |
[quote] |
|
There seem to be two interesting things about your framework. One is the structure it provides and the other the console functionality (even though a bit primitive and Windows only for now). I think it would be more useful to describe the actual structure of your framework separately, so that others may learn from it. I think the console functionality (usage of getch, getline and stuff) would also be better suited when explained in fragments. The CGF could be attached to these tutorials as an example application.
As for Linux, well I got it to compile but the retrieval of enter/esc keys is not working at all yet. One would usually use the ncurses library for such things, but I have no interest in looking into this at the moment.
|
|
Back to top |
|
|
DeveloperX 202192397
Joined: 04 May 2003 Posts: 1626 Location: Decatur, IL, USA
|
Posted: Tue Apr 03, 2007 8:29 pm Post subject: |
[quote] |
|
Here is a class to provide kbhit()/getch() functionality for Linux that I wrote while attempting to port WiTCHHUNT to Linux.
This class works well, and I'm pretty sure that someone could find this useful, so I am releasing it here.
The class consists of 2 files: KEYDRIVER.h and KEYDRIVER.cpp
the class is called KEYDRIVER and is within the Common namespace.
KEYDRIVER.h
KEYDRIVER.cpp _________________ Principal Software Architect
Rambling Indie Games, LLC
See my professional portfolio
Last edited by DeveloperX on Tue Apr 03, 2007 8:37 pm; edited 1 time in total
|
|
Back to top |
|
|
DeveloperX 202192397
Joined: 04 May 2003 Posts: 1626 Location: Decatur, IL, USA
|
|
Back to top |
|
|
|
Page 1 of 1 |
All times are GMT
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|