Search found 48 matches

by Sky_Render
Thu Aug 29, 2019 5:01 am
Forum: Support and Development
Topic: Any way to get LOVE to behave with Windows' XBOX Game Bar?
Replies: 6
Views: 2532

Re: Any way to get LOVE to behave with Windows' XBOX Game Bar?

That is a feature I didn't know exists, but it only solves the problem for the initial load. What if the player wants to change the screen resolution after initial load to better suit their system's capabilities? The same problem comes up again.
by Sky_Render
Sat Aug 24, 2019 1:51 am
Forum: Support and Development
Topic: Any way to get LOVE to behave with Windows' XBOX Game Bar?
Replies: 6
Views: 2532

Re: Any way to get LOVE to behave with Windows' XBOX Game Bar?

I need to set it at least once when I start the game; that's unavoidable. And changing the window size even once from the default setting triggers this issue. So your solution, sadly, doesn't work for me.
by Sky_Render
Fri Aug 23, 2019 2:00 am
Forum: Support and Development
Topic: Any way to get LOVE to behave with Windows' XBOX Game Bar?
Replies: 6
Views: 2532

Any way to get LOVE to behave with Windows' XBOX Game Bar?

So I've run into a rather vexing problem: every time LOVE changes window sizes, the XBOX Game Bar pops up behind the window. In doing so, it creates a dead space of mouse recognition exactly the size and shape of the XBOX Game Bar. Said dead space does not go away until you Alt-Tab away from the win...
by Sky_Render
Sun Jul 07, 2019 1:40 pm
Forum: Support and Development
Topic: Need help with selective collision detection
Replies: 14
Views: 3844

Re: Need help with selective collision detection

The big problem I have with the existing table architecture is that (as far as I can tell) you cannot use the nested tables the same way you can in other languages. In C++ derivatives, as an example, you could write something like: class foo int x int y string data end class foo object(16) And that ...
by Sky_Render
Sat Jul 06, 2019 12:53 pm
Forum: Support and Development
Topic: Need help with selective collision detection
Replies: 14
Views: 3844

Re: Need help with selective collision detection

I want to set menus as objects, but unfortunately Lua's metatable structure is about as smooth and intuitive as a spike-covered Rubik's cube. Apparently the standard object[key].data = value (ex. menu[1].x = 64 menu[3].sprite = love.graphics.newImage("button.png"), etc.) format that litera...
by Sky_Render
Sat Jul 06, 2019 1:20 am
Forum: Support and Development
Topic: Need help with selective collision detection
Replies: 14
Views: 3844

Re: Need help with selective collision detection

I looked up a Box2D tutorial on the subject, and it actually solved my problem! For those who don't know, categories define what type of collision object you're looking at, and masks define what categories your fixtures won't collide with. As the tutorial put it, category means "I am a..."...
by Sky_Render
Fri Jul 05, 2019 3:14 pm
Forum: Support and Development
Topic: Need help with selective collision detection
Replies: 14
Views: 3844

Re: Need help with selective collision detection

This is more of a general "how are you supposed to use this feature" functionality question than it is a problem with specific code. And I believe I have found a bit of a kludge of a workaround: just apply multiple fixtures to the same body with different categories. That way they pass thr...
by Sky_Render
Fri Jul 05, 2019 3:06 am
Forum: Support and Development
Topic: Need help with selective collision detection
Replies: 14
Views: 3844

Need help with selective collision detection

I'm having a heck of a time trying to figure out how to code the logic in this engine for selective collision detection. Here's the basic thing I'm after: * The player should be able to collide with enemies and items, but not their own projectiles * The enemies should be able to collide with the pla...