Game
SmileOS
2 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

modCheck finished projects?

Oh wow, cool text engine

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

Art of Sonic & Knuckles I was gonna share a while ago but forgot to lol.

damn

new tarkov style game in progress

made in TW using my engine flashback 2

GUN MODEL IS DRAWN BY @Fragg556

clones >:(

👀

the german man himself

threw together an editor for sw2

mainly meant for prototyping

loading soon

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