Page 1 of 1

OBSTACLES PROBLEM

Posted: Thu Oct 29, 2020 3:31 pm
by angletri
I am creating a game like Mario but I am facing a difficulty of obstacles spawning. I am attaching an a .love file. check it. Thank you!

Re: OBSTACLES PROBLEM

Posted: Fri Oct 30, 2020 10:01 am
by sphyrth
Spawning Obstacles isn't your problem. It's detecting collision. I think the course you're following tackles that topic because there are several ways of addressing your problem.

Re: OBSTACLES PROBLEM

Posted: Fri Oct 30, 2020 10:30 am
by angletri
No, As my code goes. I want to have obstacles. I have created LevelMaker.lua, GameLevel.lua, GameObject.lua but it is not spawning anything. first I want objects in it. then I will do coding for collision detection. If you understand it then help me with obstacles