From your postings, I gather you know C++. Have you ever worked with SpriteWorld 2? I need some <-- help...
(OK, I need alot of help...)
------------------
Quote
Originally posted by AVN:
**From your postings, I gather you know C++. Have you ever worked with SpriteWorld 2? I need some <-- help...
(OK, I need alot of help...)
**
Unfortunately, no. I have worked with OpenGL, but I don't think that will help you... Hmm... Tell me where to find SpriteWorld 2, and I might be able to help you - it would take me a bit longer than if I was familiar with it, but that's still better than nothing.
------------------
(Insert Signature Here)
OK. Here it is: (url="http://"http://www.spriteworld.org/")http://www.spriteworld.org/(/url)
Thanks! I've been trying to figure out what's going on when the program quits even though there's a loop.
while (5>3)
{
// move the Sprites to their new positions
SWProcessSpriteWorld(mySpriteWorld);
// render a frame of the animation
SWAnimateSpriteWorld(mySpriteWorld);
}
I'm pretty sure 5 is less than three , so this should work, right?
Also, do you know how to define a "moveProc"?
(too confusing for me! :eek: !)
------------------
D'oh! I hope you saw that I typed GREATER THAN in my code, or you'll think I'm a COMPLETE idiot! But, anyway, I tried using (true) instead of (5>3) and it worked (well, sort of.) I got more of the effect I was expecting. I don't think that the statement (5>3) was passed as true for some reason, because I tried typing the code inside w/out the repeat, and it crashed. Same effect as the (true) in my repeat. Something has got to be wrong w/my other code, because the examples that come w/SpriteWorld use the exact same code as I did in their examples, and it worked fine. (They used while (true), by the way, not (5>3).
------------------
Quote
Originally posted by Wyvern:
**if you ever need help with OpenGL...
**
Actually...
Have you ever played "Marathon", "Marathon 2", "Marathon Infinity", or other games of that sort? What would be my best bet at programming something like that? Do you think I could do that w/OpenGL?
Also, I suppose I might as well ask : Does anybody know if EV was done in C++? Did they use some sort of "plug-in" like SpriteWorld?
Heck, why not : Starcraft? What language was that done in? etc.
Might as well : Just kidding. That's all.
Thanx for putting up with annoying questions,
AVN
------------------
//or, for even lazier programmers like me:
while(1)
{
//Stuff
}
------------------
I probably should put some witty remark here. But I won't.
Quote
Originally posted by AVN:
Have you ever played "Marathon", "Marathon 2", "Marathon Infinity", or other games of that sort? What would be my best bet at programming something like that? Do you think I could do that w/OpenGL?
Something like that could certainly be done with OpenGL. As to whether any given person could do it... That's another question entirely. I have built a sort of a proto-game-engine using OpenGL, so I know it isn't that difficult to make something simple (assuming you know the math - a good command of vectors is essential).
------------------
(Insert Signature Here)
If you know OpenGL, the guys at (url="http://"http://source.bungie.org")Marathon Open Source(/url) could use your help with Aleph One.
------------------
Those who are blinded by the light shall stumble in the darkness...
Visit the (url="http://"http://pub40.ezboard.com/bthecatacomb")Unofficial EV Webboard(/url)!
(url="http://"http://www.AmbrosiaSW.com/cgi-bin/ubb/search.cgi?action=intro &default;=")USE ME, DAMNIT!!!(/url)
Quote
Originally posted by Wyvern:
**(assuming you know the math - a good command of vectors is essential).
**
What's a vector? Perhaps I should learn a little more C++ before attempting this.
How did you learn C++? How did you learn OpenGL? What did you mean by, "Whether any given person could do it"? Does that mean it's hard? What is my record for consecutive questions asked? Do you know? What else can I ask you? (Ok, enough of that. I'm back to normal now. Well, as normal as I ever was. )
------------------
HEY! I just had an idea! Would you like to help make a really cool game?
The reason I've been asking you all these questions is because I am making a game called Target System 2000. It's sort of Marathon, Starcraft, EVO, and a new storyline all thrown together. You obviously are better at C++ than I am. And I certainly can't program what I was hoping for. Would you want to help out? You'd get your name in the credits, and some $$$ depending on how much I make. If you would like to know more, post your e-mail adress and I will send you some info. Please do not post it here and spoil the story for everyone else! I want it to be a secret! If you do not want to help, could you at least send me that game engine you were talking about? I would like to see how it works.
Thanx, and even more thanx if you decide to help
AVN
------------------
Your pet poodle is flying loop-de-loops over my microchips! The poodle is coming! The poodle is coming! (Don't ask )
FYI, EV and EV:O were written in C (not C++) using SAT (I believe there's a link to SAT from the SpriteWorld links page). As for SpriteWorld (which is being used in EV:Nova), that is also in C.
As for the MoveProc question, look at any example, there will be several functions declared as SW_FUNC void function_name(arguments) (obviously function_name and arguments are substituted for real values). One or several of these will have move in the name. Find these in the source code, read and think. Those are move procs.
------------------
--sitharus
(url="http://"http://www.evp.f2s.com/boards/")The Alternative EV/O Boards(/url) (url="http://"mailto:sitharus@ureach.com")mailto:sitharus@ureach.com(/url)sitharus@ureach.com
Firstly, while I may be better at programming than you (though I make no claims to this regard), that doesn't mean I am a good programmer. The proto-game-engine I have is essentially a moving viewpoint in a hardcoded universe. It has no comments, and while it might be a starting point for a game, it is a very basic starting point. If you really want it though, put up an e-mail address, and I'll send it to you - but don't expect it to miraculously solve your difficulties. It is also rather finnicky (it crashes if I try to run it without extensions off). And it is based in 3d, more like descent than marathon. And I never got around to trying to put in textures, so you'd have to figure that out on your own. And so on.
------------------
(Insert Signature Here)
Any example of OpenGL that might be remotely useful to learning how to use it is fine! alanvn@ulster.net
------------------
Your pet poodle is flying loop-de-loops over my microchips! The poodle is coming! The poodle is coming! (Don't ask )
Quote
Originally posted by AVN:
(B) What's a vector? Perhaps I should learn a little more C++ before attempting this.
um, not more c/c++ you need to take trig first, to find out what vectors are, they are essential to programming 2d and 3d games where angles are involved. The Calculus helps a lot as well, but not as much as trig.
Chamrin
Quote
Originally posted by Chamrin:
**um, not more c/c++ you need to take trig first, to find out what vectors are, they are essential to programming 2d and 3d games where angles are involved. The Calculus helps a lot as well, but not as much as trig.
**
And physics. Vectors are involved in many physics principals.
------------------
--sitharus
(url="http://"http://www.evp.f2s.com/boards/")The Alternative EV/O Boards(/url) (url="http://"mailto:sitharus@ureach.com")mailto:sitharus@ureach.com(/url)sitharus@ureach.com
I learnt about vectors in physics, not trig. Anyway, there are plenty of books out there...
------------------
--sitharus
(url="http://"http://www.evp.f2s.com/boards/")The Alternative EV/O Boards(/url) (url="http://"mailto:sitharus@ureach.com")mailto:sitharus@ureach.com(/url)sitharus@ureach.com
Yes, physics is one of the best places to learn about vectors. However, it would also be useful to take a course in multivariable calculus. You won't use the calculus part much in dealing w/ game programming, but that's where I learned alot of the vector manipulation stuff I use, especially for dealing with relations between position vectors, velocity vectors, and acceleration vectors.
------------------
(Insert Signature Here)