Search found 105 matches

by pedrosgali
Sun Mar 10, 2019 10:25 am
Forum: Support and Development
Topic: How i can permanently ban someone by their ip from the server? [SOLVED]
Replies: 17
Views: 669

Re: How i can permanently ban someone by their ip from the server?

If they connect to your server then surely you get their IP to be able to send them data back. What networking protocol are you using?
by pedrosgali
Tue Feb 19, 2019 9:58 am
Forum: Support and Development
Topic: Video distortion/corruption on Raspberry Pi 3
Replies: 6
Views: 1712

Re: Video distortion/corruption on Raspberry Pi 3

How much memory are you giving the GPU? Every time I have trouble with a raspberry pi playing video it's because I forgot to increase video memory. You can find it in raspi-config. Essentially they split the RAM between the CPU and GPU but I think it defaults to something really low like 64Mb to the...
by pedrosgali
Tue Jan 22, 2019 6:38 am
Forum: Support and Development
Topic: [SOLVED] Drawing on canvas works wrong
Replies: 7
Views: 1541

Re: [SOLVED] Drawing on canvas works wrong

You get one free clear at the start of the draw loop as love clears the screen for you ready to draw the new frame. As for the tint, yes it applies to everything drawn. You can use this to your advantage though, I draw all my UI assets in greyscale and let the user pick the UI colour.
by pedrosgali
Thu Jan 03, 2019 7:43 am
Forum: General
Topic: love.event.wait freezing game window
Replies: 13
Views: 1371

Re: love.event.wait freezing game window

Is the text being printed to the console? Your function added to the timer is calling print which adds text to the console.
by pedrosgali
Sun Dec 09, 2018 10:09 pm
Forum: General
Topic: LoveéD and udp socket
Replies: 6
Views: 1264

Re: LoveéD and udp socket

Depends, whoever is running the server needs to have open ports.
by pedrosgali
Fri Oct 19, 2018 12:27 pm
Forum: Games and Creations
Topic: Aeon of Sands - The Trail - a retro, post-apocalyptic RPG coming 4 Dec. 2018
Replies: 19
Views: 5538

Re: Aeon of Sands - The Trail - a retro, post-apocalyptic RPG coming 4 Dec. 2018

Congratulations, the game looks awesome. Can't wait to play it.
by pedrosgali
Wed Oct 17, 2018 7:02 pm
Forum: Support and Development
Topic: Mousepressed not working?
Replies: 27
Views: 2548

Re: Mousepressed not working?

just zip them up and rename from .zip to .love
by pedrosgali
Wed Oct 17, 2018 6:44 pm
Forum: Support and Development
Topic: Printing Machine
Replies: 5
Views: 652

Re: Printing Machine

I was wondering what that command was in Lua, in python it's

Code: Select all

os.startfile(dir_path, "print")
I will use this in the future :awesome:
by pedrosgali
Wed Oct 17, 2018 6:39 pm
Forum: Support and Development
Topic: Mousepressed not working?
Replies: 27
Views: 2548

Re: Mousepressed not working?

No problem, next time if you post a .love file like I did it'll be a lot easier to help you as all the code will be there for us to look at.
by pedrosgali
Wed Oct 17, 2018 6:26 pm
Forum: Support and Development
Topic: Mousepressed not working?
Replies: 27
Views: 2548

Re: Mousepressed not working?

The main.lua file should look like this: local menu = require "menu" function love.load() menu_load() end function love.mousepressed(x, y, b) menu_mousepressed(x, y, b) end function love.update(dt) end function love.draw() menu_draw() end Well I'm sure there will be other things in there but that's ...