Return to “Technical”

Post

Re: State, Hierarchy, and HTML events

#2
domanite wrote:In today's dev log, Josh talks about how packets of state move up and down his object hierarchies. This sounds surprisingly similar to how events bubble and capture through the HTML DOM hierarchy.

"first the event will capture until it reaches the target then it will bubble up to the outermost element."

http://stackoverflow.com/questions/4616 ... -capturing
Which means that some weasel has probably patented that algorithm.

:x
Post

Re: State, Hierarchy, and HTML events

#3
[quote="domanite"]In today's dev log, Josh talks about how packets of state move up and down his object hierarchies. This sounds surprisingly similar to how events bubble and capture through the HTML DOM hierarchy./quote]

Yeah I was thinking just that, at least we can now use the scripts he has in place for hierarchies for instant gratification when implementing an in-game HTML/CSS render. :P
°˖◝(ಠ‸ಠ)◜˖°
WebGL Spaceships and Trails
<Cuisinart8> apparently without the demon driving him around Silver has the intelligence of a botched lobotomy patient ~ Mar 04 2020
console.log(`What's all ${this} ${Date.now()}`);

Online Now

Users browsing this forum: No registered users and 4 guests

cron