Search found 10 matches
- Fri Mar 27, 2020 11:53 pm
- Forum: Support and Development
- Topic: How to disable player from entering fullscreen window in love2d.
- Replies: 6
- Views: 5142
Re: How to disable player from entering fullscreen window in love2d.
With your code, the fullscreen button is completely disabled for me (macOS 10.15 - but it's been like this since around when we first implemented macOS Fullscreen-Spaces support in SDL in 2013-ish). SDL is supposed to disable it when window resizing is disabled on macOS, so the behaviour matches my...
- Fri Mar 27, 2020 10:49 pm
- Forum: Support and Development
- Topic: How to disable player from entering fullscreen window in love2d.
- Replies: 6
- Views: 5142
Re: How to disable player from entering fullscreen window in love2d.
When you call love.window.setMode, passing in a table that contains "resizable = false" should work. Example: https://love2d.org/imgmirrur/RZEnr2D.png If that still somehow doesn't work, then I believe you have to share some code as to how you're setting the window flags; mentioning your ...
- Thu Mar 26, 2020 9:22 pm
- Forum: Support and Development
- Topic: How to disable player from entering fullscreen window in love2d.
- Replies: 6
- Views: 5142
How to disable player from entering fullscreen window in love2d.
When making a project I set the windoe dimensions o 800x400, and resizable to false, however this can easily be countered when the user enters fullscreen. Is there any way to disable the user from pressing the fullscreen icon, hense disabling them from entering fullscreen entirely? -Sincerely, Falky...
- Mon Mar 23, 2020 6:20 pm
- Forum: Support and Development
- Topic: Basic Program Won't Work? (w/ 'push' library)
- Replies: 2
- Views: 3312
Re: Basic Program Won't Work? (w/ 'push' library)
Ahh, it works. Thanks m8
- Mon Mar 23, 2020 4:09 am
- Forum: Support and Development
- Topic: Basic Program Won't Work? (w/ 'push' library)
- Replies: 2
- Views: 3312
Basic Program Won't Work? (w/ 'push' library)
Here is my code: push = require 'push-master.push' WINDOW_WIDTH = 1024 WINDOW_HEIGHT = 600 VIRTUAL_WIDTH = 400 VIRTUAL_HEIGHT = 200 function love.load() love.graphics.setDefaultFilter('nearest','nearest') push:setupScreen(VIRTUAL_WIDTH, VIRTUAL_HEIGHT, WINDOW_WIDTH, WINDOW_HEIGHT, { fullscreen = fal...
- Mon Mar 23, 2020 3:52 am
- Forum: Support and Development
- Topic: Module "push" not found.
- Replies: 9
- Views: 9232
Re: Module "push" not found.
[Content Deleted]
- Mon Mar 23, 2020 3:39 am
- Forum: Support and Development
- Topic: Module "push" not found.
- Replies: 9
- Views: 9232
Re: Module "push" not found.
[Content Deleted]
- Mon Mar 23, 2020 2:51 am
- Forum: Support and Development
- Topic: Module "push" not found.
- Replies: 9
- Views: 9232
Re: Module "push" not found.
he was probably importing a library. Can you tell what the push is for? I recommend taking a look at the libraries he is using in the project. @edit I was able to find this one: https://github.com/Ulydev/push try to require it I was going off the assumption that 'push' is a default package that is ...
- Mon Mar 23, 2020 12:15 am
- Forum: Support and Development
- Topic: Module "push" not found.
- Replies: 9
- Views: 9232
Re: Module "push" not found.
he was probably importing a library. Can you tell what the push is for? I recommend taking a look at the libraries he is using in the project. @edit I was able to find this one: https://github.com/Ulydev/push try to require it I was going off the assumption that 'push' is a default package that is ...
- Sun Mar 22, 2020 9:35 pm
- Forum: Support and Development
- Topic: Module "push" not found.
- Replies: 9
- Views: 9232
Module "push" not found.
Hey, quick question. How do I fix the error: Module "push" not found. I was following the CS50 course when it has a line that said: push = require 'push' I type this code in, and my program stops working with a bunch of errors with messages such as "push not found", "no file...