Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411283 Posts in 69325 Topics- by 58380 Members - Latest Member: bob1029

March 29, 2024, 04:42:51 AM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsCommunityJams & EventsCompetitionsA Game by Its Cover[AGBIC] Elec - Educational Electronics Game [v0.4]
Pages: [1]
Print
Author Topic: [AGBIC] Elec - Educational Electronics Game [v0.4]  (Read 3415 times)
MysticSi
Level 0
***



View Profile WWW
« on: July 14, 2010, 07:52:01 AM »

Elec - Educational Electronics Game

Description

A pseudo/simplified electronics simulator, allowing you to build logic circuits out of transistor like components.


Inspired by



             

Download

elec_v0.4.zip
elec_v0.3.rar
elec_v0.2.rar (NOTE: Crashes when you delete a component)
elec_v0.1.rar


How to play



Use the toolbar to drag and drop components

Power generates an electric output,
Control converts an electric signal into a control signal,
Node outputs its input unless a control signal is present,
LED lights up when powered, use control signal to turn blue,
Delay delays signal for 5 stepps

click to push button / select
ctrl + click to move a component/ select multiple
right click & drag create a wire between two components

WASD pan camera
R,F zoom in/out
G reset zoom

+- NUMPAD increase/decrease cycles
N reset cycles

Delete Delete selected components/wires
V Toggle wire display

loading & saving done automaticly on start/exit.
« Last Edit: August 02, 2010, 04:31:44 PM by MysticSi » Logged

Melly
Level 10
*****


This is how being from "da hood" is like, right?


View Profile
« Reply #1 on: July 14, 2010, 01:23:54 PM »

I know plenty of people here that'll love to see that concept realized.
Logged

Feel free to disregard the above.
Games: Minus / Action Escape Kitty
J. R. Hill
Level 10
*****

hi


View Profile WWW
« Reply #2 on: July 14, 2010, 05:51:02 PM »

I'm one of them.
Logged

hi
miconazole
Level 1
*


contact through email pls


View Profile
« Reply #3 on: July 15, 2010, 06:55:05 AM »

I agree, interesting premise! Sounds like it might be an electronics version of Manufactoria Tongue
Logged

MysticSi
Level 0
***



View Profile WWW
« Reply #4 on: July 19, 2010, 07:08:36 AM »

Got a demo version working...





Power generates an electric output,
control converts an electric signal into a control signal,
and node outputs its input unless a control signal is present.

click to push button
ctrl + click to move a component
right click & drag create a wire between two components

you can't currently delete components or wires, but ill get around to that soon...

elec_v0.1.rar
Logged

ThetaGames
Level 5
*****


Informatikmeister


View Profile WWW
« Reply #5 on: July 19, 2010, 04:17:44 PM »

Nice ideas!  I think I made a square-wave generator:

Logged

MysticSi
Level 0
***



View Profile WWW
« Reply #6 on: July 20, 2010, 02:06:16 PM »

actualy Theta you've unwittingly exposed a bug in my code, as the first part of your cricut should just generate a pulse the same as my pulse gate above, but because you had two control inputs this caused the electric output to oscillate between negative and positive.

I've now capped the value of the control signal to 1 to prevent negatives. (for the next release)

you can make an oscillator like this tho...



I also intend to prevent double wiring (where you have two arrows together)

oh yea I did take some inspiration from wireworld, I wanted something that didn't require such precise timing for the logic to work. Crazy
Logged

ThetaGames
Level 5
*****


Informatikmeister


View Profile WWW
« Reply #7 on: July 20, 2010, 03:29:41 PM »

you can make an oscillator like this tho...




Ooooh, and this one oscillates at a lower frequency (1/3 of your oscillator, I think):
Logged

MysticSi
Level 0
***



View Profile WWW
« Reply #8 on: July 22, 2010, 03:51:27 PM »

New in this version...

-LEDs (use control signal to change to blue),

-Delay component (delays for 5 steps),

-press 'V' to toggle view mode,

-a toolbar (drag and drop) to add unlimited components,

-you can now select and delete components and wires, (select a wire by clicking on its arrow)

-change a wires direction with right click.

elec_v0.2.rar



« Last Edit: July 22, 2010, 03:58:03 PM by MysticSi » Logged

ThetaGames
Level 5
*****


Informatikmeister


View Profile WWW
« Reply #9 on: July 22, 2010, 07:24:45 PM »

Nice additions.  I noticed that sometimes when I tried to delete something, the game would crash.
Logged

oyog
Level 7
**



View Profile WWW
« Reply #10 on: July 23, 2010, 09:37:43 AM »

Nice additions.  I noticed that sometimes when I tried to delete something, the game would crash.

Same thing happened to me.
Logged
MysticSi
Level 0
***



View Profile WWW
« Reply #11 on: July 24, 2010, 09:03:06 AM »

oops, I cant believe I missed that bug it even happens on my computer. I was deleting the element in the wrong place and creating an invalid reference.

Try this...

elec_v0.3.rar
Logged

Melly
Level 10
*****


This is how being from "da hood" is like, right?


View Profile
« Reply #12 on: July 24, 2010, 12:40:14 PM »

That's a pretty interesting thing you got there, though I'm really unsure of how to work it. Tongue You could add some of your circuit examples into the game itself so people can play around with them. It seems like it could be a fun and educational time waster for those that are inclined.
Logged

Feel free to disregard the above.
Games: Minus / Action Escape Kitty
DrOctapu
Level 0
***

Brutally modest.


View Profile
« Reply #13 on: July 25, 2010, 12:56:22 AM »

Very neat to mess with, maybe a windowed mode though?
Logged

Add me on...
 Desura | Steam
MysticSi
Level 0
***



View Profile WWW
« Reply #14 on: July 26, 2010, 03:33:15 PM »

damn a virus has messed up my windows install, and i cant find the authentication key to reinstall it. I guess i'll have to quickly learn to proggram in linux, and port my app to it.
Logged

MysticSi
Level 0
***



View Profile WWW
« Reply #15 on: August 02, 2010, 04:25:42 PM »

never-mind i got windows working again, Linux was proving to hard to get the opengl library installed.

I've added saving (automatic upon start/exit), there are now examples when you first start, camera panning and zooming (WASD R,F), inverse control component (makes things a little simpler) and also the ability to increase or decrease the cycles per frame (+- numpad) putting it into slow-motion helps to see what's going on.

I did add windowed mode (alt+return), but the mouse position is not currently calculated corectly.

elec_v0.4.zip

Here's something more elaborate i made, unfortunately before i implemented saving...

Logged

Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic