Page 1 of 1

Yes, again: code questions

Posted: Wed Mar 17, 2004 10:44 am
by Andrea B Previtera
I am wondering about ships, carriages and the magic carpet: riding those probably requires quite a lot of special-and-specialized code, am I right? After all it's a lot of objects moving, rotating around the center of the screen, colliding againist other objects. Is there some quick hack which I can't see, or what else?

I properly implemented a whole world with npc schedules, eggs, scripted events, dynamic and static objects, and so on - but I didn't plan to add such complex forms of transport from the beginning. Now I am trying to, but seems to very intricate and off-the-regular-engine-pattern ...

Re: Yes, again: code questions

Posted: Wed Mar 17, 2004 11:30 am
by Dominus
nope, as far as i know it is on the to-do list of Dr.Code. Carriages are quite special...

Re: Yes, again: code questions

Posted: Wed Mar 17, 2004 11:45 am
by drcode
The code's in obj/barge.cc. And you'll see, it is fairly complicated. Or are you just asking for support in ExultStudio (which isn't done, but will actually be fairly easy).

Re: Yes, again: code questions

Posted: Wed Mar 17, 2004 12:04 pm
by Andrea B Previtera
I am just asking for a general guideline, you know
"well, you select all objects which bla bla bla... check collisions with bla bla bla" ...

Re: Yes, again: code questions

Posted: Wed Mar 17, 2004 12:18 pm
by Andrea B Previtera
(checking barge.cc - most things, I expected them to work so. Other, are totally impossible to understand for me, but that must be due to my lack of knowledge of C)