Android draw text for multiscreen

R

royer14

Guest
hello, I have problems to draw multiscreen text, I refer to the part of the orientation of the object

Code:
event create
taman =  text_orientation(0.20,0.35);  //argument0 = x , argument1 = y
in event DRAW
Code:
event draw
//is coment none
event DRAW GUI
Code:
/// initialize
draw_set_colour(c_green)
draw_set_font(fnt_initialize);  // it's font  make in Fonts
draw_text(x,y,"Help");
in folder script write it (name of script)---> text_orientation
Code:
///text_orientation(argument0,argument1)
h = display_get_width();
w = display_get_height();
x = (h*argument0);
y = (w*argument1);
up here in windows the orientation of the text is fine, but when I export and test it in android, the text changes place.
resize.png
 
Top