Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (753)
Games in Android Showcase (228)
games submitted by our members
Games in WIP (842)
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]
nelsongames (16 views)
2018-04-24 18:15:36

nelsongames (12 views)
2018-04-24 18:14:32

ivj94 (587 views)
2018-03-24 14:47:39

ivj94 (49 views)
2018-03-24 14:46:31

ivj94 (400 views)
2018-03-24 14:43:53

Solater (64 views)
2018-03-17 05:04:08

nelsongames (110 views)
2018-03-05 17:56:34

Gornova (175 views)
2018-03-02 22:15:33

buddyBro (723 views)
2018-02-28 16:59:18

buddyBro (93 views)
2018-02-28 16:45:17
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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‑
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!