Remake of a TIGSource [AGBIC]'s game
As a longtime fan of TigSource's Contests, I sometimes have regrets when finishing one, because there usually are hundreds of rad ideas going out of this amazing community. That said, during the 'A Game By Its Cover Contest', I sort of fell in love with Allen's contribution : 2061 (codenamed Vector Planet).
Find the original thread of Allen's game here.
Allen's game was made with Unity3D, and the result was so stunning (both on a visual and audio point of view), that I wanted to remake it with my fav' tool (gamestart :))
There are really a few line of codes of my own in this mockup (70 lines of code, max), as most of it is handled by the Builtin scripts and/or the engine.
Typically, here, this game relies on :
- A FPS controller, that handled the camera motions, target, with mouse & keyboard, and the collisions.
- A lens flare, made with a builtin as well.
- The platforms are scripted with a simple switch to move them back & forth.
- The audio is a builtin too, fading (or not) the volume according to the distance.
- The rendering was achieved with a mix of flat shaded polygons & wireframe on the top of it. A Bloom post-process added the final touch.
There's one interesting point in my opinion here : the Jetpack sound fx.
To add this to the existing FPS builtin, I used the inheritance feature, that derives the original builtin into a new script.
class JetPack extends BuiltinCharacterController { vel = 0.0 chan = 0 sfx = 0 vol = 0.0 function OnUpdate(item) { base.OnUpdate(item) if (KeyboardSeekFunction(DeviceKeyPress, KeySpace)) vol += g_dt_frame else vol -= (2.0 * g_dt_frame) vol = Clamp(vol, 0.0, 1.0) MixerChannelSetGain(g_mixer, chan, vol) } function OnSetup(item) { base.OnSetup(item) chan = MixerChannelLock(g_mixer) sfx = EngineLoadSound(g_engine, "sfx/sfx_jet.wav") MixerChannelStart(g_mixer, chan, sfx) MixerChannelSetGain(g_mixer, chan, 0.0) MixerChannelSetLoopMode(g_mixer, chan, LoopRepeat) } }
I'm quite happy of the result. Here's a screenshot below.

Feel free to download both the 'game' itself and the sources (see the links below).
You will probably need the Beta5 at least to run the sources.
A huge thanks to Allen that kindly accepted to share his original sources, and let me made this version available to the community.
- François Gutherz's blog
- Log in or register to post comments