Space Bomber
Forum » Game Design / Showcase » Space Bomber
started by: u9u9
on: 1256902735|%e %b %Y, %H:%M %Z|agohover
number of posts: 31
rss icon RSS: new posts
Space Bomber
u9u9 1256902735|%e %b %Y, %H:%M %Z|agohover

They are few and far between, but here is another game i have started working on.

Space Bomber

It is (will be) a space shooting MMO with planets and gravity, shields and whatnot. Screenshots will come as we progress. The code is opensource and can be downloaded from googlecode for anyone who wants to build it (nothing much yet). It requires SFML.

The brighter ones will notice who made the graphics which can be found in the souce->browse->trunk->client->media :)

last edited on 1256902760|%e %b %Y, %H:%M %Z|agohover by u9 + show more
unfold Space Bomber by u9u9, 1256902735|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
mr glassesmr glasses 1256932542|%e %b %Y, %H:%M %Z|agohover

oh! oh! may I help out? :) (particularly with graphics and such)

last edited on 1256932574|%e %b %Y, %H:%M %Z|agohover by mr glasses + show more
unfold Re: Space Bomber by mr glassesmr glasses, 1256932542|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
hartnellhartnell 1256959075|%e %b %Y, %H:%M %Z|agohover

:)

Sooooooo, when can I get a win 32 build of this? :)

— hartnell

unfold Re: Space Bomber by hartnellhartnell, 1256959075|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
mr glassesmr glasses 1257016987|%e %b %Y, %H:%M %Z|agohover

I don't think he has one. To me it sounds like it's just in early W.I.P. stages.

unfold Re: Space Bomber by mr glassesmr glasses, 1257016987|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
commander of gamescommander of games 1257018884|%e %b %Y, %H:%M %Z|agohover

What program did you use? Just curious…

unfold Re: Space Bomber by commander of gamescommander of games, 1257018884|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
u9u9 1257022154|%e %b %Y, %H:%M %Z|agohover

Hey everyone, and welcome to my blog ;)

I'm very happy you guys are showing an interest in this game. I'm wondering, is it the MMO part of the title? It might have been overstated a bit… With our current design i don't think we will be able to have a massive amount of players. But i'm hoping 20 won't be a problem… we'll see, or, i hope we will see.

@mr glasses, [Removed] yeah… ehm… i mean, yes sir! Neither me nor my "partner in crime" have any graphics skills whatsoever1. What we need is planets, and space "things", i don't know what everything in space is called, supernovas and such, background (stars and such), parallax layered would be nice like i did with my Space shooter RPG like demo (which didn't get further. Some space ships, although i have some fine specimens from hartnell and the gang (kakefisk). They will probably (hopefully) need some add-ons later on, and coloring. I am thinking each player can color an overlay, which will be applied to the ships to give each player his unique color. Not sure how to do that just yet, some kind of blending and alpha channels and such. Who knows what else will be useful, HUD, pickups, missiles and bullets, homing mines?, space station etc etc. The game is pretty open still.

@hartnell, good to see you around :) What happened to your photo? Did you remove it because you were afraid it was scaring people off? Hehe ;) Anyways, my first build was just a spaceship underneath the mouse pointer. Then we created two separate projects, one for the server and one for the clients. The plan is to build in phases. In the first phase the server will send the complete gameworld (unreliably using UDP) to all clients and the clients will send their keyboard state to the server (also unreliably). The game will execute on the server so if a client should not receive the gameworld once, he'll get it next frame.

So, nothing really to see yet. But as soon as i have a spaceship flying around, i'll create a build and post it on googlecode.

Do you think we can set up a wiki here? Is it possible to create a wiki with my own domain? I have bought spacebomber.net and i am thinking there is no better wiki software (at least syntax wise) then this!

My personal goal with this project is to learn SFML to the bone (i haven't forgotten about our SFML project hartnell :)) as well as multiplayer games and the problems related to these. I am also in the process of writing a zombie shooter game using SFML which i am writing a tutorial series about. Hopefully all this will lead to somewhere.

last edited on 1257039370|%e %b %Y, %H:%M %Z|agohover by mr glasses + show more
unfold Re: Space Bomber by u9u9, 1257022154|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
mr glassesmr glasses 1257039147|%e %b %Y, %H:%M %Z|agohover

so there could be different sections of the ship? perhaps you can put your own ship together with wing parts and what you can put on depends on your base hull and of course the size of your pocketbook.

P.S. what's with the "yes sir" thing?

last edited on 1257039346|%e %b %Y, %H:%M %Z|agohover by mr glasses + show more
unfold Re: Space Bomber by mr glassesmr glasses, 1257039147|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
u9u9 1257022239|%e %b %Y, %H:%M %Z|agohover

@cog, we are using C++ with SFML.

unfold Re: Space Bomber by u9u9, 1257022239|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
u9u9 1257037646|%e %b %Y, %H:%M %Z|agohover

My blog update for the evening.

I implemented part of "phase one" of our communications protocol, which now allows clients to connect to the server and when they do the server creates a space ship for them and it becomes part of the game world. I also implemented the client to show all game objects sent from the server.

In short, i implemented connecting to the server and showing the game world… next step, send movement commands from clients to control spaceships… also, it might be time for some updates of the game world so the ships actually move :)

