Skip to content

1j01/tiamblia-original

Repository files navigation

tiamblia-original

This is the original experiment, precursor to Tiamblia

You can play around with it here. There's no default world, so press E to enter editing mode and draw polygons to create some terrain. Right click to delete a terrain polygon. To place trees, select Tree from the Entities bar and click on the ground where you want the base of a tree to be.

Controls

Use the arrow keys or WASD to move, down to mount/unmount a steed. Press F to fly.

Press M to toggle a simple music track.
Press K to enable generative music.
Press L to toggle a panel with controls for the generative music.

Note that there's no way to turn off the generative music once you've turned it on.

Development

All development has moved to tiamblia-game, which has a new engine and editor, bow and arrow mechanics, and a lot more.

Use any web server to serve the files.

If you have Node.js, npx live-server will install and run a web server which will automatically reload the page when you make changes, and it will by open the page in your default browser.

There is also an express+socket.io server in server.js intended for multiplayer, which was not very developed. It kind of syncs player positions, but nothing else, and it doesn't even sync that very well.

Music

The simple music is an old guitar song I wrote, which is fun to play. See guitar tablature.

The generative music is based on a web audio example, modified to randomize the note sequence and parameters over time.