Sometimes gamedev
Obsesses over projects
Not great at doing either
Current focus is Psychonauts


Psychonauts reverse engineering/modding blog
jillcrungus.com/projects/psychonauts/blog/
Mastodon, slightly less seldom used
mastodon.gamedev.place/@jill

I just found out about codehost today and I love it.

I was kinda wondering if something like this would be viable, lo and behold it is.

Look! I can embed Psychonauts Lua stuff directly in the post now without sacrificing nice syntax highlighting!

		--!Erik Fuck fucking fuck
		if (from.Name == 'CensorLevel2_1') then
			self.HeelState = 1
			SendMessage(self,self.Heel,'StateChange','done',0)
			--SendMessage(self,'ShoeCollisionHeel','ShoePartState','on',0)
			SendMessage(self,'GenericTargetHeel','TargetState','off',0)
		elseif (from.Name == 'CensorLevel2_2') then
			self.ShoeRState = 1
			SendMessage(self,self.ShoeR,'StateChange','done',0)
			--SendMessage(self,'ShoeCollisionR','ShoePartState','on',0)
			SendMessage(self,'GenericTargetR','TargetState','off',0)
		elseif (from.Name == 'CensorLevel2_3') then
			self.ShoeLState = 1
			SendMessage(self,self.ShoeL,'StateChange','done',0)
			--SendMessage(self,'ShoeCollisionL','ShoePartState','on',0)
			SendMessage(self,'GenericTargetL','TargetState','off',0)
		elseif (from.Name == 'CensorLevel2_4') then
			self.ToeState = 1
			SendMessage(self,self.Toe,'StateChange','done',0)
			--SendMessage(self,'ShoeCollisionToe','ShoePartState','on',0)
			SendMessage(self,'GenericTargetToe','TargetState','off',0)
		else
			--Nuttin
		end
syntax highlighting by codehost

Just delightful.


You must log in to comment.

in reply to @JillCrungus's post:

thank you for enjoying codehost!

if you see any missing languages feel free to report on github. it can theoretically support any language supported by Prism, but i haven't manually added all of them to the code yet