3 Replies - 3361 Views - Last Post: 17 September 2011 - 03:52 AM

#1 Java Student  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 21
  • View blog
  • Posts: 481
  • Joined: 05-February 10

How to make 360 images of rotation

Posted 31 August 2011 - 10:26 PM

I need to take this image [see attachment] and create 360 degrees of rotations with it, meaning 1 degree per image totalling 360 images. Also i need to center it around the head ( the red dot in the image ) so it will flow smoothly in my game.

If anyone's curious i added a picture of my game where this image will replace my dot.

Help is greatly appreciated!

Attached image(s)

  • Attached Image
  • Attached Image

Is This A Good Question/Topic? 1
  • +

Replies To: How to make 360 images of rotation

#2 Atli  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 3719
  • View blog
  • Posts: 5,991
  • Joined: 08-June 10

Re: How to make 360 images of rotation

Posted 31 August 2011 - 11:39 PM

Surely you can just rotate the image when you draw it? (What is this, the 80's again?! :P)

If that's not an option... Google to the rescue! Try RotSprite. It seems to work pretty well. You'll have to position the head of your character in the center before running it through that though.
Was This Post Helpful? 1
  • +
  • -

#3 Java Student  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 21
  • View blog
  • Posts: 481
  • Joined: 05-February 10

Re: How to make 360 images of rotation

Posted 31 August 2011 - 11:46 PM

I,ll check that website out thanks!

True except with SDL it becomes very laggy so i need to do it this way unfortunetly :sad2:
Was This Post Helpful? 1
  • +
  • -

#4 putriarisnawati  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 17-September 11

Re: How to make 360 images of rotation

Posted 17 September 2011 - 03:52 AM

you can see my tutorial about rotate image using sdl we give simple code for rotate image. This very help for your game. We hope.

Putri Arisnawati

Threelas.com
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1