Page 6 of 7
Posted: Fri Nov 19, 2004 2:02 pm
by Falco Girgis
God damn you Marcel. What the FUCK are you talking about? I'm this close to deleting you from this forum. Freaking lussac.
JSL wrote:
How could perl be better then c++ in anything besides working with string and text things, which the game would not have much of or any.
What? Who ever said that C++ was the supreme leader of programming? Perl can freaking OWN C++ at many things (but yes C++ generally pwnz perl).
I'll find so many examples for you that you'll be drooling for an embedded perl interpretter.
JSL wrote:besides working with string and text things
Nobody ever said anything about text and strings being the only thing perl is useful for. You poor naive soul. I'll show you....
Posted: Sun Nov 21, 2004 12:47 pm
by JS Lemming
What? Who ever said that C++ was the supreme leader of programming? Perl can freaking OWN C++ at many things (but yes C++ generally pwnz perl).
Yes, show me how Perl can OWN C++. If perl were so powerful in game developement, it would be more widely used (I've never heard of using perl in with c++ for game dev). Show me examples foo.
BTW Arce, what were you talking about? An interpreter?
Posted: Sat Nov 27, 2004 4:30 pm
by Falco Girgis
Obviously, the break has been over for a while. What should I be doing? I've been perling my ass off though. The day after tomorrow, I'll show you guys my results.
I don't know what to be working on for NEStix. I was thinking that once the level editor was done, we'd make one level. Then, we'd go through the level. If we see "hrm... Mario doesn't die when he falls off cliffs yet", we make him die. If we see "Umm... There needs to be a goomba here or somethign", we make goombas.
I don't know what order to be doing things right now. I was just thinking having an actual level will show us what needs to be done.
Posted: Sat Nov 27, 2004 11:24 pm
by MarauderIIC
Try sitting down and making a list of what you need. A hard-coded level would probably work for testing. Then list what you need for an engine.
Posted: Sun Nov 28, 2004 11:24 am
by JS Lemming
See thats the problem. If we want this to really be succesful, we HAVE to design almost everything before we start programming. Thats what the big guys do. But since we aren't working that way, we'll end up blindly programming stuff for the game that will either have to be accepted and possibly not wanted, or thrown out all together (waste of the little time we have).
Posted: Sun Nov 28, 2004 11:31 am
by MarauderIIC
http://uml.sf.net
Yeah. You need AT LEAST a skeleton design. That's what I'm working with in MrAdventure.
Posted: Tue Nov 30, 2004 6:40 pm
by Falco Girgis
. . . Don't make me beg for something to program!
Gimme some pilgrimage! I've had enough perl (I'm still doing it, so don't freak out). I just want to get back to my beloved C++...
Posted: Fri Dec 10, 2004 7:12 pm
by Falco Girgis
I've got a couple of things on my mind.
1) It's obvious that we're going to be using lots of linked lists here. I should make a generic linked list creater/updater or have 2 functions for every list?
2) What if I want something to belong to a belong to a class, but I don't really want every instance of it to have that variable. Like the base stats for goombas. I don't want their base stats to be reallocated into memory for every goomba, I'd like for them all to use one base stats. Any other way besides just using standard global variables?
Posted: Fri Dec 10, 2004 8:58 pm
by JS Lemming
Yes we NEED to make a standard link lists system, we can work on it together on MSN sometime maybe.
About the base stats thing... I think makeing them constants/globals is the best way to go with that. What else is there?
Posted: Fri Dec 10, 2004 9:02 pm
by JS Lemming
Yeah but I think if were going to use Inhertiance, then we should use it on alot more then just base stats. Maybe draw and update functions aswell.
Posted: Fri Dec 10, 2004 9:03 pm
by MarauderIIC
GyroVorbis wrote:I've got a couple of things on my mind.
1) It's obvious that we're going to be using lots of linked lists here. I should make a generic linked list creater/updater or have 2 functions for every list?
vectors == linked lists
GyroVorbis wrote:2) What if I want something to belong to a belong to a class, but I don't really want every instance of it to have that variable. Like the base stats for goombas. I don't want their base stats to be reallocated into memory for every goomba, I'd like for them all to use one base stats. Any other way besides just using standard global variables?
Inhertiance
Code: Select all
class NPC {
string desc;
string name;
int hp;
string picture;
};
class GoombaBase {
vector<Goomba*>instances;
string sharedOne;
int sharedTwo;
};
class Goomba : public NPC {
bool doesJump; //or something goombaspecific
GoombaBase* master;
};
Posted: Fri Dec 10, 2004 9:05 pm
by MarauderIIC
No, really? /sarcasm
That'd probably be in NPC.
Posted: Fri Dec 10, 2004 9:09 pm
by JS Lemming
MarauderIIC wrote:No, really? /sarcasm
That'd probably be in NPC.
Well excuse me.
Posted: Fri Dec 10, 2004 9:09 pm
by MarauderIIC
By the way,
I wrote:
Inhertiance
Code: Select all
class NPC {
string desc;
string name;
int hp;
string picture;
};
class GoombaBase {
vector<Goomba*>instances;
string sharedOne;
int sharedTwo;
};
class Goomba : public NPC {
bool doesJump; //or something goombaspecific
GoombaBase* master;
};
GoombaBase* master is something like so:
Code: Select all
void initialize() { //iow, only run once
GoombaBase GB = new GoombaBase; //error check for free mem
Goomba newGoomba;
for (i = 0;i < mapData.totalGoombas();++i) {
newGoomba = NULL;
newGoomba = new Goomba; //error check for free mem
newGoomba->setMaster(GB);
GB->addGoomba(newGoomba);
}
}
Posted: Sat Dec 11, 2004 10:28 am
by Tvspelsfreak
C++ Vectors != Dreamcast compatible
At least unless GyroVorbis feels like installing a complete cygwin + newest KOS development version and do everything through a DOS console and text editor.