Search found 30 matches
- Tue Jun 05, 2012 9:20 pm
- Forum: Support and Development
- Topic: Help:gnerator level's
- Replies: 17
- Views: 7090
Re: Help:gnerator level's
Français Serait-ce le légendaire "French Thread" ?! :p Bon en tout cas, je suis du même avis que Roland ici. C'est vrai qu'il nous faudrait plus de détails quand à ce que tu souhaites faire exactement sinon on ne pourra pas t'aider plus que ça :) English We'll need more details to help yo...
- Mon Jun 04, 2012 7:40 am
- Forum: Libraries and Tools
- Topic: ParticleShop
- Replies: 2
- Views: 2490
Re: ParticleShop
Yeah I like it too, the GUI is pretty neat. It needs some more options but I think it's a very good start
- Mon Jun 04, 2012 7:20 am
- Forum: Support and Development
- Topic: Help improve my code ? (HardonCollider & Middleclass inside)
- Replies: 13
- Views: 7211
Re: Help improve my code ? (HardonCollider & Middleclass ins
Bumping to let you guys know what I finally got to. I managed the "._instance" Robin told me about with a function in main.lua called getObjectfromShape(). What needs to be done : - Make Circle Dynamics rotate when pushed by player. - Make player not walk on Rectangle Dynamics when jumping...
- Mon Jun 04, 2012 1:10 am
- Forum: Support and Development
- Topic: attempt to index global 'InputTimer2' (a nil value)
- Replies: 2
- Views: 1978
Re: attempt to index global 'InputTimer2' (a nil value)
Hi again. (Try to keep all your demands in 1 same topic if possible, especially if it's for a similar issue) Your problem here is that your variable is called "inputTimer" and you're trying to do stuff with "InputTimer" sometimes (I'll let you find out where, shouldn't be hard). ...
- Sun Jun 03, 2012 12:14 pm
- Forum: Support and Development
- Topic: attempt to index global 'inputTimer' (a number value)
- Replies: 5
- Views: 3036
Re: attempt to index global 'inputTimer' (a number value)
Hi
It seems that, at first glance, those lines are missing a little something that I'm sure you'll find :
Edit : ninjaed :d
It seems that, at first glance, those lines are missing a little something that I'm sure you'll find :
Code: Select all
inputTimer = 0
Edit : ninjaed :d
- Sun Jun 03, 2012 12:05 pm
- Forum: Support and Development
- Topic: Why can I only jump once?
- Replies: 6
- Views: 2704
Re: Why can I only jump once?
Do you update player.b each time player.y changes ? If you don't, then I think that might just be the thing to doonedaysnotice wrote:also, do you know why if I change player.y + player.h to player.b, that the collision doesn't happen anymore? :S
- Sun Jun 03, 2012 12:01 pm
- Forum: Support and Development
- Topic: Help improve my code ? (HardonCollider & Middleclass inside)
- Replies: 13
- Views: 7211
Re: Help improving my code ?
<edit> You can't . The value that somevar points to has no reference to the instance. Of course, if you did something like this in the initialiser: a._instance = self you could use somevar._instance.x . But that is probably not what you want. This doesn't work (I think I just did it wrong but I don...
- Sun Jun 03, 2012 7:40 am
- Forum: Support and Development
- Topic: Error message: attempt to perform arithmetic on field...
- Replies: 7
- Views: 7161
Re: Error message: attempt to perform arithmetic on field...
Instead of cut-copy paste sections of code and assemble it would be more wise if do first the LOVE tutorials. You wouldn't later be praying for that your code mixes work. And would really learn some basics that you need for now. https://love2d.org/wiki/Category:Tutorials (Hamster tutorial is a good...
- Sun Jun 03, 2012 7:37 am
- Forum: Support and Development
- Topic: Why can I only jump once?
- Replies: 6
- Views: 2704
Re: Why can I only jump once?
Hi ! It seems taht you simply forgot to reset player.y_vel to -600 when player is back in idle state. Which means that you just have to do that : if player.state == "jumping" then player.y = player.y + player.y_vel * dt player.y_vel = player.y_vel + gravity * dt if player.y + player.h > gr...
- Sun Jun 03, 2012 4:34 am
- Forum: Support and Development
- Topic: Error message: attempt to perform arithmetic on field...
- Replies: 7
- Views: 7161
Re: Error message: attempt to perform arithmetic on field...
the new error is: main.lua:77: Incorrect parameter type: expected userdata. well, it's this part love.graphics.draw(player, player.x, player.y) i can't get right, i dont know how i should draw it when i do it like this. but other than that, i actually understood what you meant coffee, had too re-re...