BlitzGL Virus / Zarch
Blitz3D Forums/Blitz3D Programming/BlitzGL Virus / Zarch
| ||
As mentioned in another thread, there was interest in a version of Zarch / Virus. I have some code I wrote a while ago that recreates this game, with the scrolly landscape, thrust particles, landing pad etc..., and it has a working 2 player network mode, but I didn't get around to the shooting part of it. I don't think it has map border checking either so will probably crash if you fly outside of the map area. Anyway, it's a 550kb ZIP file, and I don't have a website to host it on at the moment. Can anyone host this file for me so others can download it and have a play or possibly even finish it off? Thanks in advance. |
| ||
Send it to me at XXX and I'll put it up! |
| ||
Vorderman, tried emailing you - but didnt seem to get through ?. Its p.gerfen@... If Fredborg cant host, I've got some space going spare. Thanks !. |
| ||
Hi, Paul: I did try email you 3 times yesterday, but the mails keep getting returned. I've mailed you again just now with the ZIP file attached, just in case it works today. Fredborg: thanks very much - I've just mailed you the ZIP file in case Paul can't receive it. Thanks again. |
| ||
Thanks Vorderman, got it !. This is great stuff, why havent you finshed it !!!!. Love the stormy effects, makes you believe that your gonna fly straight into a twister. I've hosted it for as long as my bandwidth can hold out if anyone else fancys a look - compliments of Vorderman. :) www.gamedigits.com/GLZarch.zip |
| ||
Why not upload it to the Blitz Showcase site? Plenty of bandwidth there... Cheers, Ryan |
| ||
You can get it here as well: www.frecle.net/GLZarch/GLZarch.zip Off to try it now :) |
| ||
Oh, some userlib files are missing, could you post them or send them to me, so that I can include them in the archive? |
| ||
Fredborg, seemed to work fine on mine.. Do you have the Blitz OpenGL files installed ? |
| ||
Nope :) Where are they? It's hard to find stuff, when the search function is broken... |
| ||
I think they are the OpenGL Direct header files, there is a link in my signature. |
| ||
you probably need to copy the GLDirect decls files to your Blitz userlibs folder for it to work..? |
| ||
you probably need to copy the GLDirect decls files to your Blitz userlibs folder for it to work..? |
| ||
you probably need to copy the GLDirect decls files to your Blitz userlibs folder for it to work..? |
| ||
Hey, my first triple post. Stupid mouse. |
| ||
Yeah, I've got it working now :) Nice! |
| ||
Cheers - can anyone post up a couple of screenies? |
| ||
There ya go. |
| ||
Hey, that looks real neat. Might just grab that! :o> |
| ||
Oooo, it looks nice in screenshots. Thanks Paul. Hope someone finds a use for it. By the way, notice that the flames from the thrusters scorch the ground if you burn the same area for a while. I got a bit carried away with that small touch! |
| ||
I get an object does not exist error in Function FUNC_RenderLandscape(c.TYPE_craft) at the line h1# = map(basex+x, basez+z-1)\height# whenever I move for more than 10 seconds in any direction |
| ||
Same here... |
| ||
You're probably reaching the edge of the map area - there is no boundary checking so if the landscape tries to render outside the map area it will crash. You need to stay well within the map area. |
| ||
Oh my God, that rules! Looks even cooler if you full-screen it! |
| ||
I know the way it was done originally is cute in a retro sort of way, but I always wondered how Zeewolf 2 would look if the ol' Amiga could have rendered the landscape further out. I *love* running it with these two mods: · In FUNC_RenderLandscape (), set divisions to 30; · Leave Graphics call as Graphics GlWinW,GlWinH only. To me, this looks totally stunning! Beautiful work, Vorderman! |
| ||
I'll have to try that... |
| ||
Woah! That looks pretty good! Handles the number of polys too. Good old openGL. |
| ||
Looks lovely, Vorderman. Anyone tried running it in Blitz3D? It runs for a while then crashes with 'Object does not exist'. I can't track the problem down. 'elp! |
| ||
LOL... This will save anyone from having to actually read this thread...;op hackedglzarch.zip ~10KB Great stuff Vorderman :o) YAN |
| ||
Boy is my face red ; ) I've read it now, honest 0:) Cheers Yan |
| ||
Vorderman, Good stuff. I'm not really up on graphics internals but I take it OpenGL is an alternative to DirectX? What is it that OpenGL is doing here that I can't do in Blitz3d? |
| ||
Stevie G- I was just going to ask the same question. OpenGL is a direct X alternative, but doesn't do so much stuff as DirectX (e.g: sound), it's purely for GFX. I think OpenGL is available on more platforms than is DirectX, and one obvious advantage to using these libs is that you don't need to use B3D. Same question: What is it that OpenGL is doing here that I can't do in Blitz3d? |
| ||
I think you'll find it was programmed in Blitz Plus (which doesnt have any 3d support) - not B3D. Besides.. OpenGL does give you some nice little extras that blitz is currently missing. (you also get full control to take the graphics rendering pipeline down to the very bare bones) I like OpenGL, programmed quite a few little bits and pieces in it.. but unless your a programming god - its so much easier to use blitz and all the prebuilt functions. |
| ||
No, it was programmed in B3D - I don't have BlitzPlus. It uses Peter's DirectGL userlib to render using OpenGL, which allows much more control at a per-poly level, meaning I can render a small square of the landscape very quickly. Recreating this scrolling-landscape-square in Blitz is very tricky to do - I did try but couldn't find a way while still maintaining speed. Using OpenGL it becomes trivially easy. Of course B3D has many advantages to most of us hobby coders, but I love using OpenGL simply because it's such a user friendly but immensely powerful system. DirectX is probably more up to date and powerful, but it is utterly confusing and convoluted - at least DX6 was - I've never had the inclination to look at Dx7, 8 or 9. |
| ||
Ah - just tried Paul's Blitz version - very nice indeed. I tried using mesh modifiers to update the landscape, but couldn't get a decent result. Excellent work! |
| ||
You'd be referring to my version tough guy!! |
| ||
I was? Sorry :) |