Search found 54 matches

by ReFreezed
Tue Dec 18, 2018 12:16 am
Forum: Support and Development
Topic: FOV shader/algorithm optimization
Replies: 1
Views: 59

Re: FOV shader/algorithm optimization

I get an error while running the program. It may be because my graphics card is a bit old. I got it running by changing triangles[1000] to triangles[300] (until I click to add a new solid tile). Error Cannot link shader program object: Fragment info ------------- (0) : error C6020: Constant register...
by ReFreezed
Sun Jun 17, 2018 3:15 pm
Forum: Support and Development
Topic: scaling for points and lines seems inconsistent?! will this change?
Replies: 2
Views: 656

Re: scaling for points and lines seems inconsistent?! will this change?

You should just use the rectangle function if you want to draw rectangle shapes that scale. The points function is specifically made to draw actual pixels, not simply rectangles, as sometimes that's what you want. You may notice that points don't rotate either, if you set the point size to higher th...
by ReFreezed
Tue May 29, 2018 4:53 pm
Forum: Libraries and Tools
Topic: [v0.1] TÖVE - vector graphics for LÖVE
Replies: 6
Views: 2054

Re: [v0.1] TÖVE - vector graphics for LÖVE

Ooh, very nice indeed! I'll probably use this for one of my projects.
by ReFreezed
Sat May 19, 2018 10:23 am
Forum: General
Topic: tilemap vs decimal coordinates
Replies: 5
Views: 781

Re: tilemap vs decimal coordinates

Heh, I've thought about this many times but never came to any solid conclusion. Sometimes I treat tilemaps the same as AABBs and sometimes I don't. It may simply be something you have to choose depending on what you really need in each particular situation. Comparing it to the real world... If you h...
by ReFreezed
Sat May 19, 2018 7:52 am
Forum: Support and Development
Topic: Making a love EXE download a DLL and then use it without restarting?
Replies: 3
Views: 412

Re: Making a love EXE download a DLL and then use it without restarting?

Well, the cache is package.loaded. :) If a module isn't there then require() tries to load it. That's also how you reload modules - by removing them from package.loaded and requiring them again. Not sure if reloading works flawlessly with DLL files. I've never tried that.
by ReFreezed
Fri May 18, 2018 10:43 pm
Forum: Support and Development
Topic: Making a love EXE download a DLL and then use it without restarting?
Replies: 3
Views: 412

Re: Making a love EXE download a DLL and then use it without restarting?

Additional DLLs, just like Lua files, aren't loaded until you require() them so I'd imagine you can do that, though you're probably gonna run into problems in the OS at some point if your program tries to modify its install folder. That's what the save directory is for. (See info in love.filesystem....
by ReFreezed
Fri May 18, 2018 3:03 am
Forum: Support and Development
Topic: Setting up PS4 controller for Love
Replies: 2
Views: 375

Re: Setting up PS4 controller for Love

Using a PS4 controller through USB works for me on Windows. It's just detected as a generic game controller though, so rumble etc. does not work.
by ReFreezed
Wed Apr 25, 2018 5:11 am
Forum: Games and Creations
Topic: Energize! - A Snake Inspired Puzzle Game
Replies: 15
Views: 3356

Re: Energize! - A Snake Inspired Puzzle Game

Loving playing this game! Well done! Kudos! A little addition might be to automatically reload the level when stuck (the snake curled into itself with nowhere to go). Thanks a lot! :) I think having an undo button would be nicer to the player than an automatic reload. The player may also want to lo...
by ReFreezed
Sat Apr 14, 2018 5:22 pm
Forum: Support and Development
Topic: Lua enet woes.
Replies: 1
Views: 261

Re: Lua enet woes.

The code seems to be the same as what I've used and it did work for me. Maybe a firewall is blocking the connection? I'm guessing there's something between the computers preventing the connection. Maybe try to connect to a machine without any hypervisor. This should be all that's needed to connect: ...
by ReFreezed
Sat Apr 14, 2018 4:01 pm
Forum: Support and Development
Topic: Virtual Resolution Management
Replies: 5
Views: 502

Re: Virtual Resolution Management

I do see one glitch - not sure if it's the same as what you're seeing. Fifty Bird glitch.png I've highlighted the issue which reminds me of screen tearing caused by Vsync, but it's happening diagonally. I've looked at the code and it seems to happen when the canvas (or "virtual screen") is drawn to ...