Thanks. That makes sense. I have a couple of other things to metion on the distribution and usability though. Do you prefer them here or in Github's Issues?
enrike
2
Posts
1
Topics
A member registered Oct 22, 2019
Recent community posts
hi
(I am new to CTJS so sorry if this question sounds weird, Im still trying to understand its logic. It looks great btw)
Would it be possible to simplify the "type clicked" event from
if (ct.mouse.pressed) {
if (ct.u.pointRectangle(ct.mouse.x, ct.mouse.y, this)) {
// do whatever
}
}
to something like
if (ct.mouse.pressed(this) {
// do whatever
}
thanks
enrike