1. doun-t read if you arent MIKE!!!!!
- Posted by alojz.hancic at siol.net Apr 04, 2001
- 537 views
This is a multi-part message in MIME format. ------=_NextPart_000_005B_01C0BD41.7CF92300 charset="iso-8859-1" Hi Mike I have sended zou some mail to mtsreborn at yahoo.com but you didn't = anwserd me back. I have sended you this: In wich languge have you make your 3D engine. You said that it have = support for DX 5.0 ,well not that I doun't like that but moust of pepole = have DX 7.0 or 8.0 so it shoud have support for DX 7.0. Coud you send me = a source code for that engine so I coud see how it is build.That is = weary good what you are doing keep up the good work!!I like your idea for game (tell me when you will be done
.Coud you = give me a small tutorial where did you start with your game where do you = make levels in wich languge are you makeing your game,... ( I hope I am = not bordering you with this questions :) I have euphoria now for = a month, but I yust doun't have interest in programing in it ( I gess = becouse it is not a well know languge :)=20 I will get MSVC :) soon if you are interesting I coud send you a copy = (where do you live? :). Lep Pozdrav Jan ------=_NextPart_000_005B_01C0BD41.7CF92300 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2> <DIV><FONT face=3DArial size=3D2>Hi Mike</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV>I have sended zou some mail to <A title=3Dmtsreborn at yahoo.com=20 href=3D"mailto:mtsreborn at yahoo.com">mtsreborn at yahoo.com</A> but you = didn't=20 anwserd me back. I have sended you this:</DIV> <DIV> </DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>In wich languge have you make your 3D=20 engine. You said that it have support for DX 5.0 ,well not = that I=20 doun't like that but moust of pepole have DX 7.0 or 8.0 so it shoud have = support=20 for DX 7.0. Coud you send me a source code for that engine so I coud see = how it=20 is build.That is weary good what you are doing keep up the good work!!=20
</FONT></DIV> <DIV><FONT face=3DArial size=3D2>I like your idea for game (tell me when = you will be=20 done
.Coud you give me a small tutorial where did you start = with=20 your game where do you make levels in wich languge are you makeing = your=20 game,... ( I hope I am not bordering you with this questions=20 :) I have euphoria now for a = month,=20 but I yust doun't have interest in programing in it ( I gess becouse it = is not a=20 well know languge :) </FONT></DIV> <DIV><FONT face=3DArial size=3D2>I will get MSVC :) soon if you are = interesting=20 I coud send you a copy (where do you live? :).</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Lep Pozdrav</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial = ------=_NextPart_000_005B_01C0BD41.7CF92300--
2. Re: doun-t read if you arent MIKE!!!!!
- Posted by Mike The Spike <mtsreborn at yahoo.com> Apr 04, 2001
- 506 views
hi man! Sorry for missing your mail, man :( I have allready exceeded my 6 meg quota by having used 6,6 megs allready... So I eighter just overlooked it as being part of some mailing list post, or it got deleted by Yahoo. > Hi Mike > > I have sended zou some mail to mtsreborn at yahoo.com > but you didn't anwserd me back. I have sended you > this: > > > In wich languge have you make your 3D engine. You > said that it have support for DX 5.0 ,well not that > I doun't like that but moust of pepole have DX 7.0 > or 8.0 so it shoud have support for DX 7.0. I once said that I coded the engines when DX 5.0 was the newest version out there. But I put DX 7.0 support in there allready, and now thanks to Matt, I can port the engine's DLL to Euphoria code! > Coud you > send me a source code for that engine so I coud see > how it is build.That is weary good what you are > doing keep up the good work!!Thanks man! Well, again thanks to Matt, you will get the source as Eu code! I allready ported half of the IIDs and GUIDs DX7.0 uses to Euphoria. > I like your idea for game (tell me when you will be > done
.Coud you give me a small tutorial where did > you start with your game where do you make levels in > wich languge are you makeing your game,... ( I hope > I am not bordering you with this questions :) Not at all man. Whell, the game is just a demo to go with the engine wich shows you how use it. I used 3D Studio MAX to create the 3D model of a level, each wall, floor, staircase, etc. is a 3D object wich has it's own name and place in the hiearchy of the scene. I then export it to .3ds file format, and use a conversion tool to translate that file to a .x Direct X file. I then simply load the model, create a camera, slap some 3D models of guns and enemies in the 3D world, and let the player move the camera with the keyboard and mouse. Collision is detected between bullets and objects such as the player and enemies. In total the game is like 150 lines of Eu code while it is of Quake III quality. No DarkBasic can copy *that*! The engine can be set to a HardMode by simply doing: setVelocity(object,0,0,0) on any collision with anything in the world. The engine resembles win32lib, nottice that this was purely coincidential. The following is the complete source to a 3D model viewer with collision detection: constant wnd = create(Window,"Model loaded and displayed",0,0,0,640,480,0), view = create3D(ViewPort,0,640,480,0,0), cam = create3D(Camera,view,640.0,480.0,1.0,0), model = create3D(Mesh,view,0,10,10,10,0) setMesh(model,loadMeshFromFile("test.x",0)) setRotation(model,0,2.0,2.0) -- keep spinning it procedure onCollision_model(integer withwhat ) if withwhat = cam then setVelocity(model,0,0,0) -- stop it end if end procedure procedure onClick_wnd() -- when clicked, zoom camera setVelocity(cam,0,0,1.0) end procedure onClick[wnd] = routine_id("onClick_wnd") onCollision[model] = routine_id("onCollision_model") WinMain(wnd,Normal) > I have euphoria now for a month, but I yust doun't > have interest in programing in it ( I gess becouse > it is not a well know languge :) > I will get MSVC :) soon if you are interesting I > coud send you a copy (where do you live? :). > Man, one word of advice: Ifyou wanna do game programming, today, and you don't know a coding language, use Euphoria. You need to have being a C coder for atleast 5 years, day in day out, to be able to code a commercial 3D game. In eu, if you know the language, you can code your game, because in C if you know the langugae you know nothing, what you know is just a useless un-productive language standard (ANSI). After you know it, you must start looking out for C for a given platform, have to know how that platform acts, have to know about memory, the workings of the CPU and other hardware, etc. In Eu, you don't need all this. Eventhough, in C, you have loads of 3D engines, all of them require loads of work to start coding for them, get the right C compiler, the right version, start fiddling with makefiles, linking, linker directives, include file paths, import lib paths, etc. In Euphoria *ANY* library or API out there for it requires only this: include name.e And you can use it. And you know all it contains that you ought to use are constants, variables, and routines. in C you might have to #define stuff at the top of your C code, doubt if you are dealing with a macro, a function of type void or type x,x,x,x, or x, a pragma, label, register or variable, etc... C++ is even worse. If it is a language based on C, then what the hell is the following supposed to do?: cout << "Hello World!\n" << "From MTS!\n" endl; Exactly. OK I happen to know that cout is a buffer variable wich accepts bit shifts... But would YOU? That's why I like C better, use puts("Hello World!\nFrom MTS!"); to do the same as above, at least you see some logical recurring patterns in the code. VB let us not even talk about. The following lines are and e xample of it's ugly syntax and complexities thereof:(if I still know my VB:p); dim print as string(3) print = ("Hello","World","!!") form.print(print(1),print(2),print(3)) Same code in Euphoria: sequence print print = {"Hello","World","!!"} puts(1,print[1]) puts(1,print[2]) puts(1,print[3]) See? Much more structered, right? In VB you use '()' for array declarations, array indexing, function calls, function declarations and sub-expressions. In Euphoria, you use it for two things only: routines, and sub-expressions. Like so: print(1,(5+5)) Atleast you see some logic in it, right? (5+5) = 10 There, hope I satisfied your knowledge needs :p > Lep Pozdrav > > Jan Mike The Spike >