Kob Frame Framework - Easy to use framework for drawing on a frame/window

Version 1 KF Framework

The Module

Here are the function you can currently use in KF:

position : {x,y},
size : {x,y},
color_rgb : {0,0,0},
looped : bool
id : string
wait_time : integer

two_dimentional(x, y)
three_dimentional(x, y, z)
clear()
line
rect(position, size, color_rgb)
collision(object, object2)
velocity(object, velocity)
position(object, position)
image(position, size, id)
image_button(position, size, id)
animation_frames(position, size, ids, wait_time, looped)

setup:
ภาพ

Known issues and bugs
Collision is really weird. sometimes you can walk mid air wven if an object isnt there.
(it would be appreciated if you take time time to reply and help me solve the issue. thanks.)

1 Like

It looks cool, but can you post some examples of how it works? What do you mean by drawing on a frame or window?

Sure i can do that here is a demo of a 3d spinning cube

ignore the framerate its my recording software.

Awesome! It reminds me of three.js for rendering 3d stuff in websites! Is it possible to work with animatable 2D, say triangles?

You know web chart (taken from online website, credits: Zoho)

So like, can it animate and change those lines?

you can draw lines yes but not polygons or triangles yet. but if you want to make a game then you actually can make animations frames but i dont think that is related.

1 Like

OK i made a really simple one


ภาพ

1 Like

Nice! Going to use it with my line drawing needs. :slight_smile:

I got it and favorited :wink:

charcharcharchar