Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (536)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  Time for Words  (Read 5680 times)
0 Members and 1 Guest are viewing this topic.
Offline KevinWorkman

JGO Wizard


Medals: 51
Projects: 11
Exp: 12 years


klaatu barada nikto


« Reply #30 - Posted 2011-06-23 17:35:12 »

The Internet isn't so vast as you might think. It's just a bunch of computers/routers connected to each other and a crapload of bytes running around like crazy Wink
You just need to open a port of your server on your router and computer and that's it. You can use your IP address to connect to the server from anywhere. Of course you do need a dedicated 24/7/365 online computer so if you have a spare, it's good enough.
Databases are used for data storage and organization, such as high scores, user data, etc...

I currently have a spare laptop running 2 servers which are powering my games Smiley

Can it really be that simple? I can't wait to try it out. I guess the next step is figuring out how to keep the source available without giving everybody access to write whatever they want to the server. I'll figure that out as I go though.

Thanks again for all your help. Now I'm really excited to try this out.

Static Void Games - Play indie games, learn game programming, upload your own games!
Online loom_weaver

JGO Coder


Medals: 17



« Reply #31 - Posted 2011-06-24 21:58:52 »

Very useful tutorial if you want to learn networking and high scores: http://download.oracle.com/javase/tutorial/networking/sockets/

Thanks for the link. I've actually done some socket programming (way back in high school), and I can probably wrestle with the programming side of it. I guess my ignorance is mostly with the logistics- how do I even get a server set up? I can get a simple server and client running on a single computer, but the vastness of the internet scares me. Should I use a home computer that's always running, or should I use my site's host (hostgator)? Either way, what goes into setting it up? Or am I going about this the wrong way- should I look into using a database of some kind? Eek!

I know the answers to these questions are "try it and see what happens", so I suppose that's my next step.

If all you're trying to do is make a high-score board then I would recommend something simpler:

1) On your main website create some kind of html form input that will accept a submission, add it to a database or file, and display the results.
2) Test your form submission by creating a dummy html submit page that submits to your form.
3) Rig your game to submit the high-score to this html form.

This scenario is using any web server as your server.  Full blown client/server networking with sockets only makes sense if you want to create a multiplayer game.
Offline ReBirth
« Reply #32 - Posted 2011-06-26 05:25:03 »

Very nice to play. You can save up a lot space to reduce the window size. There're so many empty space and two unused buttons (I believe it's faster to press Space then clicking with mouse) to be removed.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline KevinWorkman

JGO Wizard


Medals: 51
Projects: 11
Exp: 12 years


klaatu barada nikto


« Reply #33 - Posted 2011-06-27 14:39:49 »

Very useful tutorial if you want to learn networking and high scores: http://download.oracle.com/javase/tutorial/networking/sockets/

Thanks for the link. I've actually done some socket programming (way back in high school), and I can probably wrestle with the programming side of it. I guess my ignorance is mostly with the logistics- how do I even get a server set up? I can get a simple server and client running on a single computer, but the vastness of the internet scares me. Should I use a home computer that's always running, or should I use my site's host (hostgator)? Either way, what goes into setting it up? Or am I going about this the wrong way- should I look into using a database of some kind? Eek!

I know the answers to these questions are "try it and see what happens", so I suppose that's my next step.

If all you're trying to do is make a high-score board then I would recommend something simpler:

1) On your main website create some kind of html form input that will accept a submission, add it to a database or file, and display the results.
2) Test your form submission by creating a dummy html submit page that submits to your form.
3) Rig your game to submit the high-score to this html form.

This scenario is using any web server as your server.  Full blown client/server networking with sockets only makes sense if you want to create a multiplayer game.


I'll definitely have to check that out as an option as well. I'm still really new to the web stuff, so it will take some playing around. From my initial googling, it seems like this might be a simpler alternative.

Static Void Games - Play indie games, learn game programming, upload your own games!
Offline KevinWorkman

JGO Wizard


Medals: 51
Projects: 11
Exp: 12 years


klaatu barada nikto


« Reply #34 - Posted 2011-06-27 14:42:03 »

Very nice to play. You can save up a lot space to reduce the window size. There're so many empty space and two unused buttons (I believe it's faster to press Space then clicking with mouse) to be removed.

Thanks for the feedback. Maybe condensing everything will be a part of the "2.0" modifications. I don't want things to be too squished though (especially if I'm going for larger character pools), and I think the buttons make it easier for somebody to jump in without reading the directions too carefully first.

Static Void Games - Play indie games, learn game programming, upload your own games!
Pages: 1 [2]
  ignore  |  Print  
 
 

 
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!