Search found 227 matches
- Sun Dec 21, 2014 4:25 am
- Forum: Support and Development
- Topic: Where to begin with RayTracing?
- Replies: 8
- Views: 4101
Where to begin with RayTracing?
Hello! I am completely and utterly knowledge-less with Raytracing and any shadow stuff and shaders. I was wondering, where should I begin? How do I learn to create a simple raytracing test with squares and a point and shadows? Also, how would I use this to make 3D stuff? I've tried making 3D things ...
- Thu Dec 18, 2014 3:21 pm
- Forum: Support and Development
- Topic: Run function for _ seconds in love.update
- Replies: 8
- Views: 3234
Re: Run function for _ seconds in love.update
At line 3 you create your p table, then you add your functions to the table, then at line 23 you create ANOTHER p table that overwrites your old table. Your naming scheme (g,p,cs) is also unmaintainable, it might look cool and short but after you come back to your project that has long ran out of l...
- Tue Dec 16, 2014 10:01 pm
- Forum: Support and Development
- Topic: Run function for _ seconds in love.update
- Replies: 8
- Views: 3234
Re: Run function for _ seconds in love.update
Sorry for double post but I've got a new issue, I don't think it fits as an edit. I don't think I should make a new thread either, it's very small and probably something so stupid. But here it goes basically it's saying that p is nil even though it's global, when I change any of the move functions t...
- Tue Dec 16, 2014 8:47 pm
- Forum: Support and Development
- Topic: Run function for _ seconds in love.update
- Replies: 8
- Views: 3234
Re: Run function for _ seconds in love.update
I used to have that mentality. I don't want to derail this thread too much, but I will say a couple of things: - If you want to make the libraries all yourself, go ahead. Nobody's stopping you. It's a good learning experience, plus you will know how things work, so it's easier to find internal erro...
- Tue Dec 16, 2014 8:28 pm
- Forum: Support and Development
- Topic: Run function for _ seconds in love.update
- Replies: 8
- Views: 3234
Re: Run function for _ seconds in love.update
Does this code work? Because as far as I can tell you recurse by calling doAction until the timer reaches 0. All that happens in one frame. Without knowing your code, there should probably be two functions, one that adds an action and one that updates all actions, e.g. function cs:addAction(actorIn...
- Tue Dec 16, 2014 1:52 pm
- Forum: Support and Development
- Topic: Run function for _ seconds in love.update
- Replies: 8
- Views: 3234
Run function for _ seconds in love.update
Hello! I'm trying to make some cutscene tests and I've basically got a cutscene lua file that will run an action for X time. Except I can't make it run for a certain amount of time without having to put some timers in the main.lua. How could I keep all the timer code inside my cutscene.lua? Here's s...
- Thu Nov 20, 2014 10:50 pm
- Forum: Support and Development
- Topic: 3D question
- Replies: 2
- Views: 2077
Re: 3D question
Your translating the world and the not object, You can see this when using the controls. In 3d there is local xyz, object xyz & world xyz coordinates, I haven't looked at that code but I'm sure your controls are only effecting the world space and not the object. I don't actually have a world, t...
- Fri Nov 14, 2014 12:03 am
- Forum: Support and Development
- Topic: 3D question
- Replies: 2
- Views: 2077
3D question
Hello everyone. I've taken up a small project on 3D, and I'm using wikipedia's 3D projection calculations in my program. It's well.. Not really working, but it kind of is at the same time. I've attached the .love to my code. Controls are WASD to "look around", QE to roll the view, ZX to mo...
- Fri Jun 20, 2014 8:22 pm
- Forum: Support and Development
- Topic: Running love files on Ubuntu
- Replies: 9
- Views: 5174
Re: Running love files on Ubuntu
OK thank you!bartbes wrote:The specific problem was love not showing up in the list, it's still set as a default association, but if you ever add another association you can't select love anymore. A bit awkward, to say the least. In any case, that should be fixed in the next release.
- Wed Jun 18, 2014 11:33 pm
- Forum: Support and Development
- Topic: Running love files on Ubuntu
- Replies: 9
- Views: 5174
Re: Running love files on Ubuntu
I found a way to fix it, simply went into file association, found .love, and clicked "reset".