[Solved][Problem] HUMP camera:draw not working

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
GewoonMaarten
Prole
Posts: 3
Joined: Fri Jan 02, 2015 12:08 pm
Location: The Netherlands

[Solved][Problem] HUMP camera:draw not working

Post by GewoonMaarten »

Hello everybody,

I am trying to make a random solar system generator but, progress was halted recently because of a problem I created with the HUMP Library. The Problem is that when I use camera:draw(function) it doesn't draw anything.

I use HUMP in the controls.lua file and it is supposed to draw a function from the randomsystem.lua file.

I have the suspicion that it has to do with my file structure but I couldn't figure it out. I hope you can help me with this problem.

Also tips and feedback are appreciated ^^
Attachments
PlanetGen.love
The .love file of the project
(14.72 KiB) Downloaded 121 times
Sorry for my bad English. Its not my native language and I have dyslexia.
GewoonMaarten
Prole
Posts: 3
Joined: Fri Jan 02, 2015 12:08 pm
Location: The Netherlands

Re: [Solved][Problem] HUMP camera:draw not working

Post by GewoonMaarten »

I found the problem. For the cam:zoom variable I used 0,5 instead of 0.5 :P

stupid mistake haha
Sorry for my bad English. Its not my native language and I have dyslexia.
Post Reply

Who is online

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