Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (476)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (531)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Multiple ViewingPlatform  (Read 2026 times)
0 Members and 1 Guest are viewing this topic.
Offline harry@dayfamilyweb

Junior Member





« Posted 2006-04-07 09:29:14 »

how do you create multiple viewing platforms
Offline Jeff

JGO Coder




Got any cats?


« Reply #1 - Posted 2006-04-08 00:53:28 »

Do you mean multiple Canvas's?

I can see no popint or purpose to multiple VPs in the same canvas....

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline harry@dayfamilyweb

Junior Member





« Reply #2 - Posted 2006-04-08 05:49:58 »

i need multipul viewing platform for mltipul players
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Jeff

JGO Coder




Got any cats?


« Reply #3 - Posted 2006-04-08 19:38:47 »

You only have one screen.  And if you only have one canvas you only have one view  on the world.,

How are multiple platforms going to help you with multiple players?

I suspect what you REALLY want are multiple canvas's rendering the same world....

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline harry@dayfamilyweb

Junior Member





« Reply #4 - Posted 2006-04-08 23:21:24 »

you do not get it i am using project darkstar so multiple computer can connect the the same universe and i need multiple viewing platforms because the player move individually
Offline Jeff

JGO Coder




Got any cats?


« Reply #5 - Posted 2006-04-08 23:56:55 »

no I dont get it.

SunGameServer.jar  is a *server*.  There is no rendering on the server side of most games.

The rednering happens in the client app the clients use to connect to the server.

Are you tring to build something where you are going to actualy display on the server what all the player see so yo ucan monitor them?  Ignoring scaling issues for the moment you need at least a canvas (if not a whole window) per player.

In general ou cant do this within the serve because the sevre is event driven and the render loop of Java3D is a tight loop.  You will havbe no ened of problems tryign to do it this way. 

What you need for such monitoring is a customized game client app.

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline harry@dayfamilyweb

Junior Member





« Reply #6 - Posted 2006-04-09 00:27:21 »

i don not want to monitor the clients but i do whant them to all be in thesame 3d world but have difrent views if you could explain how tp dp this corectly me would be gratefull
Offline Jeff

JGO Coder




Got any cats?


« Reply #7 - Posted 2006-04-09 03:06:36 »

each user has his own computer

each user's computer has its own client running its own instance of Java3D and with its own canvas

each user's computer's instance of Java3D sets his or her viewing paltform to his or her position in the game.

You seem to be thinking these are much higher level tools then they are.  None of these are game engines.  They are all the bits and pecies you use to *build* a game engine.

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline endolf

JGO Coder


Medals: 7


Current project release date: sometime in 3003


« Reply #8 - Posted 2006-04-09 15:29:55 »

Hi

It goes lower, each client has a *copy* of the game world, the server has a *copy* of the game world, none of the clients or the server share the game world data. Each client has it's own window, canvas, view platform and scene graph structure.

What SGS does is provide a simpler (network games are never simple) way of keeping all of the clients and the server synchronised.

Again, the key here is that none of the data is really shared, all of the clients hold thier own copy of the data.

Endolf

Offline otelo

Junior Member





« Reply #9 - Posted 2006-04-16 17:44:22 »

Maybe he's talking about a Split Screen scenario. Then you would use a VirtualUniverse, not the SimpleUniverse class to create your 3d scene. There was a thread about it somewhere here I think.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline harry@dayfamilyweb

Junior Member





« Reply #10 - Posted 2006-04-16 23:31:55 »

you do not understand what i want to do
i want to make a multi player role playing game where each user is represented by a 3d object that all the users see that is created when the user joins the server
Offline Orangy Tang

JGO Kernel


Medals: 56
Projects: 11


Monkey for a head


« Reply #11 - Posted 2006-04-16 23:48:30 »

Start here.

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline harry@dayfamilyweb

Junior Member





« Reply #12 - Posted 2006-04-17 01:00:16 »

 Huh Huh Huh Huh
Offline endolf

JGO Coder


Medals: 7


Current project release date: sometime in 3003


« Reply #13 - Posted 2006-04-17 19:54:20 »

Hi

Lets start simple

Do you want all your players on one computer, or does each player, have thier own computer?

Endolf

Offline harry@dayfamilyweb

Junior Member





« Reply #14 - Posted 2006-04-17 23:46:01 »

each player has there own computer
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

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

The first screenshot will be displayed as a thumbnail.

pw (13 views)
2014-07-24 01:59:36

Riven (13 views)
2014-07-23 21:16:32

Riven (13 views)
2014-07-23 21:07:15

Riven (14 views)
2014-07-23 20:56:16

ctomni231 (43 views)
2014-07-18 06:55:21

Zero Volt (39 views)
2014-07-17 23:47:54

danieldean (32 views)
2014-07-17 23:41:23

MustardPeter (35 views)
2014-07-16 23:30:00

Cero (50 views)
2014-07-16 00:42:17

Riven (50 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!