-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KOMODO-33: Demonstrate running game through editor
Editor can run a game idempotently. Exposed an issue with Game not being GC safe due to the global instance variable. KOMODO-38 has been made to track this.
- Loading branch information
1 parent
94f8132
commit 7c2d1b0
Showing
156 changed files
with
11,180 additions
and
111 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Komodo Editor | ||
[Documentation](https://exokomodo.github.io/KomodoNim/komodo.html) | ||
|
||
## Setup | ||
|
||
### Windows | ||
|
||
#### Install Scoop | ||
Follow the instructions found on [Scoop's website](https://scoop.sh), or run the following commmands: | ||
```PowerShell | ||
iwr -useb get.scoop.sh | iex | ||
``` | ||
|
||
#### Install Nim | ||
Install nim with | ||
```PowerShell | ||
scoop install nim | ||
``` | ||
|
||
#### IUP Setup | ||
Copy the `*.dll` and `*.lib` files from `libs/iup/windows` into `C:\Windows\System32` | ||
|
||
### Linux | ||
|
||
#### Install choosenim | ||
Follow the install instructions found on [choosenim's repo](https://github.com/dom96/choosenim), or run the following commands: | ||
```bash | ||
curl https://nim-lang.org/choosenim/init.sh -sSf | sh | ||
``` | ||
You will need to update your path in your `.bashrc`: | ||
```bash | ||
export PATH=~/.nimble/bin:$PATH | ||
``` | ||
|
||
#### Install Nim | ||
Install nim with | ||
```bash | ||
choosenim stable | ||
``` | ||
|
||
#### IUP Setup | ||
Copy the `*.so` and `*.a` files from `libs/iup/linux` into `/usr/local/lib` | ||
|
||
## Important Links | ||
* [IUP Documentation](http://webserver2.tecgraf.puc-rio.br/iup) | ||
* [IUP Windows download](https://sourceforge.net/projects/iup/files/3.30/Windows%20Libraries/Dynamic/iup-3.30_Win64_dll16_lib.zip/download) | ||
* [IUP Linux download](https://sourceforge.net/projects/iup/files/3.30/Linux%20Libraries/iup-3.30_Linux54_64_lib.tar.gz/download) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Package | ||
|
||
version = "0.1.0" | ||
author = "James Orson" | ||
description = "GUI editor for the Komodo game engine" | ||
license = "MIT" | ||
srcDir = "src" | ||
bin = @["komodoeditor"] | ||
binDir = "bin" | ||
|
||
|
||
# Dependencies | ||
|
||
requires "nim >= 1.4.2" | ||
requires "komodo" | ||
requires "iup" | ||
|
||
task buildEditor, "Build Komodo Editor": | ||
exec "nimble --gc:orc --threads:on -d:nimpretty build -Y" | ||
|
||
task debugEditor, "Debug Komodo Editor": | ||
exec "nimble --gc:orc --threads:on -g --debugger:native -d:nimpretty build -Y" | ||
|
||
task runEditor, "Run": | ||
exec "nimble --gc:orc --threads:on -d:nimpretty run -Y" |
Oops, something went wrong.