Page 63 of 91

Re: "Questions that don't deserve their own thread" thread

Posted: Thu Jun 23, 2016 8:02 pm
by Le_juiceBOX
Help, "Undrawing"
how do i use a table to draw and undraw enemies ect?

Re: "Questions that don't deserve their own thread" thread

Posted: Fri Jun 24, 2016 1:32 am
by pgimeno
You already asked it and got the correct answer:
https://www.love2d.org/forums/viewtopic.php?f=4&t=82377

Re: "Questions that don't deserve their own thread" thread

Posted: Fri Jun 24, 2016 2:31 pm
by Chroteus
Hello,
I want to develop a 2D terrain generator for a 2D planet generator, but I'm not sure where to start. I saw some algorithms being mentioned, but I'm not sure which one will be more suitable.

EDIT: Extensive Googling yielded exactly what I needed. Here's the link if anyone's interested:http://www.redblobgames.com/maps/terrain-from-noise/

Re: "Questions that don't deserve their own thread" thread

Posted: Fri Jun 24, 2016 3:47 pm
by Substance12
Is it possible to make ImageFont glyphs overlap a little? I have a font with black borders whose borders are supposed to overlap one pixel between characters

Re: "Questions that don't deserve their own thread" thread

Posted: Fri Jun 24, 2016 3:53 pm
by Chroteus
Substance12 wrote:Is it possible to make ImageFont glyphs overlap a little? I have a font with black borders whose borders are supposed to overlap one pixel between characters
Use extraspacing argument added in 0.10.0:

Code: Select all

number extraspacing
    Additional spacing (positive or negative) to apply to each glyph in the Font.
https://love2d.org/wiki/love.graphics.newImageFont

So, use negative spacing to make the overlap.

Re: "Questions that don't deserve their own thread" thread

Posted: Fri Jun 24, 2016 3:55 pm
by Substance12
Chroteus wrote:
Use extraspacing argument added in 0.10.0:

Code: Select all

number extraspacing
    Additional spacing (positive or negative) to apply to each glyph in the Font.
https://love2d.org/wiki/love.graphics.newImageFont

So, use negative spacing to make the overlap.
Ah, awesome, I didn't notice that, thanks! :awesome:

Re: "Questions that don't deserve their own thread" thread

Posted: Mon Jun 27, 2016 12:23 am
by Le_juiceBOX
pgimeno wrote:You already asked it and got the correct answer:
https://www.love2d.org/forums/viewtopic.php?f=4&t=82377

Yes i understand but that didn't give me what i wanted, i wanted an example like how to do this in a table, what he/she said was the technical side of things(which i understand) thanks

thank you for answering

P.S. sorry if this sounded rude I do not mean for it to sound like that.

Re: "Questions that don't deserve their own thread" thread

Posted: Thu Jul 07, 2016 8:14 pm
by Skeletonxf
I'm trying to install LuaRocks after previously trying to install it and getting errors on every single rock I tried to install through it. I redownloaded the 2.3.0 windows version (I'm on windows 7) and after reading the installation wiki page again I'm still really confused. The page doesn't say a thing about how I'm meant to actually install LuaRocks (https://github.com/keplerproject/luaroc ... or-Windows). I tried double clicking the install.bat file and it immediately opened up a command prompt window and then closed again. After about 5 tries I managed to read a line about admin perms so I then tried running the install.bat file with admin perms. This too opened up a command prompt window that immediately closed and closed so fast I couldn't even read it. I then recorded my screen and tried again just so I could get the message and it said:

rem=rem --[[
The system cannot find the path specified.

I just want to install LuaRocks normally and don't want to modify any of the deafult installation behaviours? What am I meant to do?

Re: "Questions that don't deserve their own thread" thread

Posted: Sat Jul 09, 2016 5:11 am
by Guard13007
Skeletonxf wrote:I tried double clicking the install.bat file and it immediately opened up a command prompt window and then closed again.
First, open command prompt and then run the batch file from command line. That way it stays open between things.

Second, Google every error message you get and READ READ READ. It's unnecessarily complicated.

Alternately, do it on Linux, much much easier.

Also, a quick note, you need to have a regular Lua install somewhere for the header files. On Linux, you need to install a dev package for the headers. It's much simpler on Linux if you know it, but I realize it's a bit harder to get used to Linux if you've never used it. Trust me it's worth it though. o.o Everything except video editing and gaming works better on Linux, and even gaming is slowly getting there.

Re: "Questions that don't deserve their own thread" thread

Posted: Sat Jul 09, 2016 8:47 am
by s-ol
Skeletonxf wrote:I'm trying to install LuaRocks after previously trying to install it and getting errors on every single rock I tried to install through it. I redownloaded the 2.3.0 windows version (I'm on windows 7) and after reading the installation wiki page again I'm still really confused. The page doesn't say a thing about how I'm meant to actually install LuaRocks (https://github.com/keplerproject/luaroc ... or-Windows). I tried double clicking the install.bat file and it immediately opened up a command prompt window and then closed again. After about 5 tries I managed to read a line about admin perms so I then tried running the install.bat file with admin perms. This too opened up a command prompt window that immediately closed and closed so fast I couldn't even read it. I then recorded my screen and tried again just so I could get the message and it said:

rem=rem --[[
The system cannot find the path specified.

I just want to install LuaRocks normally and don't want to modify any of the deafult installation behaviours? What am I meant to do?
I didn't get to try it yet but this looks promising: https://chocolatey.org/

Alternatively, this is the only thing that ever worked for me on windows: http://www.thijsschreijer.nl/blog/?p=772