excelente proposición amigo!!!
yo me ofrezco a dar talleres de programación!!! ya que eso es lo mio!!! ;D
yo me ofrezco a dar talleres de programación!!! ya que eso es lo mio!!! ;D
Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
randomize();
x = irandom_range(100, 400);//puedes cambiar el 100 y el 400 por numeros que tu quieras
//funciones para cambiar la resolucion
//
//
//
var screen_width, screen_height;
screen_width = 800;
screen_height = 480;
window_set_size(screen_width, screen_height);
if os_type == os_android {
screen_width = display_get_width();
screen_height = display_get_height();
}
var display_w, display_h;
display_w = display_get_width();
display_h = display_get_height();
// override if we are testing on Windows:
if os_type == os_windows {
display_w = screen_width;
display_h = screen_height;
}
/************************
Aspect ratio fix
************************/
// Set our base height
view_hview = 768;
view_hport = 768;
// get the aspect ratio
aspect_ratio = display_w/display_h;
// Now we change the view width based on the aspect ratio and the desired height:
view_wview = view_hview*aspect_ratio;
view_wport = view_wview;
// Do notice here the '768', this is the static height we want to maintain on our
// game, higer sizes will make your game to look better on hi-res devices, but
// worse on low-res devices, and backwards.
// Inverse example, using a static width instead:
/*
view_wview = 640;
view_wport = 640;
aspect_ratio = display_w/display_h;
view_hview = view_wview/aspect_ratio;
view_hport = view_hview;
*/
//
//
//termina funcion
Citar...odio que me corrijan de manera absurda...
Bastaba con decir "Tienes que hacerlo asi y asi",pero no... tienes que pisar,para dejar huella...
Page generada en 0.026 segundos con 12 consultas.