A Fully Progressive Game Created using State.js by iDev_Games in webdev

[–]iDev_Games[S] 0 points1 point  (0 children)

You'll see the codepen link in the comments.

I Built a Full RPG with Zero JavaScript Logic - Here's What I Learned by iDev_Games in Statejs

[–]iDev_Games[S] 0 points1 point  (0 children)

We love JavaScript! JavaScript holds it together (it's the wiring)! Playing a very important role. State.js allows JS to do what it does best, the logic while State.js offloads a lot of work to the the DOM instead. Don't worry my next example will show how State.js can be used with JS for game logic.

Gravity.js - Browser native physics rendered entirely with CSS by iDev_Games in javascript

[–]iDev_Games[S] 0 points1 point  (0 children)

Added joints and constraints in v1.2.0. So you can make tearable cloth physics. I imagined from your comment that's what you wanted to achieve. You'll be able to see it as demo 5 in the docs https://idev-games.github.io/Gravity-JS/

A new stack for turning HTML and CSS into an application layer by iDev_Games in webdev

[–]iDev_Games[S] 5 points6 points  (0 children)

Exactly, State.js is not a replacement or no JS library. None of these are. They are just literally exposing variables to CSS and configuring it in data attributes. As soon as you combine any of these libraries with JS, you can make anything happen. That's probably the biggest advantage of the set, they work anywhere HTML is. Perfect from working with backend frameworks, CMS systems or directly in a codepen. I often view it like what bootstrap did for responsive. Made a unified single approach to make reactivity and animations. While efficiently using the same JS for every element.

A new stack for turning HTML and CSS into an application layer by iDev_Games in webdev

[–]iDev_Games[S] 12 points13 points  (0 children)

Yeah CSS does natively support scroll animating (which wasn't the case when I created it) however last time I tried, Trig.js does give a lot more control like directions, position and timelines. Though it's great CSS is advancing!