Create a Map and Collision with it

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.
Post Reply
Daniele122898
Prole
Posts: 3
Joined: Sun Nov 23, 2014 5:28 pm

Create a Map and Collision with it

Post by Daniele122898 »

Hi Guys

Im very new to LÖVE2D and overall gamedevelopment. Im so far to let a player move. use Shift to run. and collision on the edge of the window. but how to make a Map? For like a 2D adventure game like zelda. A Map where oyu cant walk in a tree or in the water where you have some spots to walk and go in another part. Just a big map. How do i do that? Are there any good Tutorials, bcs i dont find any real good stuff. Or any Love2D Wiki entries for it or even a soure code with it. Thx for the help

Daniele
User avatar
Doctory
Party member
Posts: 441
Joined: Fri Dec 27, 2013 4:53 pm

Re: Create a Map and Collision with it

Post by Doctory »

Daniele122898
Prole
Posts: 3
Joined: Sun Nov 23, 2014 5:28 pm

Re: Create a Map and Collision with it

Post by Daniele122898 »

Thanks ill look into it. thanks alot :)
Daniele122898
Prole
Posts: 3
Joined: Sun Nov 23, 2014 5:28 pm

Re: Create a Map and Collision with it

Post by Daniele122898 »

sadly it is described not really noob friendly. I may can copy the code but i dont understand it. Any tipps?
User avatar
s-ol
Party member
Posts: 1077
Joined: Mon Sep 15, 2014 7:41 pm
Location: Cologne, Germany
Contact:

Re: Create a Map and Collision with it

Post by s-ol »

Daniele122898 wrote:sadly it is described not really noob friendly. I may can copy the code but i dont understand it. Any tipps?
It's pretty detailed already...

s-ol.nu /blog  -  p.s-ol.be /st8.lua  -  g.s-ol.be /gtglg /curcur

Code: Select all

print( type(love) )
if false then
  baby:hurt(me)
end
User avatar
Karai17
Party member
Posts: 930
Joined: Sun Sep 02, 2012 10:46 pm

Re: Create a Map and Collision with it

Post by Karai17 »

That gridlocked player tutorial is how I started learning both Lua and LOVE. It's very well documented and explains each step quite well. You may need to take some time and go through it slowly to really grasp what's going on, but I can't really think of a better tutorial to explain the basics.
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+

Dev Blog | GitHub | excessive ❤ moé
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests