Discord
Login
Community
DARK THEME

Just a simple review

Hey guys! I’ve been working on a really big project, and the recruiting system is almost done concluding the coding phase, I just want to know though, is the recruit code valid or do I need to review it again.


reInit = function()
  thamas.active = false
  baby_butter_twins.active = false
end
//{recruits}
recruiting = function()
  if points == 25 and keyboard.press.4 then
  thamas.active = true
  end 
  if points  >= 50 and keyboard.press.4 then
    baby_butter_twins = true
    end
end
// {Recurits And firing}
recruitFire = function()
end

// {Recruits}
recruit1Draw = function()
  if thamas.active == true then
    screen.drawSprite("thamas",-145,hicky.y,20)
    end
end
//
recruit2Draw = function()
  if baby_butter_twins.active == true then
//they have the y axis of theincoming enimes so that they can auto aim.
  screen.drawSprite("baby_buns_twin",-145,spancer.y,20)
  screen.drawSprite("baby_buns_twin2",-145,hicky.y,20)
  end
end
///Thamas

thamasInit = function()
end

thamasMovement = function()
end

///Butta Twins

butta_twinsInit = function()
  
end

That should be good. I'm not seeing anything that immediately seems wrong.

Thank You! :D

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community