Bloxero is a game project designed to experiment with the Knit framework in Roblox. It aims to replicate gameplay mechanics similar to Archero or Vampire Survivors, serving as a hands-on playground for learning structured game development.
This project utilizes Knit, a lightweight framework for Roblox that simplifies communication between the server and client.
autofire_test.mp4
- Services (Server-side): Singleton objects that handle game logic and state management. They are secure and authoritative.
- Controllers (Client-side): Singleton objects that manage client-side logic, input, and visuals.
- Communication: Knit handles networking automatically, allowing Controllers to call functions on Services transparently (and securely).
Visuals (projectiles, animations) run locally on the client for responsive feedback. The server calculates actual hit detection and game state. This keeps gameplay fair while feeling smooth.
Traditional Roblox development often leads to "spaghetti code" with logic scattered across disjointed Scripts and LocalScripts. Bloxero adopts a structured approach for several reasons:
- Single Entry Point: Logic is bootstrapped from one place (
Server.server.lua/Client.client.lua), ensuring predictable loading order. - Separation of Concerns: Visuals are strictly separated from game logic.
- Modular: Reusable between games.
- Install Tools: Ensure you have Rojo and Wally installed.
- Install Dependencies:
wally install
- Build Project:
rojo build -o "Bloxero.rbxlx" - Sync & Serve:
Open
Bloxero.rbxlxin Roblox Studio and run:rojo serve
- Basic Framework Setup (Knit)
- Projectile System Implementation
- Weapon System (Auto-fire, Dynamic Ballistics)
- Combat Mechanics (Targeting, Strafing)
- Entity Management Refinement
