Re: Need voice of experience.
Posted: Sat Jul 23, 2011 11:50 pm
Yeah, you could change all references of SECS to SCS (Simple Class System).slime wrote:You can just rename it, you know.
Yeah, you could change all references of SECS to SCS (Simple Class System).slime wrote:You can just rename it, you know.
MiddleClass allows you to use mixins, which give you the same advantages of multiple inheritance, in a more clean way. I recommend you give them a look.Trappingnoobs wrote: ...
Middleclass is probably the most-used one here, but I'm not fussed with it or most of the other implementations; since they only, as far as I know (I could be wrong so don't hold me to this), allow single inheritance, eg
...more stuff..
That does sound usefull. I might look at it in my future projects; but the projects I'm working on now are too far into development to switch.kikito wrote:MiddleClass allows you to use mixins, which give you the same advantages of multiple inheritance, in a more clean way. I recommend you give them a look.Trappingnoobs wrote: ...
Middleclass is probably the most-used one here, but I'm not fussed with it or most of the other implementations; since they only, as far as I know (I could be wrong so don't hold me to this), allow single inheritance, eg
...more stuff..
Mixins are literally just "groups of methods that you insert into a class". Inheritance is reserved for the "is a" relationship (a Car is a Vehicle). While the mixins are used for the "Can" relationship (a Bat can Fly, a Bird can Fly, but a Bat is not a Bird).
If it's an RPG you need to create a actor function which should be it's own lua file, than load it into the main lua file, and at the beginning create your actors.schael wrote:Yes, I think this is what I missed. I shoudn't take care about details in first time and make minimal tileset and map to start. (I want to make a RPG)tentus wrote:I usually start with a text document outlining where I want to go with the project. I plot out basic characters, setting, game mechanic, controls, etc. [...] don't worry at first about menus or alternate control schemes, just get a game mechanic put together.
I working on this part : should I make one file per function ? I'm not well organised ...Rukiri wrote:But since love2d doesn't have any editor I'd first work on getting to know how to control maps, make your character move around, creating events/npcs for a room etc.
I write how I see my game on a copybook but I have always more and more ideas I should stop writingT-Bone wrote:I usually open GIMP and start drawing more or less randomly. Nothing that I'll use in game, I guess you could call it artwork. It should sort of set the tone of the game you want to make. But that's just me. After that, I do whatever I think is most fun (which is usually programming or sprite drawing).
Thanks for your good advices, it is more difficult that I expected but I will not give up.
( Little technic question : are always the variables global or only when put in love.load ? )