You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
-improved physics ccd
-html5 exporter works again -disable repeat on image loader by default -can change shape offset en tileset, texture offset was broken
This commit is contained in:
@@ -223,6 +223,7 @@ void OS_Android::process_touch(int p_what,int p_pointer, const Vector<TouchPos>&
|
||||
ev.mouse_button.y=touch[0].pos.y;
|
||||
ev.mouse_button.global_x=touch[0].pos.x;
|
||||
ev.mouse_button.global_y=touch[0].pos.y;
|
||||
input->set_mouse_pos(Point2(ev.mouse_button.x,ev.mouse_button.y));
|
||||
main_loop->input_event(ev);
|
||||
|
||||
|
||||
@@ -259,6 +260,7 @@ void OS_Android::process_touch(int p_what,int p_pointer, const Vector<TouchPos>&
|
||||
ev.mouse_button.global_x=touch[0].pos.x;
|
||||
ev.mouse_button.global_y=touch[0].pos.y;
|
||||
last_mouse=touch[0].pos;
|
||||
input->set_mouse_pos(Point2(ev.mouse_button.x,ev.mouse_button.y));
|
||||
main_loop->input_event(ev);
|
||||
}
|
||||
|
||||
|
||||
@@ -165,7 +165,7 @@ static int frame_count = 0;
|
||||
printf("**************** app delegate init\n");
|
||||
CGRect rect = [[UIScreen mainScreen] bounds];
|
||||
|
||||
[application setStatusBarHidden:YES animation:NO];
|
||||
[application setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone];
|
||||
// disable idle timer
|
||||
application.idleTimerDisabled = YES;
|
||||
|
||||
|
||||
@@ -178,10 +178,11 @@ static void _fix_files(Vector<uint8_t>& html,uint64_t p_data_size) {
|
||||
}
|
||||
|
||||
CharString cs = strnew.utf8();
|
||||
html.resize(cs.size());
|
||||
for(int i=9;i<cs.size();i++) {
|
||||
html.resize(cs.length());
|
||||
for(int i=9;i<cs.length();i++) {
|
||||
html[i]=cs[i];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
struct JSExportData {
|
||||
|
||||
Reference in New Issue
Block a user