I have couple files in my project.
In my movement.lua file I have 1 love.update funtion.
And I need one in main.lua file. but it does't work.
What should I do ?
Thanks
![Very Happy :D](./images/smilies/ms-glad.png)
Code: Select all
function love.update()
require 'movement' --Chracter Movement and Skinning Module
if love.keyboard.isDown("x") then
text = "Öp Örli Teknonoji Demosu"
else
text = "v.0000000.0.00.001.a"
end
end
Code: Select all
function love.update()
love.graphics.setBackgroundColor(255,255,255)
medium = love.graphics.newFont(20)
x = 10;
y = 10;
katsayi = 0.5;
Code: Select all
function movement.update()
love.graphics.setBackgroundColor(255,255,255)
medium = love.graphics.newFont(20)
x = 10;
y = 10;
katsayi = 0.5;
Not trying to be sarcastic or rude, but, why do you think it's not working?semihmasat wrote:it is not working
I've been there, and I'd like to save you the time I didn't save. I was stubborn and continued trying to program a game, but I wasn't watching the big picture, the high amount of knowledge and work a videogame may need (unless you're thinking of a Pong and you use HardonCollider).semihmasat wrote:you are right.
actually I am learning on this time actually. this is my test and learning project.
Users browsing this forum: Bing [Bot], DTmg and 6 guests