Search found 10 matches

by Falkyraizu
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: 4953

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...
by Falkyraizu
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: 4953

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 ...
by Falkyraizu
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: 4953

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...
by Falkyraizu
Mon Mar 23, 2020 6:20 pm
Forum: Support and Development
Topic: Basic Program Won't Work? (w/ 'push' library)
Replies: 2
Views: 3216

Re: Basic Program Won't Work? (w/ 'push' library)

pgimeno wrote: Mon Mar 23, 2020 10:45 am I haven't used push, but is it possible that you need to use VIRTUAL_WIDTH and VIRTUAL_HEIGHT for printf? IIUC the whole point of push is that you don't need to use the real device's size. And in that case, the coordinates you're passing are off the screen.
Ahh, it works. Thanks m8 :)
by Falkyraizu
Mon Mar 23, 2020 4:09 am
Forum: Support and Development
Topic: Basic Program Won't Work? (w/ 'push' library)
Replies: 2
Views: 3216

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...
by Falkyraizu
Mon Mar 23, 2020 3:52 am
Forum: Support and Development
Topic: Module "push" not found.
Replies: 9
Views: 8707

Re: Module "push" not found.

[Content Deleted]
by Falkyraizu
Mon Mar 23, 2020 3:39 am
Forum: Support and Development
Topic: Module "push" not found.
Replies: 9
Views: 8707

Re: Module "push" not found.

[Content Deleted]
by Falkyraizu
Mon Mar 23, 2020 2:51 am
Forum: Support and Development
Topic: Module "push" not found.
Replies: 9
Views: 8707

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 ...
by Falkyraizu
Mon Mar 23, 2020 12:15 am
Forum: Support and Development
Topic: Module "push" not found.
Replies: 9
Views: 8707

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 ...
by Falkyraizu
Sun Mar 22, 2020 9:35 pm
Forum: Support and Development
Topic: Module "push" not found.
Replies: 9
Views: 8707

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...