Search found 403 matches

by HugoBDesigner
Sun Mar 23, 2014 3:28 am
Forum: Support and Development
Topic: filesystem.newFile????
Replies: 17
Views: 10220

Re: filesystem.newFile????

see my problem is i want to see if the file exist if it doesn't exist i want to make it It should work then: if not love.filesystem.exists("file.lua") then love.filesystem.write("file.lua","anything here") end If it doesn't works, I think I'd need your .love file to ch...
by HugoBDesigner
Sun Mar 23, 2014 2:31 am
Forum: Support and Development
Topic: filesystem.newFile????
Replies: 17
Views: 10220

Re: filesystem.newFile????

I'm not sure about other solutions, but I'd use this one: love.filesystem.write("file","anything here") You just forgot the file extension: love.filesystem.write("file.lua","anything here") And it should pretty safely sure save it into your %appdata% folder. I...
by HugoBDesigner
Thu Mar 20, 2014 7:53 pm
Forum: Support and Development
Topic: 3D Rendering sub-framework
Replies: 16
Views: 7587

Re: 3D Rendering sub-framework

You use slightly simplified Java to write Processing programs. I don't think it's such a good idea to artificially restrict what your choices are just based on language preference. There isn't a good solution for what you want in Lua right now, and Processing works fine - so use it! Many programmin...
by HugoBDesigner
Thu Mar 20, 2014 7:02 pm
Forum: Support and Development
Topic: 3D Rendering sub-framework
Replies: 16
Views: 7587

Re: 3D Rendering sub-framework

That one is really, really good. But I don't know in what language it is made. Is it Java or C++? Because I don't know them. If it could work with LÖVE, then it'd be just perfect. That's my main problem right now: find something 3D wrote in Lua, so I can get it to work with LÖVE. Because Processing ...
by HugoBDesigner
Thu Mar 20, 2014 6:30 pm
Forum: Support and Development
Topic: 3D Rendering sub-framework
Replies: 16
Views: 7587

Re: 3D Rendering sub-framework

I am always interested in 3D frameworks as well, have looked at the ones mentioned in here, but they all fail on documentation. I couldn't find any info on callback functions, for example, yet in tutorials I see people use them. The good thing about LÖVE is not only that it's so easy - no annoying ...
by HugoBDesigner
Thu Mar 20, 2014 5:13 am
Forum: Support and Development
Topic: 3D Rendering sub-framework
Replies: 16
Views: 7587

Re: 3D Rendering sub-framework

Thanks for the suggestions, guys! I looked about Polycode, it seems really good, but it doesn't seems any easy to work with. Not only the coding part: I didn't get how to install and use it. It has lots of small requirements that I don't think that'd be worth it. Even though you guys where trying to...
by HugoBDesigner
Wed Mar 19, 2014 5:26 am
Forum: Support and Development
Topic: 3D Rendering sub-framework
Replies: 16
Views: 7587

Re: 3D Rendering sub-framework

My PC is VERY lousy, so I couldn't test it (no shaders support). I know it sounds ridiculous, me trying to make a 3D simulator in such a PC, but I'm this one 'til I get my main one fixed. Thanks for the try, though :) About what you said: yeah, I know it'd be used mostly for tests, and not much for ...
by HugoBDesigner
Tue Mar 18, 2014 6:39 pm
Forum: Support and Development
Topic: 3D Rendering sub-framework
Replies: 16
Views: 7587

3D Rendering sub-framework

Hello again, guys! I know this was probably asked a lot, but I'll try to be more specific (or, at least, more helpful). For some time, I wanted to make some 3D games in LÖVE. But not anything too much fancy, of course. This is still a 2D framework. But I've seen lots (some) of great 3D simulators. I...
by HugoBDesigner
Sun Mar 16, 2014 3:12 am
Forum: Support and Development
Topic: AI system
Replies: 5
Views: 2246

Re: AI system

It didn't work :( I want the entities.peaceful to move though and I think I should post a .love file, so I am. Found out the problem: where you decrease the block's position, you were actually increasing. If you replace the "+" with a "-", it should work! At least I did this and...
by HugoBDesigner
Sun Mar 16, 2014 12:52 am
Forum: Support and Development
Topic: AI system
Replies: 5
Views: 2246

Re: AI system

If you mean going from 0 to 600 and back to 0 again and again, shouldn't be too much hard: function love.load() direction = "forward" variable = 0 maxvariable = 600 --Just so it is more easily configurable minvariable = 0 end function love.update(dt) if direction == "forward" the...