on each of the jars. It's troubling me because I am extremely busy and I owe somebody this applet today- should've been testing the applet builds the whole time I suppose huh? I tried it on windows 7 64bit, my web java is at
1.6.0_31, I've attempted with current google chrome and ie9. On http://my.opera.com/community/forums/topic.dml?id=270890 it seemed they have a similar problem, although its not limited to processing.
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at org.jdesktop.applet.util.JNLPAppletLauncher.initTmpRoot(JNLPAppletLauncher.java:1000)
at org.jdesktop.applet.util.JNLPAppletLauncher.<clinit>(JNLPAppletLauncher.java:2110)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$12.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
basic: Applet loaded.
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 1139875 us, pluginInit dt 1881078546 us, TotalTime: 1882218421 us
Applet.init
basic: Applet initialized
basic: Applet made visible
basic: Starting applet
basic: completed perf rollup
Applet.start
basic: Applet started
basic: Told clients applet is started
And then blank screen. When I run it from file://wbaskdja/applet/index.html I never see the processing insignia, however on dropbox it gets as far for it to show up for a while while loading then disappears (to a white screen on both).
Just open sourced my game
Entwinement for the world to see. It can load soldat maps and gameplay is quite similar. There are a bunch of bugs and it is anything but completely finished, however it is playable and I wanted to show what can be done with processing. You can make vehicles and import them, there is a weapon system, a partially working server which is going to be closed for the time being, gfx modding capability, some sounds, a jython scripting system, and a whole bunch more.
Hey guys, I just forked cprocessing from google code, added a basic sketchpad and some support for windows although setup is not as easy as it should be (yet).
Here she be
Please post any bugs or things you find that are issues, as well as comments. I hope to port ArrayList's basic functionality as well and then there will be real fun!
Hello, I am developing a gameserver which has commandline args to show overview or to simply not draw what is happening- how would I prevent PApplet from creating a window at all in this case so I can run it on servers without x installed saving me space and allowing portability. Thanks.
Bullet(int x_, int y_, float xF_, float yF_) { b = new FBody(); b.setPosition(x_, y_); b.applyForce(xF_, yF); world.add(b); } }
So I am working on a 2d sidescroller. I am using jbox2d for physics and I am trying to write better code for shooting weapons. What I have is the gun origin (x:400, y:300) just for example, and I can get the mouse positions(say its x:700, y:200). So I minus the gun position from mouse which leaves me with (x:300, y:-100). Now this is where I am confused. I need to convert those both into floats between (-0.5 & 0.5) and the total of adding the floats together must equal 1 since I multiply them both by a variable called gunspeed when I actually shoot.
The code is just off the top of my head since I am not at home, but it is very simple. The FBody reference is just the physics engine Fisica I am calling and is just there for clarifying my problem. I may be altogether doing this the wrong way. What my issue was before was that if my mouse was close to the body the bullet would not have strength to move and if it was at an edge it would zoom past. I need it to be a consistant amount of power added to the bullet. This has been stumping me for over a week, I think I could solve it with trig but not sure of the route? Thanks