Need Help...
Need Help...
Ok, here's my story. I do Javascripting a lot with Unity but there is a 2d game in Unity I just am not able to make using the 3d game engine. So, I tried out the game 'NotPacman' once before and I realised the game engine behind that would let me make the game I wanted which, of course, led me to Love2d. I soon learnt how do some very basic lua programming with some print words. When I try to do the advanced Lua stuff, it is quite a pain. I, mean I pretty much know how to do great javascripting, photoshop, 3d etc.., I've even made a lot of sprites needed for the game. So my question is, how do I learn to do code an advanced level and work my way up from the bottom.
Re: Need Help...
You can find some pretty good tutorials on LOVE2D on YouTube, here is a channel where you can find some of them:Lozmos wrote:Ok, here's my story. I do Javascripting a lot with Unity but there is a 2d game in Unity I just am not able to make using the 3d game engine. So, I tried out the game 'NotPacman' once before and I realised the game engine behind that would let me make the game I wanted which, of course, led me to Love2d. I soon learnt how do some very basic lua programming with some print words. When I try to do the advanced Lua stuff, it is quite a pain. I, mean I pretty much know how to do great javascripting, photoshop, 3d etc.., I've even made a lot of sprites needed for the game. So my question is, how do I learn to do code an advanced level and work my way up from the bottom.
http://www.youtube.com/user/sockmunkeedevelopmen/videos
You can also check out the wiki:
http://www.love2d.org/wiki/Main_Page
And be sure to check out the Projects and Demos forum: viewforum.php?f=5
You can find a lot of interesting projects and look into other people's code to learn new things! Most importantly, have fun with programming!
PM me on here or elsewhere if you'd like to discuss porting your game to Nintendo Switch via mazette!
personal page and a raycaster
personal page and a raycaster
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Need Help...
Practice, practice and keep practising. The Lua reference manual might help you a bit, as might Programming in Lua (Note: this is the first edition, available for free online. It is written for an older version of Lua, but still remains largely relevant. The second edition is about the version of Lua LÖVE uses).Lozmos wrote:So my question is, how do I learn to do code an advanced level and work my way up from the bottom.
Help us help you: attach a .love.
Re: Need Help...
Pretty much what robin says minus practice part. You should read PiL and Lua Gems, after that you'll have comprehensive Lua knowledge to abandon "improving your skill" part. Just create a game and for whatever technical question arises consult the manual.
Re: Need Help...
I've found Lua to be very much like Javascript. You should be able to pick it up fairly quickly if you read the PiL (as linked above) and from there on you can just try stuff out and see how it works. The best is to just make a bunch of samples that do small parts of what you need so that you have all the basics worked out, and then try and stitch it all together.
- Daniel Eakins
- Citizen
- Posts: 99
- Joined: Thu Jul 18, 2013 9:14 pm
- Location: France
Re: Need Help...
Checking existing codes that look like what you want to do really helps IMO. There's this set of examples on the wiki which covers tons of basic stuff: https://love2d.org/wiki/examples.love . You can check it, and then search or google the corresponding commands on the wiki or the forum for more information, etc.
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 3 guests