burnedpopcorn / Pizza-Tower-1.1.0-Web-Port

Pizza Tower 1.1.0 playable in the Browser
http://pt-emscriptenport.x10.mx/runner.html
14 stars 16 forks source link

Just saying, the gameframe extension depends on windows-related stuff #15

Closed Neybo closed 3 months ago

Neybo commented 3 months ago

gameframe is misplaced because a lack of borderless window in web export the only way you would fix it is remove the extension and remove the function that calls the extension functions

burnedpopcorn commented 3 months ago

Yeah, I could do that and reimpliment the old rendering code from older verisons like the April 2021 build, but honestly, I have no idea where I would start

Neybo commented 3 months ago

Yeah, I could do that and reimplement the old rendering code from older verisons like the April 2021 build, but honestly, I have no idea where I would start

that would be the objscreensizer
just remove the gameframe
* functions

burnedpopcorn commented 3 months ago

I mean, it could work, but gameframe seems to be a big dependency, so wouldn't the game crash without it? and even if it doesn't crash, wouldn't that screw up other visuals and other graphics related code?

burnedpopcorn commented 3 months ago

or are you talking about replacing the current obj_screensizer with the one from the April build (if it even has it)

burnedpopcorn commented 3 months ago

Yeah, I could do that and reimplement the old rendering code from older verisons like the April 2021 build, but honestly, I have no idea where I would start

that would be the objscreensizer just remove the gameframe* functions

Thanks for the advice, I managed to get it working by doing what you said, plus some other modifications by me

The fix is now in revision 4

burnedpopcorn commented 3 months ago

Thanks again, and ima close this issue eventually