Search found 8 matches

by Bigmacbook
Sat Feb 06, 2016 6:36 pm
Forum: Libraries and Tools
Topic: Love2D 3D Tutorial #3 - Matrices
Replies: 19
Views: 4620

Re: Love2D 3D Tutorial #3 - Matrices

Kinda sad the video tutorials are no longer available.
by Bigmacbook
Sun Aug 24, 2014 12:33 am
Forum: Support and Development
Topic: Trying to read stdin but keeps freezing [Problem Solved]
Replies: 8
Views: 1752

Re: Trying to read stdin but keeps freezing

Thanks for your help but i figured out what i needed Here is an example if anyone ever needs to do what i have done main.lua: function love.load() --Don't Edit-- io.stdout:setvbuf("no") --Don't Edit-- thread = love.thread.newThread("node.lua") node = love.thread.getChannel("node") thread:start() --s...
by Bigmacbook
Sat Aug 23, 2014 9:29 pm
Forum: Support and Development
Topic: Trying to read stdin but keeps freezing [Problem Solved]
Replies: 8
Views: 1752

Re: Trying to read stdin but keeps freezing

function love.update(dt) test = io.read("*line") end Is there any way i can do this. I heard you could do this by creating a new thread and stuff but i don't know how to set that up with the recent Thread api changes i don't know the correct code, so if you supply a code snippet that would be very ...
by Bigmacbook
Sat Aug 23, 2014 7:00 pm
Forum: Support and Development
Topic: Trying to read stdin but keeps freezing [Problem Solved]
Replies: 8
Views: 1752

Re: Trying to read stdin but keeps freezing

Ok what I'm doing is I am running my love2d game in a child process of Node.js So basically I can get Love2d stdout in nodejs but i'm trying to send text from nodejs to love2d game with stdin I'm on windows 8 Node.js Code var spawn = require('child_process').spawn, ls = spawn('/Users/Ryan/Documents/...
by Bigmacbook
Sat Aug 23, 2014 6:14 pm
Forum: Support and Development
Topic: Trying to read stdin but keeps freezing [Problem Solved]
Replies: 8
Views: 1752

Re: Trying to read stdin but keeps freezing

sorry but this doesn't help me at all
by Bigmacbook
Sat Aug 23, 2014 4:58 pm
Forum: Support and Development
Topic: Trying to read stdin but keeps freezing [Problem Solved]
Replies: 8
Views: 1752

Trying to read stdin but keeps freezing [Problem Solved]

Code: Select all

test = io.stdin:read()
my game always locks up on this line. can anyone help?

I'm trying to read all stdin that comes in!
by Bigmacbook
Fri Aug 22, 2014 1:39 am
Forum: Support and Development
Topic: Limit updates per second?
Replies: 4
Views: 1013

Limit updates per second?

I want to limit how many times love.update runs to 20 ticks a second but i don't want it to impact my FPS how would I do that?

This is what Minecraft does, it only updates player data 20 times a second but you get up to unlimited frames.
by Bigmacbook
Mon Dec 17, 2012 5:51 pm
Forum: Support and Development
Topic: Can you make Love2d's Identity Not Be Inside the LOVE Folder
Replies: 11
Views: 2352

Re: Can you make Love2d's Identity Not Be Inside the LOVE Fo

I don't want my game files to be in a folder called LOVE, so how can I change that?