Page 1 of 1

Simple Tutorials

Posted: Sat Jun 09, 2012 4:56 pm
by Tenelen
Hello there everybody!

As you can see, I have just registered on these forums. I'm very excited to have found Lua and LÖVE. I have been reading up a decent amount of the wiki and have followed a few tutorials that I have found, but I am having a bit of trouble. I do not have a large background with coding, but I have messed around and taken some classes using Visual Basic, C++ and about a decade ago I used GameMaker (lol).

I am wondering if there are any good tutorials or things related around building a platform game with Lua and LÖVE. I am really just looking for some guidance in making the ground, and other blocks, and working on creating collisions and gravity. I know how to load graphics for sprites and tiles, as well as use keyboard inputs for having the player move and jump (in a sorts, the gravity function from the hamster ball tutorials is a little odd).

If I could get any help that would be great.

Thanks!

Re: Simple Tutorials

Posted: Sat Jun 09, 2012 7:46 pm
by kikito
Well, you are good on the timing, certainly!

I've just published a collision detection lib. It comes with a demo game, which is a very simple platformer.

It is not a tutorial, and I'm not particularly happy about how certain things are done (the friction in particular ...) but it should be enough to get you started.

You can see it here:

viewtopic.php?f=5&t=9489

I must warn you that I used 3 libraries to make this work: middleclass to get Object Orientation, the collision lib I just created, and a very minimal camera system to do the scrolling.