Search found 5 matches

by Gurkani
Thu Feb 05, 2015 7:48 pm
Forum: Support and Development
Topic: Load levels in a platformer
Replies: 2
Views: 2939

Re: Load levels in a platformer

Ok so I tried this : --main.lua require "level1" ; require "level2" function love.load() love.physics.setMeter(64) world = love.physics.newWorld(0,9.81*64, true) --[...] level = 1 end function love.draw() if level == 1 then draw_level1() elseif level == 2 then draw_level2() end e...
by Gurkani
Wed Feb 04, 2015 4:47 pm
Forum: Support and Development
Topic: Load levels in a platformer
Replies: 2
Views: 2939

Load levels in a platformer

I'm doing a platformer and I'm trying to do a loading system for levels, but I have a problem, there is the part of my code : --main.lua require "level1" ; require "level2" function love.load() love.physics.setMeter(64) world = love.physics.newWorld(0,9.81*64, true) --[...] level...
by Gurkani
Sun Oct 12, 2014 4:22 pm
Forum: General
Topic: LOVE users map
Replies: 182
Views: 121252

Re: LOVE users map

I live in Kénitra, Morroco.
by Gurkani
Sun Apr 27, 2014 5:18 pm
Forum: General
Topic: Why my code doesn't work ?
Replies: 2
Views: 2242

Re: Why my code doesn't work ?

Thanks :)
by Gurkani
Sun Apr 27, 2014 3:57 pm
Forum: General
Topic: Why my code doesn't work ?
Replies: 2
Views: 2242

Why my code doesn't work ?

http://pastebin.com/vuDRxJXB
(I'm begginer on LÖVE)