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 (535)
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] 2 3 ... 31
1  Java Game APIs & Engines / JavaFX / Re: JavaFX 1.3 soon? on: 2010-04-23 18:25:56
For those who don't know what prism is - http://learnjavafx.typepad.com/weblog/2010/04/your-calendar-pwn3d-leveraging-the-javafx-scene3d-conditionalfeature.html
2  Java Game APIs & Engines / JavaFX / Re: JavaFX 1.3 soon? on: 2010-04-23 18:23:20
yes still pretty slow compared to the competition (at least in perception). But pretty big improvement on 1.2 which was just unusabely slow. Feels a lot better now but again could do with more speed, hope we don't have to wait another year to get from 1.3 to 1.4.

You're talking about cold start, right? Warm start (at least on my box) is very fast. (not that I disagree that cold start needs a lot of work. Hopefully Prism and jdk7's modules will help with that).
3  Discussions / General Discussions / Re: Security update breaks A LOT OF STUFF! on: 2010-04-22 19:10:59
Reading the article on elreg, and the linked sites, it only blocks versions before u20, and if users click on the 'explain' link, it tells them so.

Most users won't read anything though.

Endolf

Again, disabling the deployment toolkit plugin won't prevent them from running java applets. Unless they freak out and uninstall java completely (always possible).

4  Discussions / General Discussions / Re: Security update breaks A LOT OF STUFF! on: 2010-04-22 19:09:44
You could read this for yourself: here's the deployment toolkit's javascript file (in human readable form):
http://www.java.com/js/deployJava.txt

See the references to the deployment toolkit plugin? Like this one:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
    getJREs: function() {
        var list = new Array();
        if (deployJava.isPluginInstalled()) {
            var plugin =  deployJava.getPlugin();
            var VMs = plugin.jvms;
            for (var i = 0; i < VMs.getLength(); i++) {
                list[i] = VMs.get(i).version;
            }
        } else {
            var browser = deployJava.getBrowser();
       
            if (browser == 'MSIE') {


There's a bunch of other code which attempts to use the DT plugin first (for updating java and so forth), and if it's not available, works around it.
5  Discussions / General Discussions / Re: Security update breaks A LOT OF STUFF! on: 2010-04-22 00:09:14
ah, thx for clearing that up.

so guess it'll just break functionality without actually disabling the applet plugin.


Even that's not clear. Deployment toolkit is just a bunch of javascript code served from Oracle's website - the "plugin" isn't really needed for that. From what I recall the plugin just provides better jvm detection and stuff like that. The deployment toolkit should be able to function w/o the plugin.

Dmitri
6  Discussions / General Discussions / Re: Security update breaks A LOT OF STUFF! on: 2010-04-21 18:55:47
its official, mozilla is blocking all versions of the java plugin prior to Java 6u20.

http://www.theregister.co.uk/2010/04/21/mozilla_blocks_java_plug_in/

IMO it maybe bad for the overall java market share as people are likely to uninstall java altogether rather then update but also good to see what remains of the crappy java plugin1 being killed off by firefox. Java plugin1 will now no longer work in Firefox (already didn't work in chrome and new releases of opera).

In the long term it should help java applets as the user experience is actually pretty good for java plugin2. Lets just hope Oracle don't do anymore major blunders with the plugin and continue working to improving it.

From what I can see FF only blocks the deployment toolkit, not the java plugin.

Dmitri
7  Discussions / General Discussions / Re: Security update breaks A LOT OF STUFF! on: 2010-04-14 03:10:40
u19 does look like one f**ked up puppy.
8  Java Game APIs & Engines / JavaFX / Re: JavaFX 1.3 soon? on: 2010-04-08 19:04:12
Come on, you know it's not true. The JRE team is working within the restrictions of the current framework.

Are you saying you didn't see any improvement in deployment (I assume this is what you're alluding to) in the last few 6 update releases? Or is this just a knee-jerk reaction anytime you hear "JavaFX"?
9  Games Center / Archived Projects / Re: Fidget (Jump'n'Run) on: 2010-02-12 03:45:51
putting ressources (and even classes) in a jar is not a requierement for Applet, you can let them on your server and load them using different metods : URLConnection / IOImage / getImage / etc...

The case of loading each resource from the server will result in a new network connection per resource. A new connection could take 100ms just to get established because of latency even on fast network (10 resources == 1 second just for establishing connection.). It is advisable to break your resources into multiple different jars (you'll have to play with size/count ratio a bit).

Dmitri
10  Discussions / General Discussions / Re: Opera now with Java Plugin support on: 2010-02-10 02:27:39
Sweet! We'll need to test it a bit and unblock newer versions of Opera..
11  Games Center / 4K Game Competition - 2010 / Re: VVVV on: 2010-02-05 21:08:08
Indeed! Well done!

Though reading through many of the comments, I can't help but feel that website is dominated by, for lack of a better word, arseholes.  persecutioncomplex

Yep. Had to restrain myself from posting something nasty there in defense of Markus.
12  Discussions / Jobs and Resumes / Graphics position at Oracle (JavaFX team) on: 2010-02-03 22:12:35
This is a software staff engineering position requiring the ability to design, test, implement and maintain innovative and advanced graphics software. The person in this role is expected to identify areas for improvement and modification of Oracle's platform products and contribute to Oracle's overall product strategy. This person will work closely with others within the team and, as required, across teams to accomplish project objectives. May assume a leadership role in projects, including such activities as leading projects, participator in product planning and technology evaluation and related activities. May use technical leadership and influence to negotiate product design features or applications, both internally, and with open source groups as needed.

Requirements :
* Excellent problem solving, critical thinking, and communication skills
* Excellent knowledge of the C/C++ and Java programming languages
* Thorough working knowledge of 3D graphics, GPU architecture, and 3D APIs, such as OpenGL & Direct3D
* Thorough working knowledge of shader-level languages such as GLSL, HLSL, and/or Cg
* Experience designing cross-platform, public APIs for developers (Windows/MacOS/Linux)
* Experience with multi-threaded programming and debugging techniques
* Experience with operating systems level engineering
* Experience with performance profiling, analysis, and optimization

Contact me via pm or email.
13  Discussions / General Discussions / Re: Bye Sun on: 2010-02-03 22:09:17
True, but it was quite a nice site for code hosting. I can't help wondering if the Java Store will be next.

at least the Java Store has a potential for making money. Probably harder to say the same about kenai. But who knows, we'll see.
14  Discussions / General Discussions / Re: Bye Sun on: 2010-02-03 02:29:12
Kenai is also now being closed too. It looks like Oracle is just stripping Sun of all it's products and assets.

.. which weren't making any money (I assume).
15  Game Development / Newbie & Debugging Questions / Re: Graphics flickering on: 2010-01-05 22:19:51
We'd need to know more about how you're using the double buffering.
16  Java Game APIs & Engines / Java 2D / Re: Active rendering: configure TopLevel or all components? on: 2009-12-22 00:10:45
The example is OK. The BufferStrategy is created for the heavyweight component, in this case - Canvas. I'd also disable Swing's double buffering so that it doesn't maintain its own back buffer.

I don't know why would one use JFrame in this case at all actually - why pull swing classes if all you do is slap AWT's canvas on top of it. I'd just use Frame.

Dmitri
17  Discussions / General Discussions / Re: Java Applets now supported on Kongregate! on: 2009-12-18 02:59:18
yeh that's a useful script especially for detecting java versions, but its just not as elegant or fully necessary for people without java. The silverlight page or the html snippet above just show a nice button which quickly points to where they can get silverlight/java, its simple and doesn't require javascript.

The problem is that it's not very easy to detect when java isn't there or when the java version isn't sufficient for your app. So you could copy the code from the DT into your own script, and in case of an error do whatever you think should be done (redirect to java.com or whatever).

One thing that DT does is that in some cases it could initiate "upgrade in place" (without leaving the page) if the installed java isn't too old and needs to be upgraded to a more recent one. But that logic could to be copied.

BTW, I think there's been an improved version of java detection script somewhere on jgo (Sun's version has bugs).

Dmitri
18  Discussions / General Discussions / Re: Java Applets now supported on Kongregate! on: 2009-12-17 18:24:00
ah awesome look forward to hearing how it goes.

p.s. don't forget to include something like the html code below inside the applet tag to provide a user experience on par with the silverlight article in the first post.

1  
2  
3  
4  
<br/>You need Java installed to play this game. <br> You may use the button below to get it.<br/><br/>
    <a href="http://java.com/download" onclick="window.open( this.href ); return false">
    <img src="http://java.com/en/img/everywhere/getjava_lg.gif" alt="Get Java" style="border-style: none">
    </a>



You might want to look at the Java Deployment Toolkit, which is supposed to provide the functionality for detecting and installing java:
 http://java.sun.com/javase/6/docs/technotes/guides/jweb/deployment_advice.html

Dmitri
19  Discussions / General Discussions / Re: Java Applets now supported on Kongregate! on: 2009-12-17 03:13:14
Now, now, calm down. The post says they support JavaFX games, not Java =)
20  Java Game APIs & Engines / JavaFX / Re: Is JavaFX dead as well? on: 2009-12-14 20:18:32
Folks, if you encounter issues with launching the applet, please post your OS, browser and java version (and output from java console if you have one). The deployment team is very interested in resolving these issues.

Dmitri
21  Java Game APIs & Engines / JavaFX / Re: Is JavaFX dead as well? on: 2009-12-14 02:34:55
This worked pretty good for me, very fast loading, even on first time. I'm on Win7, JRE 6u18 (didn't have to install JavaFX). Animation feels slow as Riven mentioned, not 5 fps slow, but not as smooth as I'd expect. Anyway, I'd say it gave me a positive impression if it weren't for the crappy font rendering, no sub-pixel antialiasing and the wheel text flickers when animated. Not sure if it's JavaFX or the app's developer to blame.

The "slow" animation is application developer's (or designers) choice. They have timelines for 2 seconds for every animation, despite ours begging them to change that.
22  Discussions / Business and Project Management Discussions / Re: Will the Java Platform Create The World's Largest App Store? on: 2009-12-11 18:28:58
Yeah, that was on my mind. I've seen it in some SW that added shadows to windows and it worked pretty well, even if the shadows were actually 4 smaller windows along the sides. AWT shouldn't do this automatically... just manage the windows yourself in such way. However AWT could do automatic shaping of translucent windows on fully transparent areas to avoid the issue on Linux I mentioned.

I don't think this is AWT's job. The developer could use the provided API to determine if translucent windows are supported or not, and modify app's behavior accordingly.

One issue is with JavaStore is that currently there isn't a JavaFX API that tells you whether translucent windows are supported or not.

Dmitri
23  Discussions / Business and Project Management Discussions / Re: Will the Java Platform Create The World's Largest App Store? on: 2009-12-11 18:24:01
I would expect translucent/shaped windows to be much faster and easier to do on Windows Vista/7. Isn't there any new DWM API that allows you to implement this with better performance?

Not much in terms of performance difference on Vista/7 layered windows, but you're right, they do have some DWM APIs which make it sort of possible, but only when D3D is used, and only when Aero is enabled. This is certainly a possibility. For Prism (the new JavaFX graphics stack) we'd probably only support translucent windows on W7/Vista through those APIs.

Dmitri
24  Discussions / Business and Project Management Discussions / Re: Will the Java Platform Create The World's Largest App Store? on: 2009-12-11 05:45:39
How come it was done like that from the start? and then taken this long to fix?
My small app of 300x300 pixel window I don't see any problems with high cpu, so hopefully the window is small enough.

Because when this feature was being developed (in 6u10) there wasn't enough time/people to do it properly, and also this way was the safest with fewest changes, I believe. Once the swing/awt dudes had the time to redo this, it was first done in jdk7, baked there for a while, and finally was deemed safe enough to backport to 6uN train, and only after all prerequisites (other bugfixes this one relied on) for this fix were first ported (which was a major pain). Even then the fix introduced a few regressions in 6uN code, which had to be patched a few times, which is why the full fix didn't make it into any earlier releases.
25  Discussions / Business and Project Management Discussions / Re: Will the Java Platform Create The World's Largest App Store? on: 2009-12-11 05:35:01
Why? Can you explain? I'm very interested.

There are two steps in "repainting" a translucent Swing window on Windows. First is to render swing stuff into the swing back buffer, the second is to update the window representation using win32's UpdateLayeredWindow.

Prior to 6u18 on any update we'd repaint whole window into the backbuffer. So even if you had a blinking cursor, it'd re-render the whole thing. So that's fixed in 6u18 (btw, you could try it out http://download.java.net/jdk6/binaries/ ) - it only repaints what's needed into the persistent back-buffer. This does help, especially if repainting itself is costly (like in case of javafx apps where there could be effects and transforms and stuff).

But we still have to copy whole back buffer into the layered window. AFAIK there's no way to update only a part of layered window., so the whole window has to be updated every time. The sucky part is that the swing backbuffer could be in vram, which means that sucking it in and copying into a layered window through system memory could be very slow (better on pcix bus, which is where we let the hw-acceleration enabled for translucent windows). You'd think we could always disable hw accelerated backbuffer for translucent windows and save ourselves a vram->sysmem copy, but it'd be very bad for JavaFX apps which need hw acceleration for effects (otherwise they'd be done in software, which is even slower than copying from vram to system).

Basically, on Windows layered windows were never intended to be used for animated content (especially for larger sizes windows). This is from msdn docs for LayeredWindows: "For best drawing performance by the layered window and any underlying windows, the layered window should be as small as possible.". But apparently designers looove rounder corners on their windows, so they just slap it on without any concern for performance implications (just like they should), but engineering is supposed keep them in reign..

Dmitri
26  Discussions / Business and Project Management Discussions / Re: Will the Java Platform Create The World's Largest App Store? on: 2009-12-10 21:54:20
And this is supposed to be fixed in a near to be released Java 6 update? I mean the translucency performance issue?

The fix in 6u18 does help (the window isn't repainted from scratch every time a single pixel is updated), but it doesn't eliminate the problem completely (the need to update layered window).

Dmitri
27  Discussions / Business and Project Management Discussions / Re: Will the Java Platform Create The World's Largest App Store? on: 2009-12-10 19:00:11
I know this will fall on deaf ears (again) but please please make the app stop using translucent/shaped windows (at least on Windows). This slows the app down by a factor of 10x. All the (supposed) prettiness in the world isn't worth it.

Dmitri
28  Discussions / Business and Project Management Discussions / Re: Will the Java Platform Create The World's Largest App Store? on: 2009-11-25 01:33:45
Yeah, I did, and I gave my suggestions. It just has quite a way to go still.

Thanks for doing that. Every bit helps.
29  Discussions / Business and Project Management Discussions / Re: Will the Java Platform Create The World's Largest App Store? on: 2009-11-24 20:57:50
Sun contacted me about SingSong and I tried putting an app in the store. They even provided people I could contact with problems. It took many iterations and bug reports to finally get it going. The submission site is terrible. You should be able to just point it at a working JNLP and be done.

Did you relate your experience to the Sun rep?
30  Discussions / Business and Project Management Discussions / Re: Will the Java Platform Create The World's Largest App Store? on: 2009-11-19 20:32:45
The store (or, rather, warehouse) became somewhat more global:

http://java.sun.com/warehouse/overview/locations.jsp

People from these countries are now allowed to submit (for now, only free) apps to the warehouse:
Australia Brazil China    India Russia Sweden United Kingdom

Dmitri
Pages: [1] 2 3 ... 31
 

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 (37 views)
2014-07-24 01:59:36

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

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

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

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

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

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

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

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

Riven (56 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!