documentación
novedades
guía de usuario
listado de funciones
variables y constantes
componentes web
licencia
comunidad
juegos desarrollados
foro de discusión
seguir en facebook
seguir en twitter
ejemplos
primitivas y textos:
draw
write
interacción procesos:
signal
colision
advance
planos:
scroll
mode7
scene3d
reproducción audio / video:
sonidos
video
modplay
efectos:
proceso
región
scroll
juegos:
Super Paf!
Plataformas
Dr. Malvado
Pacoman
Steroid
Pitfall
Exploss
Zelda
Sokoban
Fostiator
Oh Mummy!!
Sonic SMS
Galax
Puzzle
Bricks Breaker
Helio Ball
tutoriales:
0
1
2
3
4
5
6
7
menú
documentación:
novedades
guía de usuario
listado de funciones
variables y constantes
licencia
comunidad:
juegos desarrollados
foro de discusión
seguir en facebook
seguir en twitter
ejemplos:
write
scroll
scene3d
colision
modplay
región
Super Paf!
Dr. Malvado
Pitfall
Sokoban
tutoriales:
0
1
2
3
4
5
descargas
HTML5 Game engine
Entorno de desarrollo de juegos online en HTML5
Haz clic para obtener el control del teclado
Programar a tamaño normal
Programar a tamaño completo
Recuperar PRG
Abrir archivo PRG
Guardar PRG
Buscar
Reemplazar
PROGRAM example_graphic_info; PRIVATE file1; myheight; mywidth; x_centre; y_centre; BEGIN set_mode(m320x200); file1=load_fpg("graficos/help"); put_screen(file1, 1); graph=100; x=160; y=100; file=file1; // We take the information about the height of the graphic myheight = graphic_info(file1, 100, g_height); // We take the information about the width of the graphic mywidth = graphic_info(file1, 100, g_wide); // We take the information about the coordinate x of the centre of the graphic x_centre = graphic_info(file1, 100, g_x_center); // We take the information about the coordinate & of the centre of the graphic y_centre = graphic_info(file1, 100, g_y_center); text_size = 40; write(0, 0, 0, 0, "Height of the graphic:"); write_int(0, 0, 10, 0, offset myheight); write(0, 0, 20, 0, "Width of the graphic:"); write_int(0, 0, 30, 0, offset mywidth); write(0, 0, 40, 0, "Horizontal centre of the graphic:"); write_int(0, 0, 50, 0, offset x_centre); write(0, 0, 60, 0, "Vertical centre of the graphic:"); write_int(0, 0, 70, 0, offset y_centre); LOOP FRAME; END END
+
Tamaño Código:
Compilar Código
Compilando...