Game
SmileOS
3 years ago

SmileOS | Update 1.5 - GFX v2 Released


Probably the most important update yet!

The graphics engine has now been updated to be fully integrated with the rendering engine.

Basically everything graphics related should be significantly more optimized.

As such all previous graphics functions have been removed/updated.

New functions:

		
			// Pen/Drawing
gfx.add_dot(id,x,y,size,r,g,b,alpha)
gfx.add_line(id,x1,y1,x2,y2,size,r,g,b,alpha)
gfx.add_poly(id,x,y,size,rotation,sides,quality,r,g,b,alpha)
gfx.remove(id)
gfx.replace(id)

// Text
gfx.add_text(id,text,x,y,size,angle,alignment,curve,padding,r1,g1,b1,outline,r2,g2,b2,rainbow,rainow_outline)
gfx.remove_text(id)
gfx.replace_text(id)

// OS Options
gfx.text_enabled(0/1) // Toggles text visibility
gfx.type_enabled(0/1) // Toggles typing cursor visibility
gfx.text_enabled(0/1) // Toggles line numbers/bg lines
		
	

Documentation will now be the main focus until I feel everything is well explained.



0 comments

Loading...

Next up

👀

Oh wow, cool text engine

damn

modCheck finished projects?

BEWARE THE NOID.

(The classical ol'Dominos mascot)

sneak peak

threw together an editor for sw2

mainly meant for prototyping

loading soon

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

Zombie Squad V Released