T-ITE v.0.0.1
- Tero Hannula
- 4 years ago
- 41st
Fantasy console with integrated development environment.
Basically Pico-8 clone.
In Windows you can copy project to clipboard with Ctrl+S, and load with Ctrl+O.
- SAVE CONSTANTLY! T-ITE is prone to crash.
- HTML5: you cannot open/save project, as GMS don't let you use clipboard.
- HTML5: If keyboard is unresponsive, click outside game screen.
- Copy text
- Add 5 tabs (T-ITE crashes less tabs open than in project you will load).
- Open in T-ITE with "CTRL + O"
- Press F5 to run
Add your games to this folder:
Putting your game in comment will break the string because of multiplier-symbols. So put your games in this Google-drive folder and I'll play them :)
When you pronounce "T-ITE" like a finn, it sounds like "tee ite" which is short from finnish "tee-se-itse" (do-it-yourself).
- Fullscreen: F4 or Ctrl+Enter.
- Change window size: F1-3 (+shift for more sizes).
- F5 to run the code.
- Escape to swap between console and editor, or exit game.
- Ctrl+N to empty project.
Variable scope is within "{...}".
- Variables only exists within bracket where it was defined.
- Therefore when bracket closes, all variables defined inside this bracket will close too.
- Variables defined outside any brackets will live indefinetly -> they are globals variables.
You must use semicolons, and therefore "var i = 0" will cause error, instead you should write like "var i = 0;".
Game can show 16 colors at given time.
- Palette can be changed with "plte(...)" function
- Colors are indexed 0-15.
- You can change color of given index from larger palette of 48 colors.
Known problems
- Game crashes when you try load project with more tabs than currently exists (add more tabs before opening).
- Multi-line copy/pasting might not work correctly.
- You cannot delete selections.
- Hightlights of syntax-errors is all over the places.
- There was "for"-loop, but it had bug+memory leak, so I didn't include it. Use "while" instead.
- I think I forgot to add override for music, so music(1) will start new one without stopping previous
List of native functions:
- plte(color, palette); // Changes color (0-15) to given palette color (0-48).
- rect(x1, y1, x2, y2, color, outline); // Draw rectangle
- circle(x, y, radius, color, outline); // Draw circle
- text(x, y, color, string); // Draw text
- mx(); // mouse x-pos
- my(); // mouse y-pos
- left(); // Arrow keys. hold.
- right(); //
- up(); //
- down(); //
- space(); // Space-key. hold
- sound(index); // Play sound with given index
- music(index); // Play looping music
- Most common math functions (sin, abs, sign...)
Array functions:
- a = array(size, value); // Creates new array with given size and value
- set(a, i, value); // Sets value in array
- get(a, i); // Gets value from array
- length(a, i); // Gets length of array
Print adds text-line in console, not seen in-game.
Used music from marketplace:
Learn by Doing
Build games under motivating constraints
Build Your Network
Connect with like-minded game developers
Grow Your Skills
Push your limits to new heights in just 48 hours
Fantasy console with integrated development environment. Basically Pico-8 clone.
