I am using Darkplaces game engine currently, which utilizes QuakeC scripting language. It’s pretty straight forward, non-OOP, ANSI C like scripting language with bunch of examples and a whole game logic code available (for Quake 1). So it’s not that hard to get into even for an artist.
However, there are bunch of reasons I want to switch to another engine and I am considering Unity 3D to be one of those engines. However, there is nothing like a game logic source code of a complete game, nicely structured and with comments for Unity 3D (I might be wrong). Therefore it’s extremely hard for me to just grab the engine and get into development cycle of my next game with it.
I am looking for a scratch code base for a FPS project, which I can compile (unless script gets interpreted and doesn’t need to be compiled into VM), run and get very basic, “skeleton” game running. By “skeleton” I mean menu GUI with Start New Game and Quit, spawning in a box room and controlling the character (moving, mouse looking), simple HUD, simple inventory (picking up an object while walking over it and having it shown up in the HUD). Mouse, keyboard and gamepad support need in the menu and in-game.
Is there such code base available? (JavaScript or C#)
Thank you.