Sprite rotation

Started by O Ilusionista, August 20, 2003, 10:48:17 PM

Previous topic - Next topic

O Ilusionista

Hello folks,

Have you ever wanted to rotate any move or projectile but the sprites screwed up when you made this? now your dream come true!

Here is you "sprite rotator-o-matic" , lol

You will need:

- Flash (I use the 5 version)
- Photoshop or any graphic editor (it can be the IrfanView)
- the imagens you want to rotate(duuuuuhhh)
- feeling

If you have all of them, lets go:

1) First of all, export the imagem on GIF format, because FLASH doesnt support PCX files.

2) Import them on Flash (CTRL+R)

NOTE: I'm using a bigger ZOOM to edit, but leave the ZOOM on 100% or your sprite will be BIGGER

3) Go to the menu MODIFY > TRACE BITMAP and use this:


Note: The color number can be different on each sprite! So you will have to find the right number by yourself. Dont just put 256 because you will screw up the sprite.

4) Now you have a lot of pixels, dont be afrraid. Select all of them, if you had clicked outside of the image

5) Rotate your sprite with the tool on the lower left screen (the circle point one) to the desired angle:


6) Now you have the image on the right angle (on my option, I still have the background color. Just select and delete them)

7) Now comed the trick: hit PRINT SCREEN and paste the image on any graphic program and save on PCX format. WE DID IT !


Now lets go to the work. Here is another contribuition to the Mugen Scene by O Ilusionista, hehe

O Ilusionista

#1
This works with ANY kind of sprite. But you have to respect two things:

1- the color range INST the same for all sprites. Zangief use 100 colors, but Sean uses 30. You have to try to find by yourself.

2- you CANT export GIF from flash directly, because he screw up the sprites. You have to print screen and paste some where.


player2

Is there a link to get a free version of Flash?

Sheng Long

Quote from: player2 on November 27, 2003, 04:11:56 AM
Is there a link to get a free version of Flash?

This is not the place to ask for this.  ::)

If you want to find something like that, use google.  :P

"You must defeat my flaming
dragon punch to stand a chance."

Booba92i

You can try Macromedia Flash MX for 30 days with the trial version available @ www.macromedia.com


Posted to avoid future questions about it.

O Ilusionista

Hello there...

As we're trying, there is another way to rotate sprite withouy any pixel lose, take a look (portuguese post):

http://forum.mgbr.net/index.php?showtopic=19203

O Ilusionista

English translation:

You will need :

Corel Trace
Jasc Paint Shop Pro

Open the image on the corel trace,
maximize the window,
set the zoom to 100%
go to IMAGE>ROTATE>CUSTOM
move this window (with the values) to the right.
set the disered angle (you dont need to hit OK)
go to PAINTSHOP, hit SHIFT+C
set to CAPTURE AREA, and the hotkey to F10.
click on CAPTURE NOW (PSP minizes itself)
go back to TRACE window and hit F10.

and voilá...here you have your sprite turned. Thanx Immortal :)