Search found 2 matches
- Mon Jun 03, 2024 2:33 pm
- Forum: Support and Development
- Topic: Online game
- Replies: 5
- Views: 2581
Re: Online game
Now i have this code, i have fixed it a little, because networking function didnt even run require("json") local http = require("socket.http") local ltn12 = require("ltn12") local threadChannel = love.thread.getChannel("threadChannel") function sendData(params...
- Sun Jun 02, 2024 8:14 pm
- Forum: Support and Development
- Topic: Online game
- Replies: 5
- Views: 2581
Online game
now i am making an online game, and i have this bug: function that sends data on server and gets a response is taking a while to continue script and return those values, but if i do it every frame, game gets very laggy, i have like 2 fps in the game, how do i place this function in another loop, so ...