| | code GML urgent | |
| | Auteur | Message |
---|
Darkasteine Très bonne participation
Messages : 124 Localisation : devant mon petit ordi de merde
![code GML urgent Empty](https://2img.net/i/empty.gif) | Sujet: code GML urgent Mer 16 Nov 2005 - 15:07 | |
| Salut a tous je voudrai savoir comment faire dire collision en GML merci de me repondre rapidement svp!!!! |
| ![Aller en bas](https://2img.net/i/empty.gif) | | daminetreg Administrateur
![daminetreg](https://2img.net/u/3412/18/80/54/avatars/6-29.png)
Messages : 16998 Localisation : Siege du CBNA! Projet Actuel : Site Web du CBNA, version beta :
![code GML urgent Empty](https://2img.net/i/empty.gif) | Sujet: Re: code GML urgent Mer 16 Nov 2005 - 15:19 | |
| - Citation :
- collision_point(x,y,obj,prec,notme) This function tests whether at point (x,y) there is a collision with entities of object obj.
collision_rectangle(x1,y1,x2,y2,obj,prec,notme) This function tests whether there is a collision between the (filled) rectangle with the indicated opposite corners and entities of object obj. For example, you can use this to test whether an area is free of obstacles. collision_circle(xc,yc,radius,obj,prec,notme) This function tests whether there is a collision between the (filled) circle centered at position (xc,yc) with the given radius and entities of object obj. For example, you can use this to test whether there is an object close to a particular location. collision_ellipse(x1,y1,x2,y2,obj,prec,notme) This function tests whether there is a collision between the (filled) ellipse with the indicated opposite corners and entities of object obj. collision_line(x1,y1,x2,y2,obj,prec,notme) This function tests whether there is a collision between the line segment from (x1,y1) to (x2,y2) and entities of object obj. This is a powerful function. You can e.g. use it to test whether an instance can see another instance by checking whether the line segment between them intersects a wall.
Suffit de chercher dans l'aide. De plus il y a un topic pour cela: https://cbna.forumactif.com/viewtopic.forum?t=733 _________________ Mon CV : fr - de - en Tous Ensemble! Réalisons!![code GML urgent U3dfr2](https://2img.net/h/u3d.gamemaker.fr/img/u3dfr2.png)
Dernière édition par le Mer 16 Nov 2005 - 15:21, édité 1 fois |
| ![Aller en bas](https://2img.net/i/empty.gif) | | Levans Utilisateur confirmé: Rang *****
![Levans](https://2img.net/u/3412/18/80/54/avatars/171-70.jpg)
Messages : 1598 Localisation : France -> Île de France -> Essonne -> Gif sur Yvette
![code GML urgent Empty](https://2img.net/i/empty.gif) | Sujet: Re: code GML urgent Mer 16 Nov 2005 - 15:20 | |
| - daminetreg a écrit:
-
- Citation :
- collision_point(x,y,obj,prec,notme) This function tests whether at point (x,y) there is a collision with entities of object obj.
collision_rectangle(x1,y1,x2,y2,obj,prec,notme) This function tests whether there is a collision between the (filled) rectangle with the indicated opposite corners and entities of object obj. For example, you can use this to test whether an area is free of obstacles. collision_circle(xc,yc,radius,obj,prec,notme) This function tests whether there is a collision between the (filled) circle centered at position (xc,yc) with the given radius and entities of object obj. For example, you can use this to test whether there is an object close to a particular location. collision_ellipse(x1,y1,x2,y2,obj,prec,notme) This function tests whether there is a collision between the (filled) ellipse with the indicated opposite corners and entities of object obj. collision_line(x1,y1,x2,y2,obj,prec,notme) This function tests whether there is a collision between the line segment from (x1,y1) to (x2,y2) and entities of object obj. This is a powerful function. You can e.g. use it to test whether an instance can see another instance by checking whether the line segment between them intersects a wall.
Suffit de chercher dans l'aide. :p_gne: vachement précis! c'est aussi en bordel que ça dans l'aide? |
| ![Aller en bas](https://2img.net/i/empty.gif) | | daminetreg Administrateur
![daminetreg](https://2img.net/u/3412/18/80/54/avatars/6-29.png)
Messages : 16998 Localisation : Siege du CBNA! Projet Actuel : Site Web du CBNA, version beta :
![code GML urgent Empty](https://2img.net/i/empty.gif) | Sujet: Re: code GML urgent Mer 16 Nov 2005 - 15:22 | |
| J'ai mis en gras les fonctions, et oui c'est comme ça dans l'aide. _________________ Mon CV : fr - de - en Tous Ensemble! Réalisons!![code GML urgent U3dfr2](https://2img.net/h/u3d.gamemaker.fr/img/u3dfr2.png) |
| ![Aller en bas](https://2img.net/i/empty.gif) | | Contenu sponsorisé
![code GML urgent Empty](https://2img.net/i/empty.gif) | Sujet: Re: code GML urgent ![code GML urgent Empty](https://2img.net/i/empty.gif) | |
| |
| ![Aller en bas](https://2img.net/i/empty.gif) | | | code GML urgent | |
|
Sujets similaires | ![+](https://2img.net/i/empty.gif) |
|
| Permission de ce forum: | Vous ne pouvez pas répondre aux sujets dans ce forum
| |
| |
| |