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

Momentary switch

A topic by Justaguywhodoesstuff created 66 days ago Views: 109 Replies: 2
Viewing posts 1 to 3

I am trying to create a momentary switch for various purposes,  and I feel like this is something that should be doable. but I dont know how to make any signal power off an input after it momentarily switches to a 1.  Am i missing something?  there has to be an answer I swear...

Your best bet is to use the KEY chip. You can also use the PULSE chip to get a momentary pulse.

I have learned more about electronics and what you are looking for is a Rising Edge Detector (or RED). This device will turn on for one frame and then turn off. This is what it looks like.

Thi
This is a good video for it. This video refers to it as "ONE SHOT"