Buenas tarde Makeros. tengo una dudilla. quiero que mi personaje entre por un lado de la pantalla y salga por el otro como en pacman.

Gracias por su ayuda comunidad. saludos a todos!! 8)
GGX GAMES

#1 Abril 18, 2014, 02:47:12 AM Ultima modificación: Abril 18, 2014, 02:53:05 AM por vampy09


En GML:

En el mismo evento Other/ Outside Room

x = ((x mod room_width) +room_width) mod room_width
y = ((y mod room_height) + room_height) mod room_height


O simplemente pones:

move_wrap(true, true, 0);


Tu escojes ! ;D

Saludos !
The next best thing to knowing something,
is knowing where to find it.