Results 1 to 4 of 4

Thread: Rotating Images

  1. #1
    Unome is offline Member
    Join Date
    Oct 2008
    Posts
    44
    Rep Power
    0

    Default Rotating Images

    Hi everybody, Unome again.

    Currently I'm working on a game using a stickman with a gun. I'm drawing to an offscreen Image and am wondering how I can rotate my images.

    I think I need to be using AffineTransform... but I'm not sure how to work with it. Does anyone have any example code on AffineTransform using rotations... or anything for that matter?

    Thanks much,

    Unome

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    I don't have, but when I need this I usually google or search this or the forums.sun.com (especially the 2d graphics section) for similar questions.

  3. #3
    Unome is offline Member
    Join Date
    Oct 2008
    Posts
    44
    Rep Power
    0

  4. #4
    hunterbdb is offline Member
    Join Date
    Oct 2008
    Posts
    48
    Rep Power
    0

    Default

    golden t game engine has a rotate ability for images. google it. it's pretty cool.

Similar Threads

  1. Rotating an image
    By lackofcolor in forum Java 2D
    Replies: 3
    Last Post: 02-28-2009, 12:54 AM
  2. Rotating Image?
    By sciguy77 in forum Java Applets
    Replies: 9
    Last Post: 02-17-2009, 02:47 AM
  3. Rotating objects in Java Applets
    By Unome in forum Java Applets
    Replies: 1
    Last Post: 10-17-2008, 08:35 AM
  4. Rotating and flipping an image in SWT
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-02-2008, 09:01 PM
  5. Two Problems Rotating and collision detection help
    By jaferris in forum Java Applets
    Replies: 2
    Last Post: 01-08-2008, 12:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •