Fullscreen for view and camera diferent? help please

Discussion in 'Programming' started by theraje3, Jan 12, 2018.

  1. theraje3

    theraje3 Member

    Joined:
    Aug 24, 2017
    Posts:
    33
    The regular window_set_fullscreen function dont work for me... the game crash and i have to restart everything.. why this could happen? i have viewports and cameras enables. it only happens in my current proyect. im desesperated pls help >.<
     
  2. nesrocks

    nesrocks Member

    Joined:
    Nov 6, 2016
    Posts:
    268
    You need to learn to debug this. You didn't give a lot of information, so if you're really desperate and tried everything, then try this: make a backup of your project and remove huge chunks of the game until the problem stops happening. That should tell you where the problem is.
     
  3. theraje3

    theraje3 Member

    Joined:
    Aug 24, 2017
    Posts:
    33
    He estado trasteando con el modo debugger y no he encontrado ningun error. Sorprendentemente ahora que he usado el mismo código que antes...
    if window_get_fullscreen()
    {
    window_set_fullscreen(0);
    } else {
    window_set_fullscreen(1);
    }


    (esto es un script)

    ... si que me ha funcionado asique supongo que seria un problema de mi sesion en game maker aunque cambie de proyecto y en el otro si que me funcionó. De todos modos gracias por la respuesta y para los que os pase algo similar de que os crashee el juego e incluso el pc, reiniciar todo y volverlo a probar.

    Un saludo ^^
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice