[JAVA2D] Acceleration and movement problem

2005-05-11 Thread Flavius Alecu
I'm trying to make a game with a space ship that has the same physics as the Asteroids ship. you can rotate the ship and accelerate towards the direction the ship is pointing and no air resistance to slow the ship down. If you want to stop, you need to accelerate in the opposite direction of your

[JAVA2D] blur fireworks FX

2004-05-19 Thread Flavius Alecu
anyone know how this blury effect could be achieved?? http://www1.jawink.ne.jp/koji-y/trash/t012/java.htm http://www1.jawink.ne.jp/koji-y/trash/t015/java.htm thanx === To unsubscribe, send email to [EMAIL PROTECTED] and

[JAVA2D] drawImage() question

2004-03-24 Thread Flavius Alecu
here's a stupid question.. how do I draw an Image in my applet from a class?? the call to the method is drawImage(Image, int, int, ImageObserver) I usually type this for the imageobserver but that's when I draw an image within the applet class..if I want to draw it from another class, what do I

[JAVA2D] frame animation

2004-03-24 Thread Flavius Alecu
what is the best way to make an animation of say a ship flying? I don't mean just moving the actual ship...but animating the fire behind the ship. could I use a gif image? but that's not really what I had in mind...is there an optimized way to make an array of pictures and show them one after

[JAVA2D] thread priority exception

2004-03-23 Thread Flavius Alecu
ok, I have a regular applet embedded into a html file..I run that file throught he appletviewer with the command: appletviewer applet.html everything works fine except for when I terminate the program I get an exception about the thread: java.security.AccessControlException: access denied