So my skills are improving a little bit every day but there are still a couple of things that I'm a bit hazy on. One is around variable scoping, the other is about bump.
So here goes!
Let's say I have the following:
GAME = self
myNumber = 7
self.myNumber = 7
GameScene.myNumber = 7
print(self.myNumber) -- I gots nothin'!
print(GameScene.myNumber) -- I gots nothin'!
So, I can't access self.myNumber if I'm passing in an argument to that last function. If I pass in self first though... Is that how you would do it in Lua? (Does that even work? I don't have access to my IDE right now.
On that note, is self.myNumber and GameScene.myNumber the same thing, or is GameScene.myNumber instantiating itself again? They usually have the same table address so I'd wager the former.
About bump (or cbump rather!), is there a way to show the physics in debug mode? Something like world:enableDebug or world:showPhysics? I edited one of the functions in bump before to show shapes but I wasn't able to update them every frame. It was semi-useful.