Here's a screenie

spacebomber_screenshot_001.png
unfold Re: Space Bomber by u9u9, 1257037646|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
mr glassesmr glasses 1257038473|%e %b %Y, %H:%M %Z|agohover

cool! Look's great so far, simple, but a good start.

unfold Re: Space Bomber by mr glassesmr glasses, 1257038473|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
mr glassesmr glasses 1257038755|%e %b %Y, %H:%M %Z|agohover

@graphics. ;) I can do pretty much anything you'd like. Space ships, missles, mines, space stations, frigates, planets, HUD elements, missles, mines, explosions lasers….the whole bit. (maybe even soem cool looking 3D stuff that is generally unusefull :) I can work of some parrylax layers and nebuli also.) Anything you need I can try…though I won't guaruntee success. :) What sort of art style are you guys going for?

I'd offer to help with programming, but you have me way beat there. I'd be more of a hinderance than a help since I knew very little about c++ (but I'm dying to learn and I don't spend enough time trying to learn)

I also can help with sounds and can dredge up a nice collection of creative commons music.

Anything you need I can try out. :)


Perhaps the response is due to the fact that your making a project and we'd love to see our expert c++er in action and be a part of it?

last edited on 1257038991|%e %b %Y, %H:%M %Z|agohover by mr glasses + show more
unfold Re: Space Bomber by mr glassesmr glasses, 1257038755|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
mr glassesmr glasses 1257112757|%e %b %Y, %H:%M %Z|agohover

Here is a planet that I cooked up for this project. suggestions for future makes? (I can also send you a version with the alpha channle if oyu would like)

stone_planet.png
last edited on 1257112908|%e %b %Y, %H:%M %Z|agohover by mr glasses + show more
unfold Re: Space Bomber by mr glassesmr glasses, 1257112757|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
u9u9 1257116667|%e %b %Y, %H:%M %Z|agohover

This looks really good. It gives me an idea. Can i get the red atmosphere effect as a separate image. That way i can slowly rotate the planet while the atmosphere (source of light) stays the same… i think it will look awesome!

Maybe i need the atmosphere as red on transparent, so to speak, so that it is see-through. We should really do some experiments. I want to do something similar with the ships so the players can have different colors.

unfold Re: Space Bomber by u9u9, 1257116667|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
mr glassesmr glasses 1257116968|%e %b %Y, %H:%M %Z|agohover

thanks :)

hmmm… seperating the red glow out would be easy, but making it so you can make it rotate and maintain the lighting will be extreamly tricky…..is that what you wanted to do?

last edited on 1257117070|%e %b %Y, %H:%M %Z|agohover by mr glasses + show more
unfold Re: Space Bomber by mr glassesmr glasses, 1257116968|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
u9u9 1257117068|%e %b %Y, %H:%M %Z|agohover

Blog update. I have now converted the commands sent from clients into spaceship movements. Planet rotates and you can now fly around with the spaceship when you connect. You will also see the other players flying around.

Here is a demo where i connect two clients and fly with both of them

http://www.screentoaster.com/watch/stV0JXS0FIR1xYQVxaX1pbUF5d/space_bomber_first_movements

unfold Re: Space Bomber by u9u9, 1257117068|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
mr glassesmr glasses 1257117778|%e %b %Y, %H:%M %Z|agohover

looks cool! I can't wait till you make the roolms bugger and add in a camera (view)

unfold Re: Space Bomber by mr glassesmr glasses, 1257117778|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
u9u9 1257285520|%e %b %Y, %H:%M %Z|agohover

I added some (crappy) gravity, collision detection and response to the planets. There is also a build (finally) so if you feel like trying it out, have a go and download it from:

http://code.google.com/p/spacebomber/downloads/list

There is a separate download which contains all the SFML dll files which either have to be installed, or put in the same directory as the executable.

Let me know how it goes :)

unfold Re: Space Bomber by u9u9, 1257285520|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
mr glassesmr glasses 1257286916|%e %b %Y, %H:%M %Z|agohover

could you compress thsoe as .zip instead of .7z?

unfold Re: Space Bomber by mr glassesmr glasses, 1257286916|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
u9u9 1257350833|%e %b %Y, %H:%M %Z|agohover

The size of the 7zip file compared to a rar file was about 66% when i compressed the DLLs. Which means it is probably close to half size of a zip file (the worst of the bunch). 7zip is the future.

Can you download 7zip? If not, i will make a zip file available to you :) You're making graphics so it is quite important that you can try it of all people ;) I chose 7zip because there is not so much to show so i figured i would save on space.

btw, I will include your planet in the next build! It will probably be tomorrow (Thursday evening).

unfold Re: Space Bomber by u9u9, 1257350833|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
u9u9 1257364506|%e %b %Y, %H:%M %Z|agohover

Here is a zip file of the build which includes the dll files. Download this, run the server then the client and you should be "playing" in no time ;)

http://www.mediafire.com/?mlmmmzmrtdz

last edited on 1257364519|%e %b %Y, %H:%M %Z|agohover by u9 + show more
unfold Re: Space Bomber by u9u9, 1257364506|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
mr glassesmr glasses 1257374140|%e %b %Y, %H:%M %Z|agohover

cool! and thanks. I extracted but the client never initiates the window…it just flashes a piece of text and shuts down…

do you need the alpha channel?

unfold Re: Space Bomber by mr glassesmr glasses, 1257374140|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
u9u9 1257404027|%e %b %Y, %H:%M %Z|agohover

It shouldn't shut down. Are you sure you didn't press escape to close the client? Did you start the server first? Do you have a firewall installed/enabled, and if so, did it pop up with a warning when you started the server and another warning for the client?

What was the flashing text? it should tell which server the client is trying to connect to… ah, unless you mean the text in the console window. If that is the case, try running it from the console.

Open a console by pressing windows+r, type cmd. Then cd to the directory where you extracted the files and type client.exe. When the client exits (crashes?) you should see the text in the console.

Let me know how it goes :)

unfold Re: Space Bomber by u9u9, 1257404027|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
mr glassesmr glasses 1257475445|%e %b %Y, %H:%M %Z|agohover

finnally got it work work after having to "help CD" lol…(glad I remembered the help thing) anyway, it's cool but your thrusters arn't powerfull enough to accelearte you to escape velocity.

unfold Re: Space Bomber by mr glassesmr glasses, 1257475445|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
LinkageLinkage 1257409795|%e %b %Y, %H:%M %Z|agohover

I just tested it out then. I had the same problem as Mr Glasses, the text that was appearing for me was "Address 255.255.255.255 is not valid". I then figured it might have been an address issue, so I tried "client.exe localhost" and that worked for me.

It's pretty cool, though that gravity seems a bit strong. :P Once I got too close to a planet I'd just get stuck. :P

So what do you think you might be working on next and stuff?

unfold Re: Space Bomber by LinkageLinkage, 1257409795|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
u9u9 1257462877|%e %b %Y, %H:%M %Z|agohover

Thanks. Glad to get some feedback. Right now there isn't much happening. We have recently added some bullets, but they don't really do anything (except kill the network when too many are fired). So my first priority is fix that, then

  • add camera view, so the world becomes bigger
  • Then maybe collision between players so they bump instead of flying through
  • And then bullet damage and killing each other.

Something like that.

unfold Re: Space Bomber by u9u9, 1257462877|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
mr glassesmr glasses 1257475520|%e %b %Y, %H:%M %Z|agohover

can you send arrays over a network in one query?

unfold Re: Space Bomber by mr glassesmr glasses, 1257475520|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
LinkageLinkage 1257484591|%e %b %Y, %H:%M %Z|agohover

From my experience with Box Chaser, yes you can. My system actually sends the gamestate over as one [12][3] array. Probably not a good idea with larger or preferably more efficient games, but it's working for my purposes so far.

unfold Re: Space Bomber by LinkageLinkage, 1257484591|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
mr glassesmr glasses 1257519451|%e %b %Y, %H:%M %Z|agohover

I might work for just bullet handling though. Either way you look at it, you probably won't be able to send the bullet data in every ping.

unfold Re: Space Bomber by mr glassesmr glasses, 1257519451|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
u9u9 1257537365|%e %b %Y, %H:%M %Z|agohover

Funny you guys mention this. I have already reached the limit of a UDP datagram so we now have to start looking at optimizing communications. We can no longer just "spam" the entire world to every connected player any more :) in fact my limit was bullet no. 40 :)

unfold Re: Space Bomber by u9u9, 1257537365|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
LinkageLinkage 1257549727|%e %b %Y, %H:%M %Z|agohover

Hm, interesting. I personally don't have that sort of problem since I don't plan on really using bullets per se in my game. But it does make me wonder how you could effectively send larger data like that over without screwing things up.

I have also been using TCP though, if that makes any difference. I WOULD have gone for UDP, except that actually caused troubles in my server set up and so I had to stick with TCP.

unfold Re: Space Bomber by LinkageLinkage, 1257549727|%e %b %Y, %H:%M %Z|agohover
Re: Space Bomber
mr glassesmr glasses 1257613297|%e %b %Y, %H:%M %Z|agohover

You could try sending it only every 1/3 or 1/4 of a second and then use interpolation techniques.

unfold Re: Space Bomber by mr glassesmr glasses, 1257613297|%e %b %Y, %H:%M %Z|agohover
new post