Rotating Sprites ? (Development Foros MSX)MSX Resource Center            
                       
English Nederlands Espa�ol Portugu�s Russian                  
 Noticias
   Página principal
  Almacén de noticias
  Temas de noticias

 Recursos
   Foros MSX
  Artículos
  Analisis
  Informe de ferias/RUs
  Álbum de fotos
  Ferias y encuentros
  Encuestas
  Enlaces
  Buscar

 Software
   Descargas
  Tienda Online

 MRC
   Quiénes somos
  Únete a nuestro equipo
  Donar
  Políticas
  Contacta con nosotros
  Enlázanos
  Estadísticas

 Buscar
 
  

  

 Login
 

Login

Contraseña




¿Aún no tienes una cuenta? ¡Conviértete en miembro del MSX Resource Center! ¡Únete a nosotros!.


 Estadísticas
 

Hay 33 invitados y 3 miembros en línea

Eres un usuario anónimo.
 

Foros MSX


Foros MSX

Development - Rotating Sprites ?

Autor

Rotating Sprites ?

Retroman
msx lover
Mensajes: 85
Publicado: Julio 14 2004, 23:36   
Is there a way to rotate the sprites in BASIC ? I want to make a little animation but preferrably I don´t want to draw a sprite for each angle
GuyveR800
msx guru
Mensajes: 3048
Publicado: Julio 14 2004, 23:52   
You actually mean ROTATE? Not FLIP or MIRROR?
For any of the above functions you will need to write your own code, or use seperately drawn or generated sprites.

With rotation it's hard to achieve good results, as a rotated 16x16 sprite doesn't fit in 16x16 anymore for most angles. The lower the resolution, to harder it is to get good results. So you're better off drawing the sprites from different angles yourself, or use a program to generate them and then adjust them by hand.
Retroman
msx lover
Mensajes: 85
Publicado: Julio 15 2004, 00:07   
No, not flip or mirror, rotating in different angles ! So it IS possible ? How ?
GuyveR800
msx guru
Mensajes: 3048
Publicado: Julio 15 2004, 00:18   
Retroman
msx lover
Mensajes: 85
Publicado: Julio 15 2004, 00:24   
Hmmm, I did a search and it revealed nothing, oh well ..... thx
GuyveR800
msx guru
Mensajes: 3048
Publicado: Julio 15 2004, 00:25   
5th entry when searching for 'rotate'
Ofcourse I knew what to look for, having answered that thread myself
Retroman
msx lover
Mensajes: 85
Publicado: Julio 15 2004, 00:27   
I allways tried things like "rotate sprite" and "rotate sprites" ! Never tried ROTATE as a single word

Anyway, that sample code is a great help to me, thx again !
[D-Tail]

msx guru
Mensajes: 3027
Publicado: Julio 15 2004, 18:45   
Well, I've myself developed an article on rotation... Check this link ...

Though the results aren't as satisfactory as they should be... IIRC Sonic_aka_T gave me some advice about that, but I'm not sure about that. Anyway, I didn't do anything with it ever since. Just check it and see if it's of any help
Retroman
msx lover
Mensajes: 85
Publicado: Julio 16 2004, 00:05   
I´ll have a look at it Thx
IC
msx professional
Mensajes: 538
Publicado: Julio 16 2004, 00:48   
I tried a fullscreen rotate function full screen in kun basic.. I know it can be done.. But realtime is really slow..
 
 







(c) 1994 - 2009 Fundación MSX Resource Center. MSX es una marca registrada de MSX Licensing Corporation