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 »

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 »

Steps =

1) Read Lua tutorials
2) Profit
chomikmaster
Prole
Posts: 5
Joined: Fri Sep 16, 2011 5:36 pm

Re: Hi

Post by chomikmaster »

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 »

sorry but with that snippet of code we cant help you
User avatar
miko
Party member
Posts: 410
Joined: Fri Nov 26, 2010 2:25 pm
Location: PL

Re: Hi

Post by miko »

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 »

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 »

Just delete the "In order"
chomikmaster
Prole
Posts: 5
Joined: Fri Sep 16, 2011 5:36 pm

Re: Hi

Post by chomikmaster »

Thanks :awesome:
That was... embarrasing. :P
User avatar
Jasoco
Inner party member
Posts: 3726
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Hi

Post by Jasoco »

Did you just call me an ass?
chomikmaster
Prole
Posts: 5
Joined: Fri Sep 16, 2011 5:36 pm

Re: Hi

Post by chomikmaster »

YYYyyy??
...
wtf?
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 1 guest