Hi Wardini, i activated the full screen option, for the mouse capture, it is triggered at level start, may i should add some kind o focus check.
I took a look at your portal game, it looks great! Are you use pygame and zengl or something similar?
Viewing post in aMaze Game in Python + Raylib comments
There is something about the SCALED option found in pygame set_mode. I think maybe it is also set when using the OPENGL flag. I don't know much about Raylib yet but definitely want to try it out. Does it have such an option? I guess it is needed because the fullscreen option only renders to the lower left quadrant. I will try to work with Raylib and figure this out.
OK Thanks. I got it all working. I will send you a link to my updated version. Currently I have the full screen working and the mouse lock working with both desktop and web. There are a few details to discuss but overall I accomplished what I wanted. Now I have another library I can develop with and achieve web deployment as well as desktop which I really want for development.