Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- FNaF BlinkDoors v1
- -- Author: FoxWorn3365
- -- Version: 0.5 ALPHA
- page = "main"
- animatronics = ["bonnie","chica","freddy","foxy"]
- screen = false
- images = {}
- images["left"] = ["chica","bonnie","null"]
- images["right"] = ["chica", "bonnie","null"]
- images["front"] = ["foxy","freddy","chica","null"]
- logic = {}
- termx, termy = term.getSize()
- tick = 0
- tick_duration = 0.5
- -- Functions
- function title(text, color, y = 1)
- term.setCursorPos((termx-#text)/2, y)
- paintutils.drawLine(0, y, termx, y, color)
- term.setTextColor(colors.white)
- term.write(text)
- normalize()
- end
- function normalize()
- term.setTextColor(colors.white)
- term.setBackgroundColor(colors.black)
- end
- function gameLogicTick()
- -- function
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement