I am working on this idea again.
I decided to change the scope of this project to just having analog circuits run the game logic.
Digital display input and analog circuit output are just very different paradigms that don't communicate well with each other.
It is a nightmare trying to figure out a way to have discrete timing for drawing graphics with analog signals.
I am going to make a digital module that takes analog output (positions of players) from the analog circuit logic module
and determines where to draw characters based on analog circuit logic module output.
For now, the plan is to just have a raspberry pi take in analog signal input with an ADC(analog-to-digital converter) and draw
a sprite to screen based on the converted digital input from ADC.
Also, I saw that my previous 2 dimensional collision detector circuit failed if difference between x coordinates and difference between y coordinates
of players were the same. I fixed it by looking for an equation that would be zero if both player's coordinates were the same.
diff_sum = (xdiff + ydiff) + (xdiff - ydiff) . diff_sum is zero only if coordinates of 2 players are are the exact same i.e. xdiff = 0 and ydiff = 0. Also order for subtraction doesn't matter if xdiff and ydiff are zero or the same.
I will figure out collision detection with bounding box later.
Analog Circuit Video Game Concept
- Deckhead
- Site Admin
- Posts: 128
- Joined: Fri Feb 21, 2020 5:44 am
- Location: Sydney, Australia
- Contact:
Re: Analog Circuit Video Game Concept
I read recently that analogue circuits have some very promising applications in things like neural networks. The issue was degradation of the signal as it passed through thousands of neurons etc.
Developer of The Last Boundary and webmaster of IndieGameDev.net
Re: Analog Circuit Video Game Concept
Yes. A specialized analog circuit can use less power than a digital computer doing the same function.
A motivating factor for researching analog circuits for neural networks is to decrease energy used for neural networks.
This is a good article that describes using analog circuits for neural networks.
https://semiengineering.com/developers- ... ural-nets/
I hope computing with analog circuits comes back.
- Deckhead
- Site Admin
- Posts: 128
- Joined: Fri Feb 21, 2020 5:44 am
- Location: Sydney, Australia
- Contact:
Re: Analog Circuit Video Game Concept
It's super interesting stuff, especially some of the more advanced historical uses like the sights for bombing aircraft circa WW2 or tidal prediction computers.
Developer of The Last Boundary and webmaster of IndieGameDev.net
Re: Analog Circuit Video Game Concept
It turns out that my equation was half correct. It did accurately result in being zero whenever positions of 2 dots were the same.
However, diffsum_result became negative or positive depending on xdiff and ydiff polarity and magnitude.
diffsum_result = (xdiff + ydiff) + (xdiff - ydiff)
The change in polarity of diffsum_result made the zero detector circuit detect a zero even when xdiff and ydiff were not zero.
I fixed the circuit by taking out the possibility of a polarity change in diffsum_result by taking the absolute value of xdiff and ydiff.
diffsum_result = | xdiff | + | ydiff |
However, diffsum_result became negative or positive depending on xdiff and ydiff polarity and magnitude.
diffsum_result = (xdiff + ydiff) + (xdiff - ydiff)
The change in polarity of diffsum_result made the zero detector circuit detect a zero even when xdiff and ydiff were not zero.
I fixed the circuit by taking out the possibility of a polarity change in diffsum_result by taking the absolute value of xdiff and ydiff.
diffsum_result = | xdiff | + | ydiff |