New game file structure

Scratch making the framework/engine open source for now until i figure out a better file structure that will work with Rojo
This commit is contained in:
2023-12-19 18:00:36 -05:00
parent e95b377c4e
commit 3a84d5b85d
14 changed files with 281 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
local CoreGuis = require(script:WaitForChild("CoreGuis"))
local Mouse = require(script:WaitForChild("Mouse"))
local CameraSettings = require(script:WaitForChild("Camera"))
local Crosshair = require(script:WaitForChild("Crosshair"))
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local Camera = CameraSettings.constructor(Player)
local CrosshairObject = Crosshair.constructor(Player)
CoreGuis:off()
Mouse:DisablePointer()
Camera:LockFirstPerson()
CrosshairObject:Spawn()