Java-Gaming.org Hi !
Featured games (81)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (576)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Game Development / Newbie & Debugging Questions / Re: Board Game on: 2005-06-26 00:32:07
Thanks ME, I tried the php database thing. And all seems to work fine. I have some other issues Im working out but don't think it is related to that.  Thanks again, Bigdaddy
2  Game Development / Newbie & Debugging Questions / Re: Board Game on: 2005-06-15 22:36:00
ok I think I have an understanding of this script. A few minor questions but first let me ask you this.  This game is a four player marble game. The script you have above would allow each player to get x,y coordinates of all the marbles on the board. However when a player moves his marble how will he write the new x,y coordinates to the database. Can an applet do that through php also?
3  Game Development / Newbie & Debugging Questions / Re: Board Game on: 2005-06-15 20:00:55
Thanks for the reply,Me
this looks like what I might be looking for. I have to go to work now and i'll need some time to study the code you posted to see if i understand it. I'll get back with you when I look at it. (im sure ill have some questions) Thanks bigdaddy
4  Game Development / Newbie & Debugging Questions / Re: Board Game on: 2005-06-14 18:30:20
WOW this is kind of discouraging. After all the hours I put into building the applet.  I am using a web host that I pay for every month so It looks like the database is my only option then.  Can an applet even write to a database?  I was researching that on Google and found a post that said you could not so I dropped that idea and started looking into sockets. It just seems there ought to be a way to transfer a few variables from an applet to a page on the webhost and then a way for an applet to retreive a variable from that page. Anyway I guess I'll look into the mysql again.  I think the modified date thing sounds good. Then It wouldnt have to read the whole 16 entries every time. Just one unless it has changed. (is that what you were saying?) Thanks
5  Game Development / Newbie & Debugging Questions / Re: Board Game on: 2005-06-13 02:37:51
So what your saying is internet based multiplayer games are difficult to build?  How about using mysql to hold the x y coordinates of the marbles on the gameboard?  Can an applet write to a database?  Then the clients could query the database to update their board.
6  Game Development / Newbie & Debugging Questions / Re: Board Game on: 2005-06-13 01:59:19
yes it is an internet game.  The game is now a fully functioning game applet.  I have done alot of reading on sockets and I think I understand the way the sockets work. My biggest question is the format of the serverside. I dont know how to build it. If I could build it as an applet and name the variables and put default values in init() and then use sockets to change the values of those variables and have the client applets update off of the main applet on the server. But I assume you cant use an applet as the server.  I think Im just missing the basic structure of the server.
7  Game Development / Newbie & Debugging Questions / Re: Board Game on: 2005-06-12 20:24:12
Hey Jeff, thanks for the reply.  I think the socket would be best, Im just having a problem understanding how to build the server and start it.  The applet has a multi dim array containing the x y coordinates of all 16 marbles ( balllocation[][])  This is the only info i need to exchange other than who's turn it is and maybe a few other things like when someone wins.  This game is strictly private on my website so It doesnt need any kind of "choose a table" interface or anything like that. 
8  Game Development / Newbie & Debugging Questions / Re: Board Game on: 2005-06-10 20:39:39
Thanks for the response. I have done as you suggested. The game is a 4 player game and is fully functional on one computer. It rotates the veiw of the board when players change.  I have 16 marbles on the board and they each have an x,y coordinate. when the player changes it updates these coordinates and repaints.  I need a way of exchanging these 16 points among the four applets. Its a slow paced game so I even thought about using mysql database as a means to hold these 16 points. but couldnt get that to work.  I think I need a servlet to contain these 16 variables but I have no experience with servlets.  I just subscribed to a new host that supports servlets. They told me to make my own WEB-INF & classes folders.which I did. They said to request a reload after changes. Do I need to request a reload everytime I add or change a file?  Also Im not sure how to deploy a servlet. I know the servlet will have to be listening for a connection from the applets. Thanks
9  Game Development / Newbie & Debugging Questions / Board Game on: 2005-05-21 00:39:58
I am new to Java.  I have been reading for a couple of months now and decided to build a board game with marbles and dice. I would like to use this game on my personal website just for personal use, so it shouldnt have alot of traffic.  Here is my question, I have started building the game and have the graphics layed out and have an animated dice to retrieve a random number when clicked and am preparing to add the game pieces (marbles). Can I build the applet with all the game logic included so that each client will have a fully functioning game and then just build a server page to forward events to each client as they happen. or is it way more complicated than that.  I bought a book on networking but it is cluttered with so much stuff to handle many players (playing, watching, waiting to play, etc.) that I wonder if for something like this it might be simpler. Thanks
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Longarmx (43 views)
2014-10-17 03:59:02

Norakomi (33 views)
2014-10-16 15:22:06

Norakomi (26 views)
2014-10-16 15:20:20

lcass (30 views)
2014-10-15 16:18:58

TehJavaDev (60 views)
2014-10-14 00:39:48

TehJavaDev (60 views)
2014-10-14 00:35:47

TehJavaDev (50 views)
2014-10-14 00:32:37

BurntPizza (66 views)
2014-10-11 23:24:42

BurntPizza (38 views)
2014-10-11 23:10:45

BurntPizza (80 views)
2014-10-11 22:30:10
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
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!