Whats the best way to Recreate Wifi Electronics?

Get help using Construct 2

Post » Mon Jun 17, 2013 4:40 am

Whatsup peeps,

I want to create some type on Mechanics system in my platformer game. I was thinking about Wifi transmission but I havnt the slightest clue on how to create it.Alot of games require you to use wires or look at minecrafts redstone features. I want to do something like this. How should I make my first move?
B
9
S
5
Posts: 126
Reputation: 1,295

Post » Mon Jun 17, 2013 7:44 am

B
23
S
3
G
1
Posts: 47
Reputation: 1,573

Post » Mon Jun 17, 2013 11:45 am

This is all done by a Wire Method. I Want to have something similar but Wifi. Wireless Logic Gates
B
9
S
5
Posts: 126
Reputation: 1,295

Post » Mon Jun 17, 2013 7:17 pm

Anyone have a clue where I should start with this?

B
9
S
5
Posts: 126
Reputation: 1,295

Post » Mon Jun 17, 2013 7:34 pm

Depends on what you actually want. Expose some scenarios, otherwise we're also in the dark !
B
59
S
24
G
23
Posts: 927
Reputation: 17,489

Post » Mon Jun 17, 2013 7:39 pm

@TheNewGuy If you could better explain what you are wanting to do? Wifi only passes data. It doesn't do any computation. I'm not sure of your level of understanding, but a logic gate decides if something is true or false, on or off. If you could explain better, I can try and help. I was thinking of trying something in that direction (circuits) for my next project.
B
23
S
3
G
1
Posts: 47
Reputation: 1,573

Post » Mon Jun 17, 2013 7:39 pm

wifi is invisible, just create a wave (((0))) and an effect...
As long as I can move left, right and fire, I'm Happy...
B
42
S
15
G
11
Posts: 655
Reputation: 12,260

Post » Tue Jun 18, 2013 11:30 am

Im sorry bros for not being detailed. I just want to add circuits with some wifi functions like this
If a switch is turned on or a pressure plate,switch extra,it will deliver power to a neighboring object. If its a door it will open,if its a powered light, it will turn on ,lighting the area.If its a TRANSMITTER I want it to output a signal in a 'ON' signal.If a Receiver is in range of the transmitter and set to the same frequency, it will receive the signal and deliver power to neighboring object. When the original switch is off, the door will close, the light will turn off,the transmitter will output an 'OFF' signal and the receiver will stop delivering power.I want to have this type of stuff for future development off this game.@Pixel perfick @kcpunk666 @Magistross thanks for the reply and all of this I am trying to do in a platformer.
B
9
S
5
Posts: 126
Reputation: 1,295

Post » Tue Jun 18, 2013 4:25 pm

Give the objects an instance variable for "frequency" and one for "active". Then you can use the distance expression to check if the objects are in range of eachother. (see system expressions in the manual)

That should be pretty much all you need, but feel free to ask if you need more details.Nimtrix2013-06-18 16:26:39
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Tue Jun 18, 2013 5:11 pm

I decided to give it a go. Here's a simple power transmition system through nodes. Notice the fabulous usage of a recursive function !

Example capx

Not quite logical gates, but you could build upon it !
B
59
S
24
G
23
Posts: 927
Reputation: 17,489

Next

Return to How do I....?

Who is online

Users browsing this forum: luckyrawatlucky, skrotar and 11 guests