Commits

Anonymous committed aac24b2

fixing board

Comments (0)

Files changed (3)

classes/board.lua

 
 function board:init(pLevel,pWorld)
   self.x=200
-  self.y=0
+  self.y=50
   self.w=400
   self.h=500
   self.border=50

classes/object.lua

     self.y=pBoard.y+50
     self.x=pBoard.x+pBoard.w+150
   else
-    self.y=pBoard.y+31
+    self.y=pBoard.y
     self.x=pBoard.x+pBoard.w/2
   end
   self.r=0
   		_oth=b
     end
     if _oth.tipo=="objects" or _oth.tipo=="board_bottom" then
-    	if _obj.value.body:getY()<state.board.y+36 then
+    	if _obj.value.body:getY()<state.board.y+5 then
     	  Gamestate.switch(Gamestate.gameover,state.score)
     	end
     	_obj.value:stopInteractive()