Search found 15 matches

by qwdqwqwffqw
Wed Nov 30, 2022 6:45 pm
Forum: Support and Development
Topic: [Solved] FFI Safety?
Replies: 6
Views: 212

Re: FFI Safety?

That clears up all my questions. Appreciate your help!! :ultrahappy:
by qwdqwqwffqw
Wed Nov 30, 2022 12:24 pm
Forum: Support and Development
Topic: [Solved] FFI Safety?
Replies: 6
Views: 212

Re: FFI Safety?

Thank you for the answer. To elucidate my concern, there are four cases : 1) Writing on wrong memory location, which is NOT used by any other process >> but no crashing. 2) Writing on wrong memory location, which is NOT used by any other process >> LOVE crashes. 3) Writing on wrong memory location, ...
by qwdqwqwffqw
Tue Nov 29, 2022 11:21 pm
Forum: Support and Development
Topic: [Solved] FFI Safety?
Replies: 6
Views: 212

Re: FFI Safety?

Yes, I am talking about if there is potential risk in simple memory writing, not in untrustable code/functions(where there is always a different type of risk). To give explicit example : ffi = require "ffi" x = love.data.newByteData(10) -- 10-byte object a = ffi.cast("uint8_t*", ...
by qwdqwqwffqw
Tue Nov 29, 2022 4:39 pm
Forum: Support and Development
Topic: [Solved] FFI Safety?
Replies: 6
Views: 212

[Solved] FFI Safety?

Hi. I'm currently trying to improve performance and memory usage on my game by using C data structures instead of lua tables. I am not talking about security problems from malicious codes or anything like that, but about what the mistakes in code writing data on memory might cause on the machine its...
by qwdqwqwffqw
Tue Nov 29, 2022 3:56 pm
Forum: Support and Development
Topic: [Solved] Small data communication on Web
Replies: 6
Views: 250

Re: [Solved] Small data communication on Web

In addition to options mentioned above, I found out using api serivces can also be a simple solution. Messaging platform(like Discord) and many small blogging sites allow users to post and get simple message with simple http/https request. I hope that might be helpful for other possible users with s...
by qwdqwqwffqw
Fri Nov 18, 2022 6:00 pm
Forum: Support and Development
Topic: [Solved] Small data communication on Web
Replies: 6
Views: 250

Re: Small data communication on Web

Well, I've never heard of IRC before. I will take a look into your suggested options. Thank you guys!
by qwdqwqwffqw
Thu Nov 17, 2022 5:34 pm
Forum: Support and Development
Topic: [Solved] Small data communication on Web
Replies: 6
Views: 250

[Solved] Small data communication on Web

Hello. I'm quite sure what I want exists somewhere, but I can't search for it as I don't know what it is called. Requirement is not much. So, we are thinking of a 2-4 player multiplayer game project just between my friends (no more than four host/clients). The games will be very simple turn-based ga...
by qwdqwqwffqw
Sat Mar 26, 2022 10:36 pm
Forum: Support and Development
Topic: Having problem with CJK line breaking(& zero-width space).
Replies: 0
Views: 3536

Having problem with CJK line breaking(& zero-width space).

Hello. LOVE offers 'printf' and 'font:getWrap' for word wrapping, and it works great on Latin alphabets. However, it does not breaks line between east asian letter. * For Chinese and Japanese (and perhaps some other languages), you often have to indicate where line break may 'naturally' happen betwe...
by qwdqwqwffqw
Sat Jul 03, 2021 10:23 am
Forum: Support and Development
Topic: [Solved] Using video as sprite
Replies: 3
Views: 3630

Re: Using video as sprite

Those three things you mentioned now make me see that video won't be any better in most aspects compared to conventional sprite sheets. I'll go try using DDS images instead. Thanks for the kindly answer, grump.
by qwdqwqwffqw
Sat Jul 03, 2021 6:28 am
Forum: Support and Development
Topic: [Solved] Using video as sprite
Replies: 3
Views: 3630

[Solved] Using video as sprite

Hi. I'm now making character sprites for my isometric action game on LOVE. I've rendered every needed frames out of 3D model on Blender; and usually big sprite sheets of those frames, with quads or SpriteBatch will do the work. But the thing is, as there are a huge number of frames(for every prime c...