Hello all,
I have recently played a game, Mari0 made in LOVE. It is open source, so when I observed the code, I felt really close to it, as it is as simple-looking with certain aspects of VB (my favorite--second favorite now) programming language. (Third is Java). So, I have decided to take up LOVE. I have a few questions.
1) I have a Main.lua, so what should I put here, loading stuffs?
2) I have various towns and a player. Should they have seperate .lua files from each other and the Main.lua?
Other than that, I am sure I will come to LOVE--this even further and your community! Many thanks with responses.
~ TurtleP
New Game
- josefnpat
- Inner party member
- Posts: 955
- Joined: Wed Oct 05, 2011 1:36 am
- Location: your basement
- Contact:
Re: New Game
If you are interested learning how to program Lua, check out the references on the wiki.
If you are interested in learning love, and do not know Lua, learn lua.
If you know lua, check out my tutorial.
Ss for your questions:
1) You want to put all the callbacks in main.lua. See the wiki for more information.
2) That is entirely up to you, but I would highly suggest it, and using modules in lua.
If you are interested in learning love, and do not know Lua, learn lua.
If you know lua, check out my tutorial.
Ss for your questions:
1) You want to put all the callbacks in main.lua. See the wiki for more information.
2) That is entirely up to you, but I would highly suggest it, and using modules in lua.
I do not understand what this means, but welcome!TurtleP wrote:Other than that, I am sure I will come to LOVE--this even further and your community!
Missing Sentinel Software | Twitter
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
- Jasoco
- Inner party member
- Posts: 3726
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: New Game
It was a pun. He was making a hilarious joke. Or is it "an hilarious joke"?josefnpat wrote:I do not understand what this means, but welcome!TurtleP wrote:Other than that, I am sure I will come to LOVE--this even further and your community!
Re: New Game
Don't worry too much about learning lua. I didn't know it when I started with löve and didn't have a problem with it. It's really easy, if you've programmed before and know three languages it won't be hard.
What I suggest very hard is to look at the wiki. Specially some of the tutorials like Hamster Ball: https://love2d.org/wiki/Tutorial:Callback_Functions or Callback Functions: https://love2d.org/wiki/Tutorial:Callback_Functions
So, if you have a problem, first look for it in the wiki, and then post it here so we can help.
Welcome!
What I suggest very hard is to look at the wiki. Specially some of the tutorials like Hamster Ball: https://love2d.org/wiki/Tutorial:Callback_Functions or Callback Functions: https://love2d.org/wiki/Tutorial:Callback_Functions
So, if you have a problem, first look for it in the wiki, and then post it here so we can help.
Welcome!
Re: New Game
Welcome to Love community and forum.
Since you already know some other languages you can speed a bit your Lua learning here (http://luatut.com/crash_course.html). Tutorials in WIKI are the best way to start with this framework.
Have fun around and I wish you success in development of fine projects with LOVE framework.
Since you already know some other languages you can speed a bit your Lua learning here (http://luatut.com/crash_course.html). Tutorials in WIKI are the best way to start with this framework.
Have fun around and I wish you success in development of fine projects with LOVE framework.
Re: New Game
Ellohir, do you like Callback Functions tutorial so much?
Here's the Hamster Ball tutorial: Tutorial:Hamster_Ball
Here's the Hamster Ball tutorial: Tutorial:Hamster_Ball
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Re: New Game
Oops, sorry, copied two times the same link. I should proof-read everything I post, I make lots of typos
Who is online
Users browsing this forum: No registered users and 8 guests