*Ranguna uses Balm of Life (search Balm of Life in the link)*
This is a really good idea, but it.. died ?
Who wants to create the organization ? (we'll be using github since teams can have unlimited number of members at the price of 0 Gold) If no one offers then I'll create one, be worned thought, I still know very few about github so I might make some mistakes
BTW Lua introduced goto statements in Lua 5.2 but does LÖVE have that version ?
Cthulhu Project : Let's Make Unmaintainable Code
- Ranguna259
- Party member
- Posts: 911
- Joined: Tue Jun 18, 2013 10:58 pm
- Location: I'm right next to you
Re: Cthulhu Project : Let's Make Unmaintainable Code
I know 0.8.0 uses 5.1, and as far as i can tell the 0.9.0 changelog has no mention of lua 5.2. So no.Ranguna259 wrote:BTW Lua introduced goto statements in Lua 5.2 but does LÖVE have that version ?
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Cthulhu Project : Let's Make Unmaintainable Code
viewtopic.php?f=3&t=76646 says: "LuaJIT is now being used by LÖVE by default. "
LuaJIT does have a few features from Lua 5.2 enabled by default, but in general it was built on top of Lua 5.1's API.
LuaJIT does have a few features from Lua 5.2 enabled by default, but in general it was built on top of Lua 5.1's API.
- Ranguna259
- Party member
- Posts: 911
- Joined: Tue Jun 18, 2013 10:58 pm
- Location: I'm right next to you
Re: Cthulhu Project : Let's Make Unmaintainable Code
Yep goto is in the list.
Before anyone creates a team on github we should know who is going to participate (right from the start), because I don't want to see a project like this with 0 members
If anyone participate I'll participate too.
Tested it and it worked on 0.9.0, yey
- goto is a keyword and not a valid variable name anymore.
Before anyone creates a team on github we should know who is going to participate (right from the start), because I don't want to see a project like this with 0 members
If anyone participate I'll participate too.
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Cthulhu Project : Let's Make Unmaintainable Code
In regular LuaJIT 2.0 (which LÖVE uses by default in 0.9.0), goto works but it can also be used as a variable name, so as to not break existing Lua 5.1 code.
If you build LuaJIT 2.0 with a special flag enabled (which the versions of LuaJIT distributed by LÖVE don't have), then goto cannot be used as a variable name anymore, which makes it more compatible with Lua 5.2. That's the line you quoted.
If you build LuaJIT 2.0 with a special flag enabled (which the versions of LuaJIT distributed by LÖVE don't have), then goto cannot be used as a variable name anymore, which makes it more compatible with Lua 5.2. That's the line you quoted.
- Ranguna259
- Party member
- Posts: 911
- Joined: Tue Jun 18, 2013 10:58 pm
- Location: I'm right next to you
Re: Cthulhu Project : Let's Make Unmaintainable Code
Then we should add another rule, "goto" should not be used to name variables.
Re: Cthulhu Project : Let's Make Unmaintainable Code
This is the Unmantainable Code project, that's whybekey wrote:Why is it so important to have goto anyway? Count me in tho.
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: Cthulhu Project : Let's Make Unmaintainable Code
Enough jibber jabber, lets get loving!
Code: Select all
function love.load()
end
function love.draw()
end
function love.update()
end
- Ranguna259
- Party member
- Posts: 911
- Joined: Tue Jun 18, 2013 10:58 pm
- Location: I'm right next to you
Re: Cthulhu Project : Let's Make Unmaintainable Code
Not just yet , people've said that we won't have a fixed theme but we could have a starter theme just to start up the code, using the basic LÖVE structure would be kind of vague, don't you think ? We'll need something more constructive, something that works like a mini game, a simple really small minigame, what do you guys think ?
Who is online
Users browsing this forum: No registered users and 2 guests