Image not showing

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
Bindie
Party member
Posts: 151
Joined: Fri Jan 23, 2015 1:29 pm

Image not showing

Post by Bindie » Fri Jan 23, 2015 1:44 pm

Hey, this is my first day in Löve. Im going with one of the tutorials to create a scrolling shooter.

Im trying to draw ship.png, but when I start it through dragging the folder to löve no draw is made, window is right size and all, no image.
Attachments
Game.zip
(1.67 KiB) Downloaded 34 times

davisdude
Party member
Posts: 1154
Joined: Sun Apr 28, 2013 3:29 am
Location: North Carolina

Re: Image not showing

Post by davisdude » Fri Jan 23, 2015 4:08 pm

That's because you're trying to draw the image in love.update, while you need to draw it inside of love.draw
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim

Bindie
Party member
Posts: 151
Joined: Fri Jan 23, 2015 1:29 pm

Re: Image not showing

Post by Bindie » Sat Jan 24, 2015 8:21 pm

Exactly, 15 minutes later I saw that. Lol

Post Reply

Who is online

Users browsing this forum: 4vZEROv and 24 guests