About
So yeah, I had the idea a while ago about an isometric turtle simulator type thing, except it wouldn't directly simulate turtles. I wanted to make it a little simpler than CC's turtles. Well, its simplicity is up for debate, but basically, there were a lot of things I wanted to try out to see if they would even work, and I'm really surprised that I've even gotten this far.
I feel like the more you read down what the basis of this program, you'll get more mad because of how different it is, but whatever. Here are a list of some notable differences:
- Overhead View
- Infinite Space
- Infinite Turtles
- Built-in remote control
- Turtles are named and have their names displayed above their heads
- Turtle API has no "turtle." prefix (and is generally a lot more limited, but it's just a flat plane so you can't expect much.)
- Each turtle is not an entire computer in itself, but rather, it represents its own program. Every robot/turtle can only have one script that you can edit.
Controls (a little wonky, I know)
Everywhere:
- Use the tilde key ( ` ) to bring up the console, where your turtles can print messages. When the console is up, use the scroll wheel to scroll through it. I might make it automatically scroll later on.
- WASD to move the camera around
- Press 'n' to open up the new turtle dialogue, then type an ID.
- Right-click a turtle to open its script for editing
- Left-click to run the turtle's code
- Shift + left click to target a turtle for remote control. Use either the numpad keys (8, 4, 6, 2, 5, +) or j, i, k, l, u, and o to control it. Shift + left click anywhere not a turtle to remove remote control focus.
- Alt + left click on a turtle to delete it.
- Alt + right click on a turtle to clear its code. It will be backed up before deletion.
- Everything self explanatory (arrows to move around editor, type to make text, backspace to delete it, etc.) (no mouse support yet, other than scrolling, which isn't bounded, so be careful with that.)
- Use ctrl+enter to run turtle code without leaving the editor.
- Press esc to exit the editor.
Basically, all functions are global, and the only library given is math, along with print() and write() functions. File writing/saving isn't available (yet?).
- forward() - moves the turtle forward.
- back() - moves the turtle back.
- up() - moves the turtle up.
- down() - moves the turtle down.
- left() - turns the turtle left.
- right() turns the turtle right.
- setName(name) - sets the turtle's name, currently the only way of setting the turtle's name.
- sleep(s) - stops the script for s number of seconds.
If you would like to access the files externally, the directory for the game's files are at:
- Windows: %appdata%\LOVE\TurtleSim\
- Mac: /Users/user/Library/Application Support/LOVE/TurtleSim/
- Linux: ~/.local/share/love/TurtleSim/
Screenies!
Download
https://www.dropbox.com/s/bjbphul5najt6f5/TurtleSim.zip
P.S. Sorry if I disappointed anyone with the promise of a full-fledged turtle emulator; this is more of a silly little turtle-inspired sandbox than anything.
EDIT: Link to the github repository: https://github.com/Kingdaro/turtle-sim