Help me decide what to do next?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
lesslucid
Prole
Posts: 20
Joined: Sun Mar 20, 2011 8:25 am

Help me decide what to do next?

Post by lesslucid »

Hi,

Slow but determined beginner here. I've just "finished", sort of, making a pong clone with love. I want to embark on another project in order to learn Love & lua. What should I do next? Improve my pong game (with lives, an intro screen, instructions, &c?) Improve the code of my pong game so it's all well-organised and stuff? Make an arkanoid clone? I'm looking for the next "little" challenge here, that'll help me learn more programming stuff but won't make me give up in frustration...

...also, I'd post the code of my pong game here but I'm not sure what the etiquette is... it's about 200 lines, is that too much to put in a forum post?

Any help of advice greatly appreciated!
User avatar
nevon
Commander of the Circuloids
Posts: 938
Joined: Thu Feb 14, 2008 8:25 pm
Location: Stockholm, Sweden
Contact:

Re: Help me decide what to do next?

Post by nevon »

lesslucid wrote:What should I do next? Improve my pong game (with lives, an intro screen, instructions, &c?)
Improve that shit with whatever you can until it becomes an unmanageable blob of spaghetti code. That'll teach you the importance of code structuring for your next project.
lesslucid wrote:Improve the code of my pong game so it's all well-organised and stuff?
Being able to refactor code is great, but I find it's so boring that it's not worth the bother with small projects that you only do for fun and to learn. Better that you keep in mind what a mess your old code was when you start up your next project. Maybe it's just me, but I'd rather associate learning with being creative and having fun, then with tedious and boring work. Unless you find refactoring fun, in which case my point is moot..
lesslucid wrote:..also, I'd post the code of my pong game here but I'm not sure what the etiquette is... it's about 200 lines, is that too much to put in a forum post?
Make a .love out of it and post it as an attachment (check the wiki on game distribution if you don't know how).
User avatar
ivan
Party member
Posts: 1911
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: Help me decide what to do next?

Post by ivan »

lesslucid wrote:What should I do next? Improve my pong game (with lives, an intro screen, instructions, &c?)
In my humble opinion you should focus on whatever you are interested in. That is, try to make a small game that you are excited about. Unless you are pretty excited about what you're working on chances are it won't get finished.
lesslucid
Prole
Posts: 20
Joined: Sun Mar 20, 2011 8:25 am

Re: Help me decide what to do next?

Post by lesslucid »

Thankyou both for your help!

...I think the problem with trying to make something I'm excited about is that the kind of thing I find firing my imagination tends to be some kind of big, complex, absurdly over-ambitious project, and my technical skills fall a long way short of even starting on something like that. I want to try to restrain my imagination a bit, make some things that are kind of standard, easy, small projects to build up my understanding, so that I can eventually make something I find more interesting. I think even with small projects it's possible to find little ways to make them more appealing (it was fun adding some small wrinkles to the standard "pong" mechanics, for example) but I'm reconciled to the fact that my big ideas - even my medium-sized ideas - are going to have to wait. But it's true, maintaining motivation isn't easy. Hmm.

I will have a bash at adding features to this one and see if I can't "promote" it to the level of "unmanageable spaghetti code". ;) Thanks again for the help!
Attachments
pong.love
a simple pong game, made with love.
(26.42 KiB) Downloaded 270 times
User avatar
ivan
Party member
Posts: 1911
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: Help me decide what to do next?

Post by ivan »

Hehe, not bad. I tried the game although I couldn't get a single point versus the computer. :)
I think it's kind of hard aiming the puck.
What I mean is that it might be a bit more interesting if it bounced off at an angle when you hit it with the edge of the paddle.
Or maybe the puck could speed up after each bounce.
Anyways, keep at it man.
User avatar
sharpobject
Prole
Posts: 44
Joined: Fri Mar 18, 2011 2:32 pm
Location: California

Re: Help me decide what to do next?

Post by sharpobject »

It seems like his paddle is bigger than mine.
Image
lesslucid
Prole
Posts: 20
Joined: Sun Mar 20, 2011 8:25 am

Re: Help me decide what to do next?

Post by lesslucid »

Thanks for the feedback! I've added some intro & outro screens and altered the balance a bit to make it easier / possible to win. Maybe I should try to add different difficulty levels now? Hmm.
Attachments
pong.love
version 2
(27.2 KiB) Downloaded 251 times
lesslucid
Prole
Posts: 20
Joined: Sun Mar 20, 2011 8:25 am

Re: Help me decide what to do next?

Post by lesslucid »

Ok, now with variable difficulty levels. I don't think it's quite reached the status of unmanageable spaghetti but I can see it's headed that way.

I've beaten level 4, I suspect level 5 is completely impossible. Hmm. I think my next project will be to try to use the middleclass module to create a brick-breaking game, with each brick being created as an instance of a brick class and stored in a table... but, uh, any advice or suggestions as always deeply appreciated. :)
Attachments
pong.love
version 3
(27.64 KiB) Downloaded 255 times
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Help me decide what to do next?

Post by Robin »

.Neat! In the first difficulty I could just do nothing and wait for the computer to miss 7 times. :P

A breakout clone next? Good idea. You already have part of the code anyway. ;)
Help us help you: attach a .love.
lesslucid
Prole
Posts: 20
Joined: Sun Mar 20, 2011 8:25 am

Re: Help me decide what to do next?

Post by lesslucid »

Thanks! I could probably afford to make the easiest level a little tougher than that...

At this point this is just curiosity rather than a real problem, but... should everything except the other callback functions be inside the love.load function? The explanation in the tutorial says:

"This function gets called only once, when the game is started, and is usually where you would load resources, initialize variables and set specific settings. All those things can be done anywhere else as well, but doing them here means that they are done once only, saving a lot of system resources. "

So, does that mean that if I require modules, write helper functions, declare global variables, creates classes, &c &c, outside the love.load function, these are getting processed over and over again? I've been putting all my helper functions elsewhere because it just seems "neater", but I'll put them inside the love.load function if it actually affects how the game works.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 64 guests