Win_SC a Small Trenchbroom game framework
Find a file
Cookieo404 49484bcb76 look at editor OOOO :O
look at editor OOOO   :O
2026-08-10 02:56:45 -07:00
GameRoot The Game engine 2026-08-05 17:41:57 +10:00
glad (2) Add project files. 2026-08-02 16:51:49 +10:00
glfw-3.4.bin.WIN64 (1)/glfw-3.4.bin.WIN64 Add project files. 2026-08-02 16:51:49 +10:00
glm-1.0.3/glm Add project files. 2026-08-02 16:51:49 +10:00
Images Add project files. 2026-08-02 16:51:49 +10:00
imgui-docking New editor and stuff 2026-08-08 18:23:07 +10:00
imgui-master (1)/imgui-master Add project files. 2026-08-02 16:51:49 +10:00
JoltPhysics-master Add project files. 2026-08-02 16:51:49 +10:00
Map_editor Undo/redo zoink 2026-08-10 19:53:46 +10:00
Maps Undo/redo zoink 2026-08-10 19:53:46 +10:00
oldschool_pc_font_pack_v2.2_FULL Add better more movement and even console now 2026-08-03 18:06:57 +10:00
WinX Working roatating tool :D 2026-08-10 17:41:22 +10:00
.gitattributes Add project files. 2026-08-02 16:51:49 +10:00
.gitignore Add project files. 2026-08-02 16:51:49 +10:00
dbg_stderr.txt Magor changes to the editor proper support in editor :> 2026-08-06 18:54:13 +10:00
dbg_stdout.txt Magor changes to the editor proper support in editor :> 2026-08-06 18:54:13 +10:00
imgui.ini Magor changes to the editor proper support in editor :> 2026-08-06 18:54:13 +10:00
LICENSE.txt Update copyright year and owner in LICENSE.txt 2026-08-02 16:59:19 +10:00
README.md look at editor OOOO :O 2026-08-10 02:56:45 -07:00
WinX.sln Have smol editor now :3 2026-08-05 19:28:36 +10:00
WinX_.sln Have smol editor now :3 2026-08-05 19:28:36 +10:00

WinX

https://github.com/cookieo0050/WinX.git

For this Engine to run you will need Visual Studio 2022 C++ desktop development the engine will not run without it.

Under MIT license, The Text font has its own license please go check that out it will be in Old school fonts.

May not run on Linux (There will be a later port meant for linux later)

There may be trouble when setting up the engine.

Yeah yeah this has had Ai used to help, the engine was almost completely human made (Ai was used for help debugging and help fixing up code.)

Whats being worked on

There is a small editor for the .map files trenchbroom makes since trenchbroom is not really for making outdoor enviroments, its still a work in progress and is just really for editing what is already there in your trenchbroom map. for example in trenchbroom you can edit the basic lighting of a light entity but in this new editor you can edit the properties of the light in the editor colour and all, there are limitaion to what can be done in the editor such as playing strait from the editor to the game you will have to switch from one to the other. For the editor the editor buttons, controls, Ui is done via Imgui the editor also uses the Old pc text pack so it follows the same license. For starting the editor or the engine you will have to open (WinX.slnx) not (WinX_.slnx)

oldschool_pc_font_pack_v2.2_FULL

Credit to the creator of the oldschool_pc_font_pack_v2 (VileR) they are the creator of this font please have a look at the license in the pack if you plan on using it in the engine or modifying the engine, the license is a ShareAlike 4.0 International (CC BY-SA 4.0) license.

How to set up the engine

Make sure you have C++ game development installed on VS 2022 Go to the terminal and type

Git Clone https://forge.voremicrocomputers.com/Cookieo404/WinX.gitt

Go to the folder and click the .slnx file and run there may be errors when starting up but to fix most you will have to redo the properties for Glm, GLFW, Imgui, there are plans later for making the engine easer to setup so you dont have to edit the properties for starting up the engine/editor. When starting up the engine there may be problems for adding new scripts they will be needed to be added to the main.cpp in "WinX" project, there also are many new propblems when it comes to setting up the map_editor as it is a bit buggy and is meant to comunicate to the engine for some of its needs since it is meant for editing lights and the sun, you can edit the lighting file and stuff as it is saved in a single .cfg.

Setting up the engine/editor will be made easer in later updates.

Debug views

These are only debug views

SSAO Screenshot 2026-08-03 202236

Position Screenshot 2026-08-02 131110

Realtime lighting

the lighting system has been fairly optimized for fast paced game play, the lighting longer has clipping and has smooth lighting as well, lighting will need to improved still but its in a stable place.

Screenshot 2026-08-05 175859 Screenshot 2026-08-05 175807

Stuff you can do in trenchbroom (That works with the engine)

For the .map files for the engine to work you have to choose (Generic) (Valve) click preferences and set it to gameroot loaced in the engine files, there is already a basic .map file in the editor files feel free to have a look.

To add lights into your chosen sence you must create a new entity in the .map file in trenchbroom then rename it to (light) and then place it around, once you have finished placing them around in you sence run the .map file in the map_editor and then you can edit the properties of the lights there and then save the light entitys and you are done setting them up you can also set the main light as well.

You can add a player spawn in the map by going int trenchbroom and placing a player entity the basic one.

New Editor

Screenshot 2026-08-10 195041

Plans for later updates

Inprove the collsion and texture rendering and add mulplayer support into the engine and inprove the basic movement controls for the starter player.