Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

WAIT. I missed that...

======== How to use the mouse ========

// Try to cache the return of .get_mouse() as much as you can

var mouse = my_crt.get_mouse();

if mouse.valid {

    draw_circle_color(mouse.x, mouse.y, 16, c_blue, c_lime, false);

    draw_text(mouse.x, mouse.y, string(mouse.view_index));

}


But for some reason, I had too find multipliers that I still don't know how they work (was trial & error)

var mouse = crt.get_mouse();

if mouse.valid {

    mousex = mouse.x * 2.99;

    mousey = mouse.y * 2;

}