OBSTACLES PROBLEM

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
angletri
Prole
Posts: 7
Joined: Sat Oct 10, 2020 7:59 pm

OBSTACLES PROBLEM

Post 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!
Attachments
a.love.zip
(54.89 KiB) Downloaded 142 times
Last edited by angletri on Fri Oct 30, 2020 10:36 am, edited 1 time in total.
sphyrth
Party member
Posts: 260
Joined: Mon Jul 07, 2014 11:04 am
Contact:

Re: OBSTACLES PROBLEM

Post 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.
angletri
Prole
Posts: 7
Joined: Sat Oct 10, 2020 7:59 pm

Re: OBSTACLES PROBLEM

Post 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
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], DTmg and 0 guests