Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Digital Logic Sim

​A minimalistic digital logic simulator · By Sebastian Lague

Is it possible to enable the Vid Tools in the build, available on itch.io? (V2.0.3)

A topic by HMT created 17 days ago Views: 100 Replies: 2
Viewing posts 1 to 2
(1 edit)

Hello Mr. Lague,

before addressing the main subject of this comment, I would like to my utmost respect to you for keeping your code so clean and well documented.

 

Earlier today, I was watching your most recent video on how computers work, when I noticed that the components were being placed rather consistently in terms of speed and position.

For the past week, I’ve also been modifying version 1.0.2 of the simulator to include various features like a grid and auto-bending wires.

Whilst doing so, I found a folder called “Vid Tools” that contained lots of different fun scripts to toggle between recording and playback mode and things like that.

And I was just wondering:

How could I, if I wanted to make a video using this simulator, use these tools to my advantage to pre-program cursor paths and chip placement?

I would greatly appreciate an answer but would understand if you didn’t want people tampering with development tools.

In the meantime, I will indulge in the vast overhaul of your Digital Logic Sim.

Developer(+1)

Thanks! The vidtools aren't available in the public builds, but you can create the video within the unity editor (which is what I did for my video), or enable the vidtools and make your own custom build if you prefer. To enable, just drag the VidTools prefab into the scene. This allows you to set precise values for the camera, and as you noticed to record and play back inputs. The two advantages of the input recording is that 1) it can be played back with some smoothing applied to make it more pleasant to watch, and 2) there are some controls for setting a 'savepoint' in your input recording, so if you mess something up you can rewind the recording to that point and attempt again. It's not very intuitive to use at all since it wasn't intended for anyone other than myself, but you can read through the code to see the various shortcuts for doing that stuff if you're interested. I don't have a tool for programmatically creating the inputs, like via curves or something, but would be an interesting approach as well. 

Be sure to share your videos here if you end up making any :)

Thank you for the quick response! I'm sure, extracting the shortcuts from the code won't pose much of a problem, given your cleanly written code.

I've already started tinkering on version 2.0.3 and I'll be sure to post a link here if I make a video using your simulator!

:)