Squall_Leonheart Posted January 22, 2009 Share Posted January 22, 2009 Salve cercavo di modificare le coordinate x e y in battaglia,però non so come fare,premetto che utilizzo l'RATB,anke se credo nn faccia molta differenza siccome in questo caso si entra nella disposizione dello spriteaiuti? Iscriviti sul mio canale youtube -https://www.youtube.com/channel/UCYOxXExvlXiOFfYD1fTFpww?view_as=subscriberSeguimi su Instagram -https://www.instagram.com/ancestralguitarist/---------------------------------------------------------------------------------------------------------------------------------------Contest vinti---------------------------------------------------------------------------------------------------------------------------------------FACE CONTEST # 3BANNER CONTEST #69 Link to comment Share on other sites More sharing options...
0 Sleeping Leonhart Posted January 22, 2009 Share Posted January 22, 2009 Vai in Game_Actor, e cerca #-------------------------------------------------------------------------- # * Get Battle Screen X-Coordinate #-------------------------------------------------------------------------- def screen_x # Return after calculating x-coordinate by order of members in party if self.index != nil return self.index * 160 + 80 else return 0 end end #-------------------------------------------------------------------------- # * Get Battle Screen Y-Coordinate #-------------------------------------------------------------------------- def screen_y return 464 endModifica return self.index * 160 + 80 per cambiare la coordinata x, e return 464per modificare la y.Tieni conto che self.index indica il numero dell'eroe che ti può servire per premoltiplicare un valore come accade per la x ad esempio http://img296.imageshack.us/img296/8784/csuserbarew2.pngScarica la Demo!Tutti i miei script(o quasi) li trovi Qui! Link to comment Share on other sites More sharing options...
0 Squall_Leonheart Posted January 22, 2009 Author Share Posted January 22, 2009 Ciao ti ringrazio per l'aiuto,però cosi sono riuscito a cambiare solo il battler del pg e non dei mostri...Che riga devo trovare per loro? Iscriviti sul mio canale youtube -https://www.youtube.com/channel/UCYOxXExvlXiOFfYD1fTFpww?view_as=subscriberSeguimi su Instagram -https://www.instagram.com/ancestralguitarist/---------------------------------------------------------------------------------------------------------------------------------------Contest vinti---------------------------------------------------------------------------------------------------------------------------------------FACE CONTEST # 3BANNER CONTEST #69 Link to comment Share on other sites More sharing options...
Question
Squall_Leonheart
Salve cercavo di modificare le coordinate x e y in battaglia,però non so come fare,premetto che utilizzo l'RATB,anke se credo nn faccia molta differenza siccome in questo caso si entra nella disposizione dello sprite
aiuti?
Iscriviti sul mio canale youtube -
https://www.youtube.com/channel/UCYOxXExvlXiOFfYD1fTFpww?view_as=subscriber
Seguimi su Instagram -
https://www.instagram.com/ancestralguitarist/
---------------------------------------------------------------------------------------------------------------------------------------
Contest vinti
---------------------------------------------------------------------------------------------------------------------------------------
FACE CONTEST # 3
BANNER CONTEST #69
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now