Simple SpaceBattle Demo
Community Forums/Showcase/Simple SpaceBattle Demo
| ||
Hello, Yesterday I spent a couple of hours putting this together, it is a simple demo of a space battle. Extremely basic at this stage but it is at the location below. Use the cursor keys and A/Z to move the camera around the environment. There is a text file called ships.txt which contains the number of each type of ship, as well as some instructions. Source code is provided (1 simple .bb file with very few lines). The demo is zipped and is about 1Mb in size. Feel free to do whatever you want with this. http://home.swiftdsl.com.au/~gezeder/lloyd/SpaceBattle.zip |
| ||
link not working |
| ||
Link works now. It runs a bit fast here (perhaps no frame limiting - see "WaitTimer"), but it looks like you've achieved what you set out to do - a big space battle: nice. Thanks for including the source - it's a cool demo. :) |
| ||
I forgot to put frame limiting into it...although given the source is included it is not too hard to put in. An easy way is like this: at the beginning of the core loop (repeat...etc) if millisecs()>time then time=millisecs()+15 and place the end if immediately before renderworld/flip |
| ||
very good - how did you create the skybox texture and get it seamless? |
| ||
Skybox/Starbox texture made with this program I found on the web: http://www.dnxworld.homestead.com/files/starbox.zip Then added some airbrushed colored regions with Ultimate Paint. |
| ||
wow runs really fast on my setup as well |
| ||
thanks matty very useful |
| ||
Pretty cool, but the explosions were too small ;)![]() ![]() |
| ||
can I copy the way you do lasers? |
| ||
nice lasers and effects=(could build up a great atmosphere) It would look even better with a twinkling star background |
| ||
Great job! I'm so jealous that you did this in a day, I did something similar in 2d that took me the better part of a week and had alot more code lol. |
| ||
Slenkar - yes you can copy the way I do lasers. The source code and media is free to use however you like and modify. Below is another version, which I wrote last night, which you can either just watch the same as in the one above, or you can play by pressing tab to start, then using cursor keys, a/z and spacebar to fire with one of the fighters. It also has frame limiting and a few bug fixes. Pressing tab will switch between "playing mode" and "watching mode" http://home.swiftdsl.com.au/~gezeder/lloyd/PlayableDemo.zip |
| ||
thanks,for letting me copy your codez |
| ||
aab, stars don't twinkle in space, they only appear to when look through a planets atmosphere. |
| ||
Nice stuff. Would be a good engine for a homeworld/space rts kind of game. Is there a problem my end or no sound in the demo? Rip some star wars music/lasers..;) |
| ||
Currently there is no sound included. I am thinking of using something like this for a sci fi empire building game based on a variant of a board game called Twilight Imperium. |
| ||
Anyone have this file? |
| ||
what, the space battle or the starbox.zip? However, here's http://www.xs4all.nl/~xelag/starbox.zip although not integrity checked so far. |
| ||
Oh sorry, I'm looking for spacebattle.zip. I tried the Wayback Machine with no luck. Thank you! |
| ||
Matty i can't download this sounds quite fun |
| ||
I'm looking for spacebattle.zip. It was still hanging out in my Blitz folder, so I've put it at http://neonavis.com/spacebattle.zip |
| ||
Much appreciated. I owe you one! |
| ||
I can't get your site or the download to start. |
| ||
My hosting service sometimes "takes a nap," so that might have been the problem. But I tried it just now and it downloaded fine (and it's been downloaded 29 times in the past few days). Please try again and let me know if it doesn't work for you. |
| ||
I'm tempted to make an improved version of this thing seeing as people are interested in it. |
| ||
Sounds cool to me. I'd like to see it. I'm trying to work out some laser code for my current project. That's why I was looking for your demo. Much appreciated Mike |