Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (293)
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  
  Integrating Physics2d with OpenLayers for wiewing in web browser  (Read 1725 times)
0 Members and 1 Guest are viewing this topic.
Offline pv2Developer

Junior Newbie





« Posted 2010-08-27 11:15:38 »

Hello, I integrate the physic engine for java Physic2d with javascript library Openlayers for view physic annimations on web browser. You can view at: http://pv2.homelinux.com making click in one menu option (WHAT, HOW, WHEN, WHERE). The annimation is calculated in real time at server and send back to browser. Then Openlayers paint the geometries. You can see the letters moving on the upper side of the page.

Regards:
pv2Admin
Offline gouessej

JGO Ninja


Medals: 33
Projects: 1


TUER


« Reply #1 - Posted 2010-08-27 12:37:58 »

Hi!

Criticizing Java in your website is not the best way of convincing us to get interested in your projects. You write:
Quote
the only delay is the time it takes the browser to download (only the first access) libraries for viewing maps
It is exactly the same with Java. If you wanted to reduce the download time of your Java version, you could have found some trick to reduce the size of each JARs by keeping only the useful things, compressing them, maybe by using pack2000, etc...

In my humble opinion, it is important to reduce the download time as much as possible but you cannot have everything with no cost, you cannot have a game that gets more and more complicated and a download time that does not increase.

Offline pv2Developer

Junior Newbie





« Reply #2 - Posted 2010-10-08 11:09:01 »

¿reduce the size of each JARs?, what are you talking about?. You don't need to download any jar file, I don't use applets in this proyect. The download time is for the javascript files, not for jar files.
¿Criticizing java?, please, read carefully and test the game. Play for some minutes and after this, make your comments.

Games published by our own members! Check 'em out!
Try the Free Demo of Titan Attacks
Offline cylab

JGO Knight


Medals: 30



« Reply #3 - Posted 2010-10-08 13:57:41 »

The annimation is calculated in real time at server and send back to browser.

This doesn't scale too well, does it?

Mathias - I Know What [you] Did Last Summer!
Offline Eli Delventhal
« League of Dukes »

JGO Kernel


Medals: 39
Projects: 12


Game Engineer


« Reply #4 - Posted 2010-10-08 16:40:27 »

¿reduce the size of each JARs?, what are you talking about?. You don't need to download any jar file, I don't use applets in this proyect. The download time is for the javascript files, not for jar files.
¿Criticizing java?, please, read carefully and test the game. Play for some minutes and after this, make your comments.


Don't worry, not everyone here is overly protective of Java and other technologies. Criticize whatever you want and I'll help.

The idea is pretty cool, but it took me a long time to realize what I was looking for due to it taking a while to load. A better option would probably be just to make a moving gif, as most users won't notice this functionality anyway (and won't notice if the animation is the same every time). Or you could have like 10 canned animated gifs that you choose from randomly. If you put the script into a game or something that would be different.

See my work:
OTC Software
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Get high quality music tracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (73 views)
2013-05-17 21:29:12

alaslipknot (85 views)
2013-05-16 21:24:48

gouessej (114 views)
2013-05-16 00:53:38

gouessej (109 views)
2013-05-16 00:17:58

theagentd (120 views)
2013-05-15 15:01:13

theagentd (109 views)
2013-05-15 15:00:54

StreetDoggy (154 views)
2013-05-14 15:56:26

kutucuk (176 views)
2013-05-12 17:10:36

kutucuk (173 views)
2013-05-12 15:36:09

UnluckyDevil (182 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.098 seconds with 21 queries.