Search found 1990 matches

by raidho36
Sat Jan 25, 2020 4:28 pm
Forum: Games and Creations
Topic: Fakeman, a ghetto pacman clone
Replies: 6
Views: 435

Re: Fakeman, a ghetto pacman clone

Some of the pellets are inaccessible. You resolve this by finding all "islands" and making sure that there's only one of it, by breaking some walls between separate islands.
by raidho36
Wed Jan 22, 2020 5:44 pm
Forum: Games and Creations
Topic: Fakeman, a ghetto pacman clone
Replies: 6
Views: 435

Re: Fakeman, a ghetto pacman clone

It would be nice if it played a bit more like OG pacman, i.e. the character never stops and the walls are thin plates instead of solid bricks, and the ghosts are somewhat trying to catch you so you need to use powerups (and strategically too). With a bit of effort an infinite version could be made, ...
by raidho36
Wed Jan 22, 2020 4:39 pm
Forum: General
Topic: Problems with localising variables
Replies: 5
Views: 180

Re: Problems with localising variables

If your module needs to return multiple values, consider that it might actually be two modules crammed into one, and you just need to split them.
by raidho36
Mon Jan 20, 2020 9:49 am
Forum: Support and Development
Topic: Different Controller GUID for different LOVE versions?
Replies: 3
Views: 228

Re: Different Controller GUID for different LOVE versions?

Well it says it right there - it's platform-dependent. Meaning that any hardware or software configuration change can affect this. It's probably unaffected by most things but that still leaves room for random differences. All GUIDs should remain the same provided the platform remains the same, and y...
by raidho36
Sun Jan 19, 2020 3:15 pm
Forum: Support and Development
Topic: requiring c module crashes love
Replies: 4
Views: 244

Re: requiring c module crashes love

luaL_register function might be removed from LuaJIT as it's 5.1 baseline with 5.2 features.
http://lua-users.org/wiki/CompatibilityWithLuaFive
by raidho36
Sun Jan 19, 2020 3:03 pm
Forum: General
Topic: How do you calculate shooting vector [Solved]
Replies: 3
Views: 147

Re: How do you calculate shooting vector

Math function "atan2" calculates angle based on coordinates to the target (from 0,0).
by raidho36
Sun Jan 19, 2020 9:33 am
Forum: Support and Development
Topic: Different Controller GUID for different LOVE versions?
Replies: 3
Views: 228

Re: Different Controller GUID for different LOVE versions?

GUID is not guaranteed to be consistent, just unique. To fix this you can use USB VID/PID values instead, those are baked into the controller. You can also controllers' name string, with a caveat that off brand controllers can share their generic names.
by raidho36
Sun Jan 19, 2020 9:22 am
Forum: Ports
Topic: Love2dCS
Replies: 18
Views: 19553

Re: Love2dCS

From what I gather it's not an actual proper JIT (it generates some machine code but for the most part it just does nothing), and the entire AOT thing is just a bytecode generator. CoreRT is an ongoing development of a proper JIT for C# and Unity is working on it's own solution called Burst Compiler...
by raidho36
Sat Jan 18, 2020 1:46 pm
Forum: Ports
Topic: Love2dCS
Replies: 18
Views: 19553

Re: Love2dCS

It's not a good benchmark because it basically just tests the rendering engine. To test language performance, you should for example implement a loop that adds together vectors using their class methods. As far as I know, C# doesn't have JIT compiler in it (but there's an ongoing effort) so it will ...
by raidho36
Sat Jan 18, 2020 1:42 pm
Forum: Support and Development
Topic: [IMPORTANT] Problem with the game distribution.
Replies: 13
Views: 527

Re: [IMPORTANT] Problem with the game distribution.

Yeah, the game code doesn't needs to be good, it just needs to function. At some point it also needs to be fast, but at no point it needs to be elegant.