Search found 50 matches

by pauls313
Sun Aug 14, 2016 4:42 pm
Forum: Support and Development
Topic: Love2D second .lua file problem
Replies: 6
Views: 5147

Re: Love2D second .lua file problem

Sure, here
by pauls313
Sat Aug 13, 2016 11:00 pm
Forum: Support and Development
Topic: Love2D second .lua file problem
Replies: 6
Views: 5147

Re: Love2D second .lua file problem

Pretty sure that's not the problem

As I said, even if I delete the whole code I still get the same error. There must be a problem loading the file
by pauls313
Sat Aug 13, 2016 7:28 pm
Forum: Support and Development
Topic: Love2D second .lua file problem
Replies: 6
Views: 5147

Love2D second .lua file problem

I'm using a separate .lua file to handle physics. It basically runs through every solid file twice, to see if it has collided with any. But I think my main .lua file isn't loading the correct file. I always get the same error saying: "end expected to close for at line 2 in physics.lua". I ...
by pauls313
Sat Aug 06, 2016 3:01 pm
Forum: Support and Development
Topic: raycast problem
Replies: 2
Views: 1633

raycast problem

I'm trying to make my own raycast code, because I made my own box physics (my game needs custom physics) and I'm having a few problems See, I'm making a grappling hook. It starts at the player and should end at the first collision between the player and the touch position. I made a while loop that m...
by pauls313
Fri Aug 05, 2016 2:26 am
Forum: Support and Development
Topic: My game on Android
Replies: 2
Views: 2430

Re: My game on Android

Löve isn't finding your game to run. Try putting everything in the "lovegame" folder in your sdcard(if there isn't a folder named lovegame, create one)
by pauls313
Thu Aug 04, 2016 12:52 am
Forum: Support and Development
Topic: table in table error
Replies: 7
Views: 2650

Re: table in table error

Well, after hours messing with this I finally found the problem: I was editing the wrong code. Löve was running a code in another folder.

NEVERTHELESS, it doesn't do what it should. I just get a black screen
by pauls313
Thu Aug 04, 2016 12:04 am
Forum: Support and Development
Topic: Help with lua.touch
Replies: 3
Views: 2302

Re: Help with lua.touch

Thanks, now I understand. The wiki page wasn't very clear.
by pauls313
Thu Aug 04, 2016 12:01 am
Forum: Support and Development
Topic: table in table error
Replies: 7
Views: 2650

Re: table in table error

Nop, still getting the same error message

I was messing with this for hours trying to solve it, and I eventually deleted the comma to see if it was the problem. I forgot to add it again, since I kept getting the same error message
by pauls313
Wed Aug 03, 2016 11:40 pm
Forum: Support and Development
Topic: table in table error
Replies: 7
Views: 2650

table in table error

Why isn't this working? I'm trying to put all my object tables in a single table and use a forloop to iterate through each of them and draw. It shows a error message saying: "}" expected near "=" at line 5 function love.load() solidstatic = { ground = {x = 0,y = 160,width = 1000,...
by pauls313
Tue Aug 02, 2016 3:12 am
Forum: Support and Development
Topic: Help with lua.touch
Replies: 3
Views: 2302

Help with lua.touch

I don't understand how lua.touch works. A simple example where something happens when the screen is touched somewhere would be very helpful