Game
SmileOS
3 years ago

Initial Release of SmileOS


Feels like just yesterday I began working on this! Oh wait, I did.

Always wanted to make a real scripting language/OS so working on this has been a lot of fun!

ATM this is basically a shell for the scripting language (SmareScript), so here's a program to show off sorta how it all works:

To run type prg into the text box, then import this from a txt file then type run:

		
			var(counter)
var(max_cycles)
var(timer)
var(time_after)

counter $= 0
max_cycles $= 0

cls()
print("Speed Benchmark for SmareScript")
print("What number should it go to?")

var(old_answer)
var(new_answer)
old_answer $= globals.answer()
new_answer $= globals.answer()
func(check_answer) [
    new_answer $= globals.answer()
    if(old_answer ! new_answer) {
        max_cycles $= new_answer
    }
    if(old_answer = new_answer) {
        jump(check_answer)
    }
]
call(check_answer)

wait(1)

print("Starting!")

func(counting_function) [
    print(.)
    counter += 1
    if(counter < max_cycles) {
        jump(counting_function)
    }
]

timer $= globals.y2k()
call(counting_function)

time_after $= globals.y2k()
time_after -= timer
time_after *= 100
time_after $= math.round(time_after)
time_after /= 100

cls()
print(string.join("Benchmark completed in ",time_after," seconds."))
		
	


0 comments

Loading...

Next up

Zombie Squad V Released

sneak peak

damn

The Scratch Team has just recently updated their Terms of Service yesterday, letting you know they now have full permission to use your content to train AI models.

threw together an editor for sw2

mainly meant for prototyping

loading soon

https://gamejolt.com/games/ssw2e/711426

ok i FINALLY finished dropsane teto

i think i still got it

was looking through some old studios i made, guess who i found.

clones >:(

Jarvis, write a full essay in MLA-8 format indented to the left please

👀