Stormworks: Build and Rescue

Stormworks: Build and Rescue

ath0rus Jun 24, 2021 @ 10:12pm
How does HTTP work in game
can someone please explain how http in game works. I want to be able to press a button on my stream deck and have it trigger events in game. The bellow Reddit post shows that you can trigger in game events with things like a tablet. I was just wondering how i can do similar but with a stream deck.

Reddit post: https://www.reddit.com/r/Stormworks/comments/iqd4hy/just_a_quick_little_demo_of_what_you_can_do_with/
< >
Showing 1-4 of 4 comments
Kiritsu Jun 25, 2021 @ 3:21am 
First of all, he use an application called "Matric".

For the HTTP, I guess it's in the stormwork lua and you send information to a server and listen to them.
ath0rus Jun 25, 2021 @ 5:10pm 
Originally posted by Kiritsu:
First of all, he use an application called "Matric".

For the HTTP, I guess it's in the stormwork lua and you send information to a server and listen to them.
Thanks for the reply, do you know a guide that can explain how to use Matric. You also mentioned send info to a server and then listen to it, do you know a guide that explains how to do that.
Kiritsu Jun 26, 2021 @ 12:49am 
I don't have a guide for that.

All i know is that you need to install the Matric on your device and PC.

For the tutorial, i guess you will have to look on the web for both lua and Matric.
Schaksie Sep 20, 2021 @ 5:28am 
The HTTP interface within stormworks is a one way ticket. Stormworks is able to send request and get responses to those requests, but if you want to send data from a server or eg. Matric to Stormworks, you will have to constantly send request from stormworks to your api to get an y data into stormworks. This usually not a great idea. Search for "inversion of control" if you need a detail explanation of what i mean
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Jun 24, 2021 @ 10:12pm
Posts: 4