namespace AtomicTests
{
public enum BehaviorState
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;----------------------------------------- | |
; Mac keyboard to Windows Key Mappings | |
;========================================= | |
; -------------------------------------------------------------- | |
; NOTES | |
; -------------------------------------------------------------- | |
; ! = ALT | |
; <^>! = RIGHT ALT | |
; ^ = CTRL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some keys on my MBPro melted due to CPU/GPU load, this unloads the drivers and stops random key input, while external keyboard is plugged in | |
sudo kextunload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Basic CMake example of using Atomic Game Engine from source in a C++ project | |
# JavaScript/TypeScript are also available as options in C++ projects | |
project(MyGame) | |
# Use the Atomic Game Engine, from full source! | |
add_subdirectory(AtomicGameEngine) | |
# Setup includes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using AtomicEngine; | |
public class PhysicsSpawner : CSComponent | |
{ | |
public void Start() | |
{ | |
viewport = AtomicNET.GetSubsystem<Renderer>().GetViewport(0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using AtomicEngine; | |
class FloatRandom : Random | |
{ | |
public float Random() { return (float)NextDouble(); } | |
} | |
public class Butterfly : CSComponent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using AtomicEngine; | |
namespace AtomicTools | |
{ | |
public class Program | |
{ | |
public static void Main(string[] args) | |
{ | |
// create the service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Autogenerated | |
using System; | |
using System.Collections.Generic; | |
using System.Runtime.InteropServices; | |
namespace AtomicEngine | |
{ | |
public enum UpdateGeometryType | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Generating Examples & JSDocs | |
typedoc@0.4.1 node_modules/typedoc | |
├── progress@1.1.8 | |
├── marked@0.3.5 | |
├── shelljs@0.5.3 | |
├── typedoc-default-themes@0.4.0 | |
├── minimatch@3.0.0 (brace-expansion@1.1.4) | |
├── highlight.js@9.4.0 | |
├── lodash@3.10.1 | |
├── fs-extra@0.26.7 (path-is-absolute@1.0.0, klaw@1.2.0, jsonfile@2.3.1, graceful-fs@4.1.4, rimraf@2.5.2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Copyright (c) 2014-2016, THUNDERBEAST GAMES LLC All rights reserved | |
// LICENSE: Atomic Game Engine Editor and Tools EULA | |
// Please see LICENSE_ATOMIC_EDITOR_AND_TOOLS.md in repository root for | |
// license information: https://github.com/AtomicGameEngine/AtomicGameEngine | |
// | |
import * as ExtensionServices from "../EditorExtensionServices"; | |
import * as EditorEvents from "../../editor/EditorEvents"; | |
import * as ts from "modules/typescript"; |
NewerOlder