Rotating Sprites ? (Development MSX Fora)MSX Resource Center            
            
English Nederlands Espa�ol Portugu�s Russian         
 Nieuws
   Voorpagina
  Nieuws archief
  Nieuws onderwerpen

 Informatie
   MSX Fora
  Artikelen
  Recensies
  Beursverslagen
  Fotoreportages
  Beurzen en meetings
  Enquêtes
  Links
  Zoek

 Software
   Downloads
  Webshop

 MRC
   Wie we zijn
  Kom bij ons team
  Doneren
  Policies
  Contact met het MRC
  Link naar Ons
  Statistieken

 Zoek
 
  

  

 Login
 

Gebruikersnaam

Wachtwoord




Ben je nog niet lid? Klik hier en word MSX vriend!


 Statistieken
 

Er zijn 63 gasten en 2 MSX vrienden online

Je bent een anonieme bezoeker.
 

MSX Fora


MSX Fora

Development - Rotating Sprites ?

Schrijver

Rotating Sprites ?

Retroman
msx lover
Berichten: 85
Geplaatst: 14 Juli 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
Berichten: 3048
Geplaatst: 14 Juli 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
Berichten: 85
Geplaatst: 15 Juli 2004, 00:07   
No, not flip or mirror, rotating in different angles ! So it IS possible ? How ?
GuyveR800
msx guru
Berichten: 3048
Geplaatst: 15 Juli 2004, 00:18   
Retroman
msx lover
Berichten: 85
Geplaatst: 15 Juli 2004, 00:24   
Hmmm, I did a search and it revealed nothing, oh well ..... thx
GuyveR800
msx guru
Berichten: 3048
Geplaatst: 15 Juli 2004, 00:25   
5th entry when searching for 'rotate'
Ofcourse I knew what to look for, having answered that thread myself
Retroman
msx lover
Berichten: 85
Geplaatst: 15 Juli 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
Berichten: 3019
Geplaatst: 15 Juli 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
Berichten: 85
Geplaatst: 16 Juli 2004, 00:05   
I´ll have a look at it Thx
IC
msx professional
Berichten: 538
Geplaatst: 16 Juli 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 - 2008 Stichting MSX Resource Center. MSX is een trademark van MSX Licensing Corporation.