Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits)

I think that's due to my get_gui methods...It's fixed in the next update which isn't released just yet, but you can copy the fix here and paste it in for now:

function aui_get_gui_x(_x) {      
    return window_mouse_get_x()/window_get_width() * display_get_gui_width();      
}  
function aui_get_gui_y(_y) {      
    return window_mouse_get_y()/window_get_height() * display_get_gui_height();      
}


Copy that code and paste it into AutoUiShortcuts (the functions should be at line 112 - just replace them)


If that doesn't work...do you have any camera resizing in your game?  You can also try setting the <element>.hover_type = AuiHoverType.DRAW or DRAW_GUI and see if that fixes it.  

okay seems the xtend resolution manager is causing some issues :( anytime I use The GUI draw events

Oops didnt see your edits changing the get_gui methods worked like a charm 10/10 service even at 2:30 am lol

:)