ffive wrote:
OH MY GOD.
Awesome.
So, tables can store different data of diffirent types labeled differently and you don't need to specify a type of each unit (of data).
Well, I knew that all variables in Lua have dynamic type, but it even works with massives.. Wow.
Huge thanks.
Ok, tables are similar to classes, but I have seen some libraries for classes (e.g. middleclass by kikito) what they can be used for?
And, how to set a scene? How to make a level? I've heard something about OGMO editor.
Any tutorials/reccomendations of other level-making approach?
Hey welcome to Löve!
I'm not highly adept when it comes to Löve and I have been working with it for close to a year now (on and off) and I guess that I'm decent with it (and I consider myself a graphic designer compared to a programmer).
But here's some advice that I have learnt from my journey:
1. Making levels? scenes? libraries? First off: take it easy.
I know myself that I wanted to floor it, to make stuff now and I advice you that you start learn how different functions work first in Löve before you start making anything more advanced, build experience upon experience.
A good start would be making a "Hello world" thing like they talk about in the wiki:
http://www.love2d.org/wiki/Getting_Started, make something like that and see what else you can add.
2. When you're starting to feel more confident in your own abilities, start looking at old games and for an example: Tetris!
What makes Tetris so special and popular? it's functions and the feeling of the game, see if you can replicate Tetris and add your own flavour to it.
3. Take your time, when you get your work flow going, it's hard to stop and if you get stuck and get frustrated, step away from the project until you have calmed down and get back to it.
If you still haven't managed to figure the problem out, ask the community for help and if you be sure to add your code to the post so we can take a look at it.
That's what I can dig out from top of my head, I'll add a game that I call "SpaceVoider" which is a Asteroids clone with a twist that I made!
Here's a link with books about lua (the language that Löve uses), I recommend either the Second edition or Third edition, the First edition is free but isn't as updated as the Second and Third edition.
http://www.lua.org/pil/
I also recommend "Designing Games", it's probably the best book I know about game design.
http://www.amazon.com/Designing-Games-G ... ning+Games
Good Luck!