Search found 10 matches

by Cantide
Wed Aug 10, 2011 6:35 pm
Forum: Support and Development
Topic: Cameras in Love2D (Tutorials)
Replies: 22
Views: 13768

Re: Cameras in Love2D (Tutorials)

Technocat, I tried to do it that way, but it didn't work properly.... I can't even begin to describe the bug I was getting. *_*
After checking the tutorials again I got it right, thanks BlackBulletIV! :)
by Cantide
Tue Aug 09, 2011 8:50 pm
Forum: Support and Development
Topic: Cameras in Love2D (Tutorials)
Replies: 22
Views: 13768

Re: Cameras in Love2D (Tutorials)

Thanks for the awesome tutorials and code :D I've just implemented it tonight, and it works really well.
Just one problem I've had... my mouse cursor position doesn't seem to update as the camera moves. How would I be able to correct this? :|
by Cantide
Mon Aug 08, 2011 3:33 pm
Forum: Libraries and Tools
Topic: LuAstar, a simple A* pathfinding class
Replies: 37
Views: 20227

Re: LuAstar, a simple A* pathfinding class

I think I know what he means by tile-based. You say very true things, however, judging by the "can you make it work with love.physics" part, I assume he does not understand A*. (For reference: see Wikipedia .) Yeah, it's been so long since I read up on A* I've forgotten exactly how it wor...
by Cantide
Sun Aug 07, 2011 7:29 am
Forum: Games and Creations
Topic: Further Than Ever
Replies: 8
Views: 5596

Re: Further Than Ever

Cool! I actually liked the way the net was controlled. If it were easier the game wouldn't be challenging.
Also... are you sure it's about birds and not people? :p
by Cantide
Sat Aug 06, 2011 1:09 pm
Forum: Libraries and Tools
Topic: LuAstar, a simple A* pathfinding class
Replies: 37
Views: 20227

Re: LuAstar, a simple A* pathfinding class

I like this a lot! :D I've been wondering how to tackle AI for a while now, and this is great!!
Any chance of modifying it to work with love.physics and not tile-based?
by Cantide
Sun Jul 31, 2011 9:09 pm
Forum: Games and Creations
Topic: Masai WIP - the birth of a platformer
Replies: 17
Views: 6666

Re: Masai game - the birth of a platformer

tentus, thanks! I've neatened it up a little bit now. I also use PHP - I've been using LUA for just over 2 weeks now, and I've not once looked at a LUA programming guide - I'm just trying things ( '!running' failed, and I didn't think of trying 'not running' ) :D I've learnt LUA from the LÖVE2d wiki...
by Cantide
Sun Jul 31, 2011 8:25 pm
Forum: Games and Creations
Topic: Masai WIP - the birth of a platformer
Replies: 17
Views: 6666

Re: Masai game - the birth of a platformer

Finally, in Lua, you don't need semicolons on the end of lines, or parenthesis in if statements, unless you feel like it makes things easier to read. Saves a bit of typing in the long run and clears up the screen if you leave them out. I'm used to semicolons and parenthesis... it does make it easie...
by Cantide
Wed Jul 27, 2011 7:27 pm
Forum: Games and Creations
Topic: Masai WIP - the birth of a platformer
Replies: 17
Views: 6666

Re: Masai game - the birth of a platformer

Thanks must go to bartbes for pointing out that I should use a restitution of 0 for both the player and the ground if I want to eliminate the bounce.
Still, I think it's a handy effect for different surface types like mud. I'll implement it later when I actually get that far :p
by Cantide
Wed Jul 27, 2011 7:16 pm
Forum: Games and Creations
Topic: Masai WIP - the birth of a platformer
Replies: 17
Views: 6666

Re: Masai game - the birth of a platformer

It seems the player loses momentum as soon as they land. That may be realistic, but it doesn't feel very "platformery". I know, it actually 'bugs' me quite a bit! I'm not quite sure how to fix it though. It's got to do with the physics. The player bounces slightly, and can't move as quick...
by Cantide
Wed Jul 27, 2011 6:30 pm
Forum: Games and Creations
Topic: Masai WIP - the birth of a platformer
Replies: 17
Views: 6666

Masai WIP - the birth of a platformer

Hi!! This is my first post on the forum, although I've been trolling IRC for a week or two now, so I'll try not to 'iterate' anyone :) I've started a simple platformer which will revolve around jumping, and will be mostly vertical. I'm using love.physics a lot. I've yet to figure out how to manage m...