Search found 79 matches

by Zarty55
Thu Mar 06, 2014 6:32 pm
Forum: Libraries and Tools
Topic: Lume & Lurker : Utility functions and auto-hotswapping
Replies: 58
Views: 34787

Re: Lume : A Collection of functions geared towards gamedev

Wow! The lurker is REALLY awesome. I have maded changes in my code and it didn't even restarted the game, that thing is just... Wow! It's freaking awesome! One thing that would be nice, is that it could have a "catchChange" and "applyChange". Then we could detect changes inside l...
by Zarty55
Thu Mar 06, 2014 1:56 am
Forum: Libraries and Tools
Topic: Lume & Lurker : Utility functions and auto-hotswapping
Replies: 58
Views: 34787

Re: Lume : A Collection of functions geared towards gamedev

Just looked the functions, seems pretty nice. I'll probably add to my game, and still have to test the lurker thing, looks awesome! :D
by Zarty55
Tue Mar 04, 2014 3:10 pm
Forum: Support and Development
Topic: Velocity/Speed limit with Box2D
Replies: 4
Views: 2439

Re: Velocity/Speed limit with Box2D

ArchAngel075 wrote:It seems World:setMeter has been removed in 0.9.0 with no replacement...

So how would I then set the meter size in 0.9.0?
love.physics.setMeter
by Zarty55
Tue Mar 04, 2014 12:50 am
Forum: Support and Development
Topic: An example of how to use Physics/Box2D in 0.9.0?
Replies: 4
Views: 2162

Re: An example of how to use Physics/Box2D in 0.9.0?

It's a top-down space simulation and I wanted to have realistic drifting and boosting and thrusting. But can't figure out how to do it properly and was thinking of using Box2D, but I went to the Wiki and couldn't figure out how to add the body or shape to a certain world. It was all confusing and p...
by Zarty55
Mon Mar 03, 2014 11:52 pm
Forum: General
Topic: What techniques that everyone should know?
Replies: 75
Views: 23252

Re: What techniques that everyone should know?

Oh... :P I feel dumb now... :P EDIT: What a crummy 400th post. I was just, uh... demonstrating ternary operations with an arbitrary example... yeah, that's it. Hahaha there's no big deal. I've already made much horrible stuff than that. 6 months ago I wrote a function for drawing "filled circl...
by Zarty55
Mon Mar 03, 2014 5:38 pm
Forum: General
Topic: What techniques that everyone should know?
Replies: 75
Views: 23252

Re: What techniques that everyone should know?

I have some little tricks that are really nice. If a function only take a table or a string you can exclude the "()" between arguments: print"cool" love.graphics.setColor{255, 120, 200, 150} I use this a lot, it's one actually nice thing that I got in my entity system. Also, havi...
by Zarty55
Fri Feb 28, 2014 7:31 pm
Forum: General
Topic: A Community-Culture Problem With Library Names
Replies: 114
Views: 56892

Re: A Community-Culture Problem With Library Names

I'm not from a country that has english as a main language. We have that in common, does that mean I can crash a discussion and attempt to moderate it without any criticism received? No, it doesn't. But you criticized my grammar. Nevertheless I seriously don't want to get to "meta-discussion&q...
by Zarty55
Fri Feb 28, 2014 7:11 pm
Forum: Support and Development
Topic: Can't get userData from fixture
Replies: 4
Views: 1894

Re: Can't get userData from fixture

Probably a error with the ":". I'm not sure, oh well. http://lua-users.org/wiki/ColonForMethodCall o:test() -- method call. equivalent to o.test(o) o.test() -- regular function call. similar to just test() o.x = 5 -- field access Thanks! Is it right to say that the first argument was goin...
by Zarty55
Fri Feb 28, 2014 4:37 pm
Forum: Support and Development
Topic: Can't get userData from fixture
Replies: 4
Views: 1894

Re: Can't get userData from fixture

Well, I just managed to make it work. I was just trying to organize stuff and instead of declaring the function as it was, I did this: function PhysicsFunctions.beginContact(a, b, contact) And works fine now. Probably a error with the ":". I'm not sure, oh well. It's fixed now and I can de...
by Zarty55
Fri Feb 28, 2014 4:26 pm
Forum: Support and Development
Topic: Can't get userData from fixture
Replies: 4
Views: 1894

Can't get userData from fixture

I'm trying to set up callbacks for the physics engine. I need to get the user data from the fixtures colliding, the first fixture that is passed I can get the data without any problem, the second though, will crash the game. I'm trying to get the references to my objects trough that, but it's just n...