Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

I would like to adapt the controller code for Game Maker

A topic by DaveSilver created Sep 03, 2017 Views: 483 Replies: 6
Viewing posts 1 to 2

I tried emailing you, but the email address listed on the jam page seems to be incorrect. Anyway, I would like to participate in the 100 button controller jam you started, but I use Game Maker, not Unity. I was hoping you could send me the existing code that allows the system to read the button input so I can take a look at it, and see what I can do to adapt it for that engine before the jam begins.

Host

Hey Dave! Sorry about that, I didn't realize the email address was wrong and fixed it.  It's amandalhudgins at gmail.com (forgot the a on my own first name, as it were). I can send you the code , just be sure to share it with others  who may need it if you find a solution. 

Thank you so much Amanda! I just emailed you.

I cannot guarantee that I will get it working, but I would be more than happy to share the code if I do. In fact, I will most likely make a new post on the Game Maker subreddit about the Game Jam if I am able to make it work, or if I'm having trouble adapting the code and need assistance from other devs in the community. Either way though, thank you again, and I look forward to participating in the game jam.

It might be a great idea to post it in a separate thread so everyone can access it, if you would be ok with it). Another thing which you can do is to show how the input would work and how to address the buttons in the most common languages used (c++,c#,java,gamemaker,python,whatever else :) ).

Host

Shared the Arduino code in this thread: https://itch.io/jam/100-button-game-jam/topic/140791/code-code-for-the-arduino

I'm not sure what you're asking on the other part of your question. Could you elaborate? 

(+1)

I mean that if there would be an api avaliable for most popular languages it would make developing games easier and more people would be up for the challenge.

Submitted(+1)

If you're still looking for a general-purpose API for talking to the board, and you've ever talked to a web service before, you might like the web adapter I just published: Buttons Are Cool Gateway Server

The server exposes the button board as a web service (HTTP GET and WebSockets). Most languages have good libraries for making web requests or talking to WebSockets.

Cheers!