Invité Invité
| Sujet: BAckground Mer 4 Juil 2007 - 19:14 | |
| Bonjours tout le monde, je veux savoir comment faire pour faire un background qui suit le joueur ou je sais pascomment il s'appelle, comme les bakcground des jeux de gamboy advance Merci d'avance |
|
daminetreg Administrateur
Messages : 16998 Localisation : Siege du CBNA! Projet Actuel : Site Web du CBNA, version beta :
| Sujet: Re: BAckground Jeu 5 Juil 2007 - 13:18 | |
| Tu pourrais mieux t'expliquer? Mais pour faire déplacer un background voici les fonctions appropriées: - Citation :
- background_x[0..7] X position of the background image.
background_y[0...7] Y position of the background image. _________________ Mon CV : fr - de - en Tous Ensemble! Réalisons! |
|
edi9999 Utilisateur confirmé: Rang *****
Messages : 2480 Localisation : France Projet Actuel : theatre flashy
| Sujet: Re: BAckground Jeu 5 Juil 2007 - 14:06 | |
| Dans step background.vspeed=perso.vspeed background.hspeed=perso.hspeed et voila |
|
Invité Invité
| Sujet: Re: BAckground Jeu 5 Juil 2007 - 21:03 | |
| non ça ne marche pas... Edit :j'ai essayé avec un objet et ça a marché j'ai mit ce code dans l'event draw : - Code:
-
draw_sprite(BG0,-1,view_xview[0],view_yview[0]); |
|