What about you, are you listening? I've asked if you could post a .love file that reproduces the problem and you didn't even answer.
You won't get much help with this kind of attitude.
no i cant post it , its to messed up and i deleted the problem. ill try to make a version that simulates the old problem.
oh and sorry but personly its a bit messed up , so i was i little angry at the moment , sorry.
__HAS_SECS_COMPATIBLE_CLASSES__ = true
local class_mt = {}
function class_mt:__index(key)
if rawget(self, "__baseclass") then
return self.__baseclass[key]
end
return nil
end
class = setmetatable({ __baseclass = {} }, class_mt)
function class:new(...)
local c = {}
c.__baseclass = self
setmetatable(c, getmetatable(self))
if c.init then
c:init(...)
end
return c
end
cCake = class:new()
function cCake:init()
self.x = 0
self.y = 0
self.hspeed = 0
self.vspeed = 0
end
function cCake:MoveUp()
self.y = self.y-1
end
function love.load()
cake = cCake
end
function love.update(dt)
cake:MoveUp()
end
From the code you posted it's hard to tell, but I think you might be calling Update() wrong. A variation of this was pointed out to you earlier many times. I suggest that you read this: colon operator
I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum.
From the code you posted it's hard to tell, but I think you might be calling Update() wrong. A variation of this was pointed out to you earlier many times. I suggest that you read this: colon operator
FINALLY thanks all of you!
after 2 days i can finally start making that game!