Help with AVL and Tiled

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
razorbackdb
Prole
Posts: 2
Joined: Sun Jun 24, 2012 2:49 am

Help with AVL and Tiled

Post by razorbackdb »

Hi, I'am a noob developer and i was looking to love2d so i decided to try it, but a i have a problem now, AVL works well and love render the tiled map but then the screen goes black

please help

PD:sorry for the bad english, i'am chilean
Attachments
main.love
(361.3 KiB) Downloaded 88 times
User avatar
rokit boy
Party member
Posts: 198
Joined: Wed Jan 18, 2012 7:40 pm

Re: Help with AVL and Tiled

Post by rokit boy »

Because your map ends there, set the zoom to 3 so you can see.
u wot m8
coffee
Party member
Posts: 1206
Joined: Wed Nov 02, 2011 9:07 pm

Re: Help with AVL and Tiled

Post by coffee »

rokit boy wrote:set the zoom to 3 so you can see.
Setting the zoom to 3 is only a quick fix and will also diminish quality of pixel images. True that changing zoom will hide the black initially on the screen but since there aren't X/Y movement limits to player or a camera system is implemented black always be a reality. So that are next features to add now.

razorbackdb you need to:
1 - Limit movemente to dont let your player get of map.
and
2 - Have a camera system. Try the WIKI camera tutorial https://love2d.org/wiki/Tutorial:Cameras
razorbackdb
Prole
Posts: 2
Joined: Sun Jun 24, 2012 2:49 am

Re: Help with AVL and Tiled

Post by razorbackdb »

the camera system from that tutorial worked great! i have other problems now but i will do some research myself now

thanks to you both!
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest