Search found 8 matches

by matjojo
Tue Feb 19, 2019 10:54 pm
Forum: Support and Development
Topic: Love to stay open on error and give output to the VSCode output(or: How to set up Love for VScode)
Replies: 2
Views: 3396

Re: Love to stay open on error and give output to the VSCode output(or: How to set up Love for VScode)

I fixed the problem of not getting the output in vscode this way: In conf I need to do `conf.console = true` my tasks.json now looks like this: // --Available variables which can be used inside of strings. // --${workspaceRoot}: the root folder of the team // --${file}: the current opened file // --...
by matjojo
Tue Feb 19, 2019 7:28 pm
Forum: Support and Development
Topic: Love to stay open on error and give output to the VSCode output(or: How to set up Love for VScode)
Replies: 2
Views: 3396

Love to stay open on error and give output to the VSCode output(or: How to set up Love for VScode)

I've been trying to set up Love again for VScode on my new computer. I used to use this tasks.json file: // Available variables which can be used inside of strings. // ${workspaceRoot}: the root folder of the team //snip { // The command is the path to your love install exe. "command": &qu...
by matjojo
Sat Sep 02, 2017 2:46 pm
Forum: Support and Development
Topic: How to work nicely with fonts
Replies: 5
Views: 4922

Re: How to work nicely with fonts

That would indeed work, I'll probably rework it to not be 1-100 but just a table with all the fontsizes I need, thanks
by matjojo
Sat Sep 02, 2017 2:24 pm
Forum: Support and Development
Topic: How to work nicely with fonts
Replies: 5
Views: 4922

Re: How to work nicely with fonts

I don't need all fontsizes from one to 100, I just thought it was kinda weird to have to need to create a font for every size I might need, and thought hoped that there was a more *polished?* way of doing that. But from my searches here, your answer, and my internet searches it seems that there is n...
by matjojo
Sat Sep 02, 2017 9:19 am
Forum: Support and Development
Topic: How to work nicely with fonts
Replies: 5
Views: 4922

How to work nicely with fonts

I'm trying to find a nice way to work with custom font's and sizes but the best I've been able to come up with is this: MainFonts = {} for i=1, 100, 1 do MainFonts[i] = love.graphics.newFont("res/fonts/earthorbiter.ttf", i) end I feel like there should be a better way to do this, but a sea...
by matjojo
Tue Dec 27, 2016 8:53 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 410711

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

Can't figure out how love.math.random works, I need to get a random number between two limits: love.math.setRandomSeed(os.time()) Ball.YMovement = 0 - Ball.YMovement - math.random(-RandomBounceLimit, RandomBounceLimit) where RandomBounceLimit can be just about anything, but mostly between about 100 ...
by matjojo
Sat Dec 24, 2016 8:16 pm
Forum: General
Topic: New to love not to lua, how to start?
Replies: 6
Views: 4318

Re: New to love not to lua, how to start?

Thanks guys, I've found my way to the external tutorials, and followed the OSM one, now reading through the ones made by sheepolution \0/. That indeed gives me a better idea for how Love works. I'll be doing what raidho36 said and try to make a little game to get some more of a feel with the system.
by matjojo
Sat Dec 24, 2016 10:13 am
Forum: General
Topic: New to love not to lua, how to start?
Replies: 6
Views: 4318

New to love not to lua, how to start?

Hi all, Like the title says, I'm new to Love, but have done some things in Lua before. I followed the install instructions on the wiki , followed getting started , and set up my Sublime Text-3 version to work with all the things that the getting started page said, it now builds on CTRL-b, and can au...