Search found 100 matches

by PGUp
Sun Aug 04, 2019 10:27 am
Forum: Support and Development
Topic: Command line parameters not working
Replies: 3
Views: 2281

Command line parameters not working

Code: Select all

function love.load(arg)
    for i,v in pairs(arg) do
		print(v)
	end
end
I ran the .love file with the following command:

Code: Select all

main.love test a b c
the output of the print function is not showing the argument i passed with the command line
by PGUp
Sun Jul 21, 2019 2:57 pm
Forum: Support and Development
Topic: How to print text that isn't affected by the camera.scale ?
Replies: 12
Views: 2765

Re: How to print text that isn't affected by the camera.scale ?

Use love.graphics.push() and love.graphics.pop()
by PGUp
Wed Jul 10, 2019 11:48 am
Forum: Support and Development
Topic: Creating a physics engine
Replies: 4
Views: 655

Re: Creating a physics engine

love2d already has it's own physics library, love.physics, if you are struggling with collision detection look this up
https://2dengine.com/?p=intersections
by PGUp
Tue Jul 09, 2019 2:55 pm
Forum: Support and Development
Topic: e-net: host not working with external IP adress on port forwarding
Replies: 3
Views: 4413

Re: e-net: host not working with external IP adress on port forwarding

just use this dude, it's an enet wrapper and it's much more simple than enet
https://github.com/camchenry/sock.lua
by PGUp
Tue Jul 09, 2019 10:59 am
Forum: Support and Development
Topic: How to print text that isn't affected by the camera.scale ?
Replies: 12
Views: 2765

Re: How to print text that isn't affected by the camera.scale ?

use love.graphics.push() before drawing the text and love.graphics.pop() after drawing the text
by PGUp
Sun Jun 16, 2019 2:26 pm
Forum: Libraries and Tools
Topic: Groverburger's Super Simple 3D Engine - v1.2
Replies: 13
Views: 13779

Re: Groverburger's Super Simple 3D Engine - v1.2

I added a simple obj file loader, credits to: https://github.com/karai17/lua-obj
loader.zip
(341.23 KiB) Downloaded 86 times
by PGUp
Sat Jun 15, 2019 4:41 pm
Forum: Support and Development
Topic: [SOLVED] enet cannot create any server
Replies: 14
Views: 4643

Re: enet cannot create any server

my ipv4 adress suddenly changed itself, i ran ipconfig command and it was definitely changed. it was Ethernet adapter Ethernet: IPv4 Address. . . . . . . . . . . : 192.168.100.7(Preferred) to Ethernet adapter Ethernet: IPv4 Address. . . . . . . . . . . : 192.168.100.3(Preferred) i created server on ...
by PGUp
Thu Jun 13, 2019 4:52 pm
Forum: Support and Development
Topic: [SOLVED] enet cannot create any server
Replies: 14
Views: 4643

Re: enet cannot create any server

You're misunderstanding. The server does not care what the ip address is, only clients trying to connect care. the system hosting a server will always be localhost, thus you shoudl put localhost or 127.0.0.1 as the ip address, and then from the system trying to connect to the server, you'd use your...
by PGUp
Thu Jun 13, 2019 11:33 am
Forum: Support and Development
Topic: [SOLVED] enet cannot create any server
Replies: 14
Views: 4643

Re: enet cannot create any server

Is that IP available on your machine? Is the port available? Are you using a firewall? Does 0.0.0.0 work as an IP? yeah, localhost, localhost ip, 0.0.0.0 ip works, but any other ip wont workm I've tried multiple different ip and ports, none of it works, random ip or ports dont work, i tried ipconfi...
by PGUp
Thu Jun 13, 2019 4:10 am
Forum: Support and Development
Topic: [SOLVED] enet cannot create any server
Replies: 14
Views: 4643

Re: enet cannot create any server

Your ip address and port combo is causing host_create to fail. If you use 127.0.0.1:8888 as the ip port combo it will work the ip of 127.0.0.1 is the same as localhost, I'm not planning to use a localhost server, I want to connect multiple devices together. Yes, but you should be creating host at t...