Hi
Parts of the code
oil start ------------
assets[‘oil’]={
file = ‘oil.png’,
name = ‘oil’,
class = ‘’,
anchorX = 0.5,
anchorY = 0.5,
width = 170,
height = 105,
frame = 0,
spriteSheetName = ‘’,
frameCount = 0,
sequenceData = {},
sequenceInfo = {default = ‘Sequence0’, play= true },
physics = { isEnabled = true, source = ‘Asset’,
bodyType = ‘static’,
isFixedRotation = true,
isSleepingAllowed = false,
isSensor = true,
isBullet = false,
shapes = {
{bodyShape = ‘Round’,
shape = {},
bounce = 0,
friction = 0,
density = 1,
radius = 0,
categoryBits = 0,
maskBits = 0,
groupIndex = 0},
}
oil finish ----
car start ----
assets[‘car_png’]={
file = ‘car.png’,
name = ‘car_png’,
class = ‘’,
anchorX = 0.5,
anchorY = 0.5,
width = 64,
height = 128,
frame = 0,
spriteSheetName = ‘’,
frameCount = 0,
sequenceData = {},
sequenceInfo = {default = ‘’, play= false },
physics = { isEnabled = true, source = ‘Asset’,
bodyType = ‘dynamic’,
isFixedRotation = false,
isSleepingAllowed = true,
isSensor = false,
isBullet = false,
shapes = {
{bodyShape = ‘Polygon’,
shape = {-1,-63,19,-56,25,-32,25,49,2,58,-26,49,-27,-33,-21,-55},
bounce = 0.1,
friction = 1,
density = 1,
radius = 0,
car finish —