Search found 23 matches

by Purple Fedora
Mon Feb 17, 2020 3:07 pm
Forum: Support and Development
Topic: Lua-Enet cant create peer
Replies: 1
Views: 3479

Lua-Enet cant create peer

I have written an system for networking. It does'nt work in "client" or "both" mode. it says it cant create the peer. Thanks for your help This is my Code: function love.load() socket = require('socket') enet = require("enet") Serialize = require('knife-serialize') host...
by Purple Fedora
Sat Feb 15, 2020 9:34 pm
Forum: Support and Development
Topic: Networking with lua-enet
Replies: 1
Views: 3351

Networking with lua-enet

I am creating an multiplayer game. And i want the communication to be like this: there is an server where clients connect to and there are clients. And i want it so that the client just enters ip and port, and that he than connects. How can i get his working so that both clients and servers can send...
by Purple Fedora
Sat Sep 14, 2019 7:04 pm
Forum: General
Topic: How to test if to lines intersect
Replies: 13
Views: 6332

How to test if to lines intersect

I have 2 points and an line in between them.
I now the X and Y coordinates of the Points.
How can i test if the lines? Is there an Formular?

TIA
by Purple Fedora
Thu Nov 22, 2018 1:59 pm
Forum: Support and Development
Topic: Centering a rectangle
Replies: 0
Views: 2661

Centering a rectangle

canvas = love.graphics.newCanvas(values.width, values.height, {type="2d"}, {format="normal"}, 1) love.graphics.setCanvas(canvas) love.graphics.clear() love.graphics.setColor(blue.r, blue.g, blue.b, blue.a) love.graphics.rectangle("fill", 0, 0, values.width, values.widt...
by Purple Fedora
Thu Nov 22, 2018 10:37 am
Forum: Support and Development
Topic: How do i make good shadows in my games
Replies: 5
Views: 4603

Re: How do i make good shadows in my games

veethree wrote: Thu Nov 22, 2018 7:44 am could use this.
How do I use it
by Purple Fedora
Wed Nov 21, 2018 10:44 pm
Forum: Support and Development
Topic: Turn Based Games
Replies: 4
Views: 4173

Re: Turn Based Games

The most realistic way is to start small - board representation and moves validation in the console using pure Lua. Then user interface and AI. Not easy to implement this well. So I should just take a variable which tells who has the turn and it is gonna be a pure multiplayer game until it is maybe...
by Purple Fedora
Wed Nov 21, 2018 10:41 pm
Forum: Support and Development
Topic: Turn Based Games
Replies: 4
Views: 4173

Re: Turn Based Games

It probably won't have ai until is it possible to make something like this without huge amounts of computingpower. It is ment is a only multiplayer game for now. I just want to know how do you make a good turn based timer in a game.
by Purple Fedora
Wed Nov 21, 2018 9:39 pm
Forum: Support and Development
Topic: How do i make good shadows in my games
Replies: 5
Views: 4603

How do i make good shadows in my games

How can i make some good shadows in my game?
by Purple Fedora
Wed Nov 21, 2018 9:34 pm
Forum: Support and Development
Topic: Turn Based Games
Replies: 4
Views: 4173

Turn Based Games

What is the best way to make an turn based board game?
I am making an computer version of the go board game. What is the best way to implement turn based action?