There also needs to be something detailing how to set up your own project,
using all the supported platforms/compilers...what project files to
include, dependencies, etc...(or, for linux/unix, how to set up the
makefiles so they work with CS...a daunting task for a newbie, or it was
when I last tried). There may already be such a thing, but I didn't see
it in any of the docs.
On Sat, 28 Oct 2000 hayward@... wrote:
> Excellent start, I too am a CS beginner and I'm having similar problems
> that you have with getting started. This faq would be tremendously
> helpful. Maybe included with this FAQ we could also touch up the simple
> tutorial to work properly as well, because it seems to have some problems
> that fail to allow it to compile with 0.17.
>
> --
> Brian
>
> On Sat, 28 Oct 2000, Rudolf Potucek wrote:
>
> >Hi Everyone!
> >
> >Ok, I am out of the big stress phase, so I have now had the time to take a
> >deeper look at CS ... and I am still not sure how everything interacts.
> >And how am I going to use CS, if the only way to find out is trial
> >and error (mainly learning from seg-faults)? Because of that, and because
> >I think I am not the only one starting with this problem, I would like to
> >start a FAQ (unless there is one ... no, the tutorial is great but no
> >help in getting started) on the most common startup questions.
> >
> >And to make a start, I will phrase some questions, which I hope someone
> >can answer (even just briefly, I am willing to do the legwork and figure
> >out what it means ;) I have also supplied some answers ... as best I know.
> >I am sure there are many more questions and answers, so hit me with them
> >or point me to the FAQ I missed.
> >
> >Rudolf
> >
> >--------------- QUESTIONS (and some answers I found) --------------------
> >
> >Q: I downloaded one of the big release files and there are no install
> > instructions. I figured out to type make linux (or whatever) and now
> > make tells me about all this cool stuff I can make ... WHICH ONES do I
> > make? Is there a simple 'make GET-ME-STARTED' option?
> >
> >A:
> >
> >---
> >
> >Q: Hmm, I looked at simple.cpp. I started at main(...) and worked my way
> > down ... but the program seems to terminate by calling a Loop()
> > function that's never defined. Where do I put my own stuff.
> >
> >A: Loop() is a function inherited from SysSytemDriver ... no worries.
> > The real meat are the functions Handle_Event(...) and Next_Frame(...).
> > They get called whenever something happens or a new picture is needed.
> >
> >---
> >
> >Q: What is all this stuff about plugins? If I want to write an
> > application, do I have to write a plugin?
> >
> >A: ? (I guess no for a standalone but yes for a utility?)
> >
> >---
> >
> >Q: I looked at the simple app and the way it builds the room ... then I
> > tried to put a box in the room, but I only see it if I am INSIDE the
> > box. Why?
> >
> >A: RTFM (Tutorial). Polygons are only visible if (after translation to the
> > 2D viewscreen they vertices are ordered clockwise.
> >
> >---
> >
> >Q: I want to build big objects into my world and I would rather not put in
> > every polygon by hand. I saw there is the csThing class but all the
> > examples I see keep using some sort of template? What is that template?
> > And why do I need to use it? Or do I?
> >
> >A: ?
> >
> >---
> >
> >Q: (v0.16) I made a csThing and added it to the sector but my app keeps
> > crashing?!?
> >
> >A: ? (It seems you need to set the 'parent' pointer of the csThing before
> > you AddThing() it to the sector)?
> >
> >---
> >
> >Q: What is a sprite? How is it different from just taking a csThing and
> > moving it around (like in blocks app)?
> >
> >A:
> >
> >---
> >
> >Q: The simple app and tutorial load a sprite template from disk. So I
> > looked and that file looks like some sort of VRML file or whatever.
> > Where did that come from? Can I make those somehow?
> >
> >A:
> >
> >---~
> >
> >Q: There are all these functions that just seem load data. Like terrain
> > meshes etc. Where did all that data come from? Is there an app to
> > create these data?
> >
> >A: ? (None in the CS stuff ... use Quake/Halflife stuff?)
> >
> >---
> >
> >Q: I have seen references to 'WorldFiles'. So after I have created a
> > sector (or many) can I somehow save/export them to file? And can I read
> > them again?
> >
> >A:
> >
> >---
> >
> >Q: I want to write some bigass FRP/FPS/... and it's supposed to have
> > loadable levels. So I just want to focus on writing NPC AIs,
> > creating levels etc. Is there a simple way to do this?
> >
> >A: ? (Cookbook style: * write kbd handler
> > * write collider?
> > * write AI plugin?
> > * load AI plugin
> > * load level?)
> >
> >~---
> >
> >Q: I looked at the API documentation and now I am confused: By the naming
> > there are obviously some very different classes, all just lumped
> > together ... and some of them seem to be doing exactly the same thing
> > (like csVector3 and csDVector3) ... so which ones should I use?
> > Or would I be better off to write all of my own stuff?
> > What is the significance of the iXxx classes?
> >
> >A:
> >
> >---
> >
> >Q: I looked at the API documentation and there are many cool functions
> > like fog, rain, snow, fountains, ... is there any place where it just
> > says how to use them?
> >
> >A:
> >
> >---
> >
> >Q: Ok, I have modified the simple app to the point where I'd really like
> > to put it in it's own place ... but where is the REAL makefile?
> >
> >A:
> >
> >---
> >
> >
> >
> >
> >
> >
> >_______________________________________________
> >Crystal-main mailing list
> >Crystal-main@...
> >http://lists.sourceforge.net/mailman/listinfo/crystal-main
> >
>
> _______________________________________________
> Crystal-main mailing list
> Crystal-main@...
> http://lists.sourceforge.net/mailman/listinfo/crystal-main
>
|