Search found 947 matches

by grump
Fri Dec 17, 2021 9:57 am
Forum: Games and Creations
Topic: Physics determinism test
Replies: 15
Views: 13572

Re: Physics determinism test

"Everywhere" meaning every supported platform, architecture and device.
by grump
Fri Dec 17, 2021 9:50 am
Forum: Games and Creations
Topic: Physics determinism test
Replies: 15
Views: 13572

Physics determinism test

I wonder if this is guaranteed to result in the same final image everywhere.
hello.png
hello.png (44.52 KiB) Viewed 7617 times
by grump
Fri Dec 17, 2021 6:37 am
Forum: General
Topic: Beginner friendly book about Lua?
Replies: 30
Views: 18954

Re: Beginner friendly book about Lua?

I was just hoping I could maybe find some useful tips, hints practices in books to get me up on speed. There's just not that much to say about Lua in particular. The things you're struggling with, and programming in general, transcends languages. It's all about learning concepts . How to apply them...
by grump
Thu Dec 16, 2021 8:10 am
Forum: General
Topic: Beginner friendly book about Lua?
Replies: 30
Views: 18954

Re: Beginner friendly book about Lua?

This is why I want to get to the bottom of this and learn as much about Lua as possible before I continue developing my own libraries and modules. Lua is tiny, there's not that much to learn. What you need is more programming experience and that comes only with time and practice. Maybe try other la...
by grump
Wed Dec 15, 2021 1:38 pm
Forum: Support and Development
Topic: problem with LAN connection enet udp
Replies: 14
Views: 8232

Re: problem with LAN connection enet udp

Connecting from one machine on the LAN to another machine on the same LAN through the router's public IP address using static NAT/"port forwarding" requires explicit support from the router. Not every device can do it.

It's called hairpinning.
by grump
Tue Dec 14, 2021 6:39 pm
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
Replies: 218
Views: 482461

Re: Groverburger's 3D Engine (g3d) v1.4 Release

So I’m sure there’s a proper way to have them all work together. Seeing as I’ve looked at those other projects and a bunch of them have multiple shaders at once. Not really. You can either do multiple passes. That may be difficult to do with this "engine", idk. Or you can factor multiple ...
by grump
Tue Dec 14, 2021 12:08 pm
Forum: Support and Development
Topic: Find top, bottom, left and right side of the window?
Replies: 13
Views: 8251

Re: Find top, bottom, left and right side of the window?

If you draw the rectangle in "line", then it must be shifted at 0.5 pixel. The same for lines, as I know. If you make a grid every 100 pixels in the window 800x600, then you can draw the lines at x=0, x=800, y=0, y=600 too. Yeah, points, lines, and other primitives in 'line' mode. Those a...
by grump
Tue Dec 14, 2021 9:38 am
Forum: Support and Development
Topic: Find top, bottom, left and right side of the window?
Replies: 13
Views: 8251

Re: Find top, bottom, left and right side of the window?

This thread has everything: window coordinates, physics, a short essay on canvas scaling, pixel center coordinates, arrays (???), and where to render primitives. To summarise the important information: The left-top pixel in window coordinates is at 0, 0. The right-bottom pixel in window coordinates ...
by grump
Tue Dec 14, 2021 8:52 am
Forum: Support and Development
Topic: Find top, bottom, left and right side of the window?
Replies: 13
Views: 8251

Re: Find top, bottom, left and right side of the window?

0.5, 0.5 and love.graphics.getWidth() - 0.5, love.graphics.getHeight() - 0.5, No. I think you're confusing different coordinate systems. But you can have 0 to width and 0 to height arrays for them. What do you mean, arrays for "them"? What is "them", pixels? And why would those ...
by grump
Mon Dec 13, 2021 5:50 pm
Forum: Games and Creations
Topic: Grumpy NES emulator
Replies: 23
Views: 35353

Re: Grumpy NES emulator

Thanks, ivan. Wish I could help with this issue, but I have no experience with MoonScript at all. The reason for the excessive garbage is not the usual suspects; it's very carefully written to avoid that. It's the sheer number of traces generated by the JIT compiler. The alloted space fills up very ...