Jump to content

Recommended Posts

uwNqSo2.png

In-game kOs script editor (and maybe multi-purpose text editor!)

 

BIG PROJECT CHANGES:

This thing now focuses on being not only a text editor (for kOS and wathever you want), but a full emulated computer system which runs on its own bytecode!

 

As of now nothing playable is done, this is, for now, a planning thread!

 

Prototype: (Font is final, syntax and UI are not)

Shows how nice the monospace font and a 4bit pallete work together ;)

PZelsMi.png

 

Plans:

- Nice editor with international keyboard support

- File loader and/or kOS hook (you call edit and the editor pops up)

- Syntax highlighting for .ks files

- Auto-completion?

- Auto-factoring (Placing the { } when you write ifs and stuff)?

- ¿¿¿¡¡¡ Stand-alone display for kOS !!!??? {

The drawing api seems nice, and allows for individual pixel setting which could allow epic-ui designs ;)

(Also, kOS needs some way to handle input)

}

 

Priority:

- Getting a Unity Window to display a texture (in Window.cs) [0%]

- Building a texture out of pixels [100%]

- Building a pixel array out of a char array [100%]

- Building a char array out of a string and scrolling [0%]

 

Github: https://github.com/tatjam/KosEditor/tree/master/KosEditor

 

Collaboration is welcome!

Edited by tajampi
Link to post
Share on other sites

Wow this is going to be so cool, what language is this coded in? This also unlocks the possibility for other languages to be converted to Kerboscript

Also I can offer my services for pixel art for the thing :D I have already worked with models/streamers for sprites in this and other games

Link to post
Share on other sites

Uh oh, am i the only one interested in writting a full emulator? With custom bytecode and stuff?

Kind of low-level kOs...

 

Awaiting to see your terminal design! It would be nice if you used only 16 colors, to get a better retro-feeling, but feel free to use as many colours as you want

 

Well, will think about it!

 

EDIT: For now will work on the editor, and once completed will also work as a compiler for the future emulator assembly :)

 

Edited by tajampi
Link to post
Share on other sites

I'm an 8bit sprinter so I do retro-ish art I can post some other art I've done and the terminal revamp stage one

This is the terminal revamp v.01

MdA6LSW.png

This is one of my greater images from teen titans:

Y9XniRP.png

And this is a Profile pic I made for stream NotGrnTea:

qcwZmH8.png

Edited by Riderfighter
Link to post
Share on other sites

Also, now making the font, it is the IBM codepage 437, contains almost every character you may use, and it allows you to play Dwarf Fortress :P

Here is the font:

MqOX6xS.png

 

Yes, the monitor will either be nothing, or a monitor sprite, kind of an old cathode monitor!

Edited by tajampi
Link to post
Share on other sites

You will be able to fit 70x70 characters in the editor window, but there can be up to 76 characters, starting at 4 and ending at 760

 

Edit: The font is 10x10

Ooops, will rescale the thing to 760x760 breaking everything i said before!!!

 

Summary:

- 10x10 font

- 76x76 characters

- 70x70 inner characters

Edited by tajampi
Link to post
Share on other sites
1 minute ago, Riderfighter said:

Ok this is cool since it is a plugin could there be compatibility for other languages?

Well, after all, all the language there is are the instructions at the bottom of the window!

Utf characters, such as japanese or chinese, sadly, cannot be supported with the codepage 437, it allows for latin characters (including ê è, etc...), but not any oriental characters

Link to post
Share on other sites
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...