glorifiedstudios / vrbox Goto Github PK
View Code? Open in Web Editor NEWA Virtual Reality sandbox game with extensive modding support
A Virtual Reality sandbox game with extensive modding support
ConsoleController, currently, uses a function, that adds a line of some color to the console. And you need to specify the color always. It would be alot better, if you would just make a few functions, like Warn, Error, Info.
Currently, a function called table.Print exists. It prints a table to console, but it would be better to have a function that would describe this table the same, and return a string with it contents.
Why are we currently using two? We can just use one and call it with different arguments.
At the moment, the cursor's lock state is being handled through different files and in general it's pretty dirty. We should make a script which handles this to make the code cleaner.
Currently, the client list uses a Dictionary. Which is wrong, it should use an array. Would be alot better, if it would be a fixed array of the MaxPlayers size.
So, the game uses GameObject.FindGameObjectWithTag( "Player" );
everywhere to find the localplayer.
This is wrong, and there should be a global variable for the local player, and a global playerlist. Because, the method you currently use, can lead to something like... the game thinking some random player is your own.
We need to create a hooking system in C# and push it to Lua. Usage would be something like hook.attach( "hookID", "customID", func )
Hook.Call
needs to take varargs for better usage with functions.
Include a warning to not edit the libraries folder, and perhaps make a gamemodes folder (should we work fully modular or gamemode-based like SAMP or GMod?)
Look into good commenting practice: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/xmldoc/summary
At the moment, all Lua implementation related files are in the same folder, we should organize these into categorized folders - such as a new folder for global functions.
ConsoleController should not be attached to the player, it should be a global variable.
No reason for it to be on C#, would make it way more accessible.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.