Your link [2] no longer works.
Cupid doesn't work in 11.0
Search found 56 matches
- Mon Apr 09, 2018 11:53 am
- Forum: General
- Topic: Hot reload plugin that actually works?
- Replies: 49
- Views: 33018
- Mon Apr 11, 2016 12:17 pm
- Forum: Support and Development
- Topic: "Questions that don't deserve their own thread" thread
- Replies: 905
- Views: 453447
Re: "Questions that don't deserve their own thread" thread
Ah, I must have been doing it wrong xD
- Sun Apr 10, 2016 7:36 pm
- Forum: Support and Development
- Topic: "Questions that don't deserve their own thread" thread
- Replies: 905
- Views: 453447
Re: "Questions that don't deserve their own thread" thread
Can someone make me a function that posts to a PHP script and returns the result? I have this that I found on a Lua forum, but I can't get it working. local http = require "socket.http" local ltn12 = require "ltn12" function postForm(url, body) local sink, responseData = ltn12.si...
- Tue Nov 10, 2015 12:21 pm
- Forum: Support and Development
- Topic: a grappling hook in love.physics
- Replies: 7
- Views: 4877
Re: a grappling hook in love.physics
You would most probably need to tether several ropejoints together to actually make a rope?
- Wed Nov 04, 2015 6:17 pm
- Forum: Support and Development
- Topic: Help with Conway's Game of Life
- Replies: 7
- Views: 4439
Re: Help with Conway's Game of Life
You need to create a copy of the board and compare your next generation against that instead of against the current generation as your calculating it. That's why it's going over to the left
- Fri Oct 30, 2015 12:48 pm
- Forum: Support and Development
- Topic: [Solved]Table as an argument
- Replies: 5
- Views: 3772
Re: Table as an argument
I think if the table is formatted correctly, then yes.
I think if triangle={x1,y1,x2,y2,x3,y3} then it should work, I know it works for colours.
I think if triangle={x1,y1,x2,y2,x3,y3} then it should work, I know it works for colours.
Code: Select all
-- Not Tested
function love.load()
triangle={20,20,40,20,30,40}
end
function love.graphics()
love.graphics.polygon('fill',triangle)
end
- Fri Oct 30, 2015 12:45 pm
- Forum: Support and Development
- Topic: init script?
- Replies: 10
- Views: 6785
Re: init script?
You want string manipulation: http://www.lua.org/manual/2.4/node22.html specifically, strsub: strsub (s, i, [j]) Returns another string, which is a substring of s , starting at i and runing until j . If j is absent, it is assumed to be equal to the length of s . Particularly, the call strsub(s,1,j) ...
- Thu Oct 29, 2015 10:38 pm
- Forum: Support and Development
- Topic: init script?
- Replies: 10
- Views: 6785
Re: init script?
Just questioning why, when there is a library that handles enter, exit, load, draw, the works, like hump ;-)
- Thu Oct 29, 2015 9:04 pm
- Forum: Support and Development
- Topic: init script?
- Replies: 10
- Views: 6785
Re: init script?
Use hump gamestates, it's a live saver for things like this.
- Thu Oct 29, 2015 8:59 pm
- Forum: Support and Development
- Topic: [SOLVED] Get Output from Webpage
- Replies: 5
- Views: 2977
Re: [SOLVED] Get Output from Webpage
If you could share, that would be awesome!