Alright, I have two questions and I didn't want to clog up the forums with topics, so I thought I'd put them in a single post.

1.Making a Game Screen "Shake"

Right, so in the game "Droid Assault" which I was introduced to by these forums, sometimes, when you do some electricity thing, the game screen kind of shakes back and forth. At first I thought, "Hey all they did was take the game, pause it, take the current screen and put it into a buffered image and do some jiggery hokery with sin and such... But I am not quite sure now. Does anybody know how to achieve this?

2. Making a cone with a gradient

Again with Droid Assault, I saw the lights that follow the player and fade from red to transparent in a conical shape. I thought they may have used gradient paint, but I am not experienced with that at and after some research I still could not think of a way. As you can probably see I am a little bit of a novice. Suggestions? Thanks -cMp

Works great! I dont know why I didnt think of that before... And when you say the cones of light are big sprites, I automatically think, "Rotation? How?!?!?". I have used (Graphics2D Object).setTransform() before, but I really really dislike it because it confuses me a ton. Is there a way to avoid this and just use something else? Thanks cMp

It depends on how you want to rotate. In most cases it will be the center point of your sprite. If you draw with the starting point being in the top left corner, then you need to add half your sprites width to the x and half of the sprites height to the y.

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