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

clones >:(

👀

modCheck finished projects?

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.

Just released update 1.2 for my Shockwave 2 editor.

Ricky Rabbit's Seasonal Flavoritiez! Season 3 Episode 13 (Wet Dry roundabout)

Zombie Squad V Released

damn

Testing out a new move! This move is for all characters

Oh wow, cool text engine