Need voice of experience.

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
BlackBulletIV
Inner party member
Posts: 1261
Joined: Wed Dec 29, 2010 8:19 pm
Location: Queensland, Australia
Contact:

Re: Need voice of experience.

Post by BlackBulletIV »

slime wrote:You can just rename it, you know.
Yeah, you could change all references of SECS to SCS (Simple Class System).
User avatar
kraftman
Party member
Posts: 277
Joined: Sat May 14, 2011 10:18 am

Re: Need voice of experience.

Post by kraftman »

or Simple User Class System: Designed to Include Kids
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Need voice of experience.

Post by Robin »

Or simply name it class.lua?
Help us help you: attach a .love.
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: Need voice of experience.

Post by kikito »

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..
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.

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).
When I write def I mean function.
User avatar
Trappingnoobs
Citizen
Posts: 95
Joined: Tue Oct 12, 2010 8:52 pm

Re: Need voice of experience.

Post by Trappingnoobs »

kikito wrote:
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..
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.

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).
:o 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.
User avatar
Rukiri
Citizen
Posts: 68
Joined: Mon Jun 27, 2011 5:52 am

Re: Need voice of experience.

Post by Rukiri »

schael wrote:
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.
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)
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 working on this part : should I make one file per function ? I'm not well organised ...
T-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).
I write how I see my game on a copybook but I have always more and more ideas :death: I should stop writing

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 ? )
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.

like for example, Actor(Goku,75,75,30,30,5,6,9); where 75 is HP and 30 is Mana, 5 is speed, 6 is defense, and 9 is strength.
'
I'll release a rpg actor system soon, trying to convert my game maker version.
User avatar
schael
Prole
Posts: 27
Joined: Mon Jul 11, 2011 5:13 pm
Location: France

Re: Need voice of experience.

Post by schael »

You mean a function which moves entites, updates HP, mana and position and creates tables for each one ? If it is, it's a good idea ( I think ).
I'm learning...
User avatar
Taehl
Dreaming in associative arrays
Posts: 1025
Joined: Mon Jan 11, 2010 5:07 am
Location: CA, USA
Contact:

Re: Need voice of experience.

Post by Taehl »

To return to the original question: What do you make first when you want to create a game? I would most strongly advise that your first thing to make should be a /plan/. As complete and detailed as you can make, preferably written down. This will not only weed out unworkable ideas, but it will also help you immeasurably - having a plan can single-handedly save a game.

I'm a bit of a hypocrite, though, since I generally make about 50% of a plan, and then dive into coding the core mechanics and/or the most difficult-to-create part. ^^*
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 5 guests