Hi

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
chomikmaster
Prole
Posts: 5
Joined: Fri Sep 16, 2011 5:36 pm

Hi

Post by chomikmaster » Fri Sep 16, 2011 6:08 pm

Hi guys.
I'm o total noob beacuse i have a basic syntax error (which i don't know what this is).
:Syntax error: collisionmanger.lua:41'=' expected near 'order'
PLEASE HELP ME ASS FAST ASS YOU CAN
This is a script:

Code: Select all

then

print("collide") In order

if firstObject.collide ~= nil then firstObject:collide(secondObject) end

if secondObject.collide ~= nil then secondObject:collide(firstObject) end
If you wanna all script please wright here.

BYYYYYYYYYYYYYYYE
:awesome: :awesome: :awesome: :awesome: :awesome: :awesome: :awesome: :awesome: :awesome:

User avatar
GijsB
Party member
Posts: 380
Joined: Wed Jul 20, 2011 10:19 pm
Location: Netherlands

Re: Hi

Post by GijsB » Fri Sep 16, 2011 6:47 pm

Steps =

1) Read Lua tutorials
2) Profit

chomikmaster
Prole
Posts: 5
Joined: Fri Sep 16, 2011 5:36 pm

Re: Hi

Post by chomikmaster » Fri Sep 16, 2011 7:40 pm

I have already read the tutorials and i dont found this in tutorials-i mean i found the same script but my its not working.

User avatar
GijsB
Party member
Posts: 380
Joined: Wed Jul 20, 2011 10:19 pm
Location: Netherlands

Re: Hi

Post by GijsB » Fri Sep 16, 2011 7:50 pm

sorry but with that snippet of code we cant help you

User avatar
miko
Party member
Posts: 409
Joined: Fri Nov 26, 2010 2:25 pm
Location: PL

Re: Hi

Post by miko » Fri Sep 16, 2011 8:08 pm

chomikmaster wrote:

Code: Select all

print("collide") In order
What is that? There is clearly a syntax error. Please start with some simpler programs first, so you will know the syntax rules of Lua program.
And please don't capitalize the whole sentence.
My lovely code lives at GitHub: http://github.com/miko/Love2d-samples

chomikmaster
Prole
Posts: 5
Joined: Fri Sep 16, 2011 5:36 pm

Re: Hi

Post by chomikmaster » Fri Sep 16, 2011 8:41 pm

Miko,if you can write me what i should do in Polish :megagrin:
Tak,też jestem Polakiem :awesome:

User avatar
Kingdaro
Party member
Posts: 395
Joined: Sun Jul 18, 2010 3:08 am

Re: Hi

Post by Kingdaro » Fri Sep 16, 2011 8:46 pm

Just delete the "In order"

chomikmaster
Prole
Posts: 5
Joined: Fri Sep 16, 2011 5:36 pm

Re: Hi

Post by chomikmaster » Fri Sep 16, 2011 8:50 pm

Thanks :awesome:
That was... embarrasing. :P

User avatar
Jasoco
Inner party member
Posts: 3651
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Hi

Post by Jasoco » Fri Sep 16, 2011 9:13 pm

Did you just call me an ass?

chomikmaster
Prole
Posts: 5
Joined: Fri Sep 16, 2011 5:36 pm

Re: Hi

Post by chomikmaster » Fri Sep 16, 2011 9:16 pm

YYYyyy??
...
wtf?

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 13 guests