For the past few weeks I've been learning Lua, and finally I feel confident enough to try LÖVE.
I'm looking for a simple game example with states that works with version 0.10.x.
Something like this would be perfect. If you are familiar with ruby + gosu, you can try it,
if not, it's a simple space shooter, with three states/rooms (main menu, play game, and credits),
that I printed on 20 pages of paper and used to learn.
I need example of similar simplicity/size to try learning LÖVE
PS
I have searched github, and found dozen of games, but most of them are not up to date with latest version of LÖVE.
Can you point me to a good, simple, up to date game example?
Re: Can you point me to a good, simple, up to date game example?
Have you looked through the Games & Creations board on the forum?
viewforum.php?f=14
It should have all sorts of examples, work in progress, and complete games.
viewforum.php?f=14
It should have all sorts of examples, work in progress, and complete games.
-
- Prole
- Posts: 8
- Joined: Wed Jul 20, 2016 4:47 pm
Re: Can you point me to a good, simple, up to date game example?
Hi OldBoy,
I'm new to Lua and LÖVE myself. I just completed a basic "Pong" game which you may like to take a look at: https://github.com/kevin-d-omara/Pong.
It uses the latest LÖVE (version 0.10.1) and has 4 gamestates: main menu, in game, pause, and game over. Complete with options to switch between them. There's also an option to change the music volume and re-map controls. I'm new to game development, so my code/organization certainly isn't the best. But, hopefully you can still follow my work and learn from it!
P.S. The pause button is "escape". I figured people instinctively know that "escape" == "pause/menu" so I didn't list that control in the menu.
I'm new to Lua and LÖVE myself. I just completed a basic "Pong" game which you may like to take a look at: https://github.com/kevin-d-omara/Pong.
It uses the latest LÖVE (version 0.10.1) and has 4 gamestates: main menu, in game, pause, and game over. Complete with options to switch between them. There's also an option to change the music volume and re-map controls. I'm new to game development, so my code/organization certainly isn't the best. But, hopefully you can still follow my work and learn from it!
P.S. The pause button is "escape". I figured people instinctively know that "escape" == "pause/menu" so I didn't list that control in the menu.
Re: Can you point me to a good, simple, up to date game example?
your Pong game is actually one of the best working examples I have so far, thank you
Btw, I don't know if it's intentional, but there is unnecessary 70 Mb folder "Downloads" included in a zip file
Btw, I don't know if it's intentional, but there is unnecessary 70 Mb folder "Downloads" included in a zip file
-
- Prole
- Posts: 8
- Joined: Wed Jul 20, 2016 4:47 pm
Re: Can you point me to a good, simple, up to date game example?
Awesome! I'm really happy to hear that
Yes, the 70 Mb "Downloads" folder was intentional. I'm trying to practice Game Distribution (i.e. turning the source into a single executable). After all, not everyone has LÖVE installed.
An example is Mari0: http://stabyourself.net/mari0/. At the bottom of the page you can download a single-file executable for Windows, OSX, or Linux. By the way, I got my idea for "game states" from the Mari0 source code. You might like to take a look through its source code too. Also, it's a fantastically wacky fun game!
[edit] P.S. If I had a website or somewhere else to host my games I would put the "Downloads" there and remove them from bloating the GitHub page. For now they will stay on GitHub though.
Yes, the 70 Mb "Downloads" folder was intentional. I'm trying to practice Game Distribution (i.e. turning the source into a single executable). After all, not everyone has LÖVE installed.
An example is Mari0: http://stabyourself.net/mari0/. At the bottom of the page you can download a single-file executable for Windows, OSX, or Linux. By the way, I got my idea for "game states" from the Mari0 source code. You might like to take a look through its source code too. Also, it's a fantastically wacky fun game!
[edit] P.S. If I had a website or somewhere else to host my games I would put the "Downloads" there and remove them from bloating the GitHub page. For now they will stay on GitHub though.
- Positive07
- Party member
- Posts: 1014
- Joined: Sun Aug 12, 2012 4:34 pm
- Location: Argentina
Re: Can you point me to a good, simple, up to date game example?
Use Dropbox, Love forums atachments or GitHub releases, even GDrive can provide public links
Made an issue in GitHub so that you delete the Download folder and use the appropiate releases and tags instead
Made an issue in GitHub so that you delete the Download folder and use the appropiate releases and tags instead
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
Who is online
Users browsing this forum: Ahrefs [Bot] and 1 guest