Airconsole controller maker

Post your completed addons to share with the community

Post » Thu Jun 15, 2017 7:16 pm

Psychokiller1888 wrote:The old plugin still exists on GitHub, as a branch:

https://github.com/AirConsole/airconsol ... -version-1


Thank you for the idea. The old plugin is still needed to get device names?
Liked something I say?
Tip. My Bitcoin address: 1PLaeKmXQ8vEdGGJqXMq3KyB8hxeddxeSv
B
28
S
9
G
4
Posts: 359
Reputation: 4,246

Post » Thu Jun 15, 2017 7:18 pm

cjbruce wrote:@DaniellMesquito

Updated. I had added the new plugin, but forgot to delete the old one.


Thank you! Its working very well.
Liked something I say?
Tip. My Bitcoin address: 1PLaeKmXQ8vEdGGJqXMq3KyB8hxeddxeSv
B
28
S
9
G
4
Posts: 359
Reputation: 4,246

Post » Thu Jun 15, 2017 9:04 pm

DaniellMesquito wrote:
cjbruce wrote:@DaniellMesquito

Updated. I had added the new plugin, but forgot to delete the old one.


Thank you! Its working very well.


Phew! Good to know. Let me know if you have any questions. Both .capx files were for project prototypes and weren't designed as tutorials, so they are a little more complex than tutorial should be.
www.simbucket.com - HTML5 Science Simulations / https://www.airconsole.com/#!play=com.n ... obotrumble - Robot Rumble on AirConsole
B
52
S
17
G
26
Posts: 432
Reputation: 18,084

Post » Thu Jun 15, 2017 9:20 pm

cjbruce wrote:
DaniellMesquito wrote:
cjbruce wrote:@DaniellMesquito

Updated. I had added the new plugin, but forgot to delete the old one.


Thank you! Its working very well.


Phew! Good to know. Let me know if you have any questions. Both .capx files were for project prototypes and weren't designed as tutorials, so they are a little more complex than tutorial should be.


This isn't working over http://www.airconsole.com/simulator/#de ... localhost/. I can't control the game, and the controller isn't communicating. I think the problem is with my server. Soon I'll buy a 1 month Dropbox subscription to test my game and your samples.
Liked something I say?
Tip. My Bitcoin address: 1PLaeKmXQ8vEdGGJqXMq3KyB8hxeddxeSv
B
28
S
9
G
4
Posts: 359
Reputation: 4,246

Post » Thu Jun 15, 2017 10:15 pm

@cjbruce
I bought a Dropbox Plus, then how can I make a public folder?
Liked something I say?
Tip. My Bitcoin address: 1PLaeKmXQ8vEdGGJqXMq3KyB8hxeddxeSv
B
28
S
9
G
4
Posts: 359
Reputation: 4,246

Post » Fri Jun 16, 2017 12:22 am

DaniellMesquito wrote:@cjbruce
I bought a Dropbox Plus, then how can I make a public folder?


I'm not sure if there is a public folder already. When I went to dropbox on the web, there used to be a "enable public folder" checkbox. If the checkbox is not there, check if you already have a dropbox folder called "Public ". If so, then you can right-click on a file in the desktop app to "copy public link". The URL it gives you when you do this should look like mine, just with a different number.
www.simbucket.com - HTML5 Science Simulations / https://www.airconsole.com/#!play=com.n ... obotrumble - Robot Rumble on AirConsole
B
52
S
17
G
26
Posts: 432
Reputation: 18,084

Post » Wed Jul 19, 2017 7:22 am

How can I upload the games without an index.html file? Every place I try to upload it asks for a index.
B
5
Posts: 4
Reputation: 233

Post » Sat Jul 29, 2017 9:31 am

Malak wrote:How can I upload the games without an index.html file? Every place I try to upload it asks for a index.


Are you referring to AirConsole games, or games in general?

AirConsole games are special, and much more complicated to set up. This thread is specifically for AirConsole controllers.

If you want to post a non-AirConsole game to a regular website, you can pretty much disregard everything in this thread.
www.simbucket.com - HTML5 Science Simulations / https://www.airconsole.com/#!play=com.n ... obotrumble - Robot Rumble on AirConsole
B
52
S
17
G
26
Posts: 432
Reputation: 18,084

Post » Mon Sep 25, 2017 2:06 am

cjbruce wrote:@DaniellMesquito

Done! I just modified everything so that it is a complete working example of a platform shooting game. I included a multi-purpose controller that you can use for lots of different kinds of games. There are no HTML form elements -- everything is built entirely using Construct 2 sprite objects, text objects, and events.

To play the game on AirConsole:
https://www.airconsole.com/#https://dl.dropboxusercontent.com/u/55106174/acexample/

Direct link to the screen file (this works with keyboard controls):
https://dl.dropboxusercontent.com/u/55106174/acexample/screen/index.html

Direct link to the controller file (you can try this by itself on your phone):
https://dl.dropboxusercontent.com/u/551 ... index.html

The screen's .capx can be downloaded here:
https://dl.dropboxusercontent.com/u/55106174/acexample/platformshooterairconsoleexample.capx

The controller's .capx can be downloaded here:
https://dl.dropboxusercontent.com/u/55106174/acexample/multipleairconsolecontrollerexample.capx


Notes on the controller .capx:
-I designed the controller as a general-purpose controller. There are way more events and game layouts than you will actually use.
-By pressing the "?" button, you can switch to different controller layouts and control schemes.
-All directional messages sent from the controller begin with either "r", "c", "8", or "t". These characters indicate how the game should respond, and were intended to test different driving control schemes for a top-down driving game. They were extremely useful to quickly switch between different control schemes in the middle of the game, but you will most likely want to get rid of these extra events once you settle on a control scheme.

Notes on the screen .capx:
-This was a prototype for a platform shooter. Feel free to modify and use however you want.
-I have extra events in here that strip out the "r", "c", "8", or "t" from the controller messages. For this game, they are not necessary, and I recommend eliminating everything that is unnecessary in your actual game.

Notes on directory structure:
-You will want to create the following directory structure for your project:
Image
-Always export your screen .capx to the screen/ folder.
-Always export your controller .capx to the controller/ folder.
-Create screen.html and controller.html files, as I described in this thread:

https://www.scirra.com/forum/airconsole-controller-maker_t186227?start=130


@cjbruce the links to your example capx files are no longer working. Could you relink those files please? I'm having trouble getting this airconsole controller plugin working with the updated airconsole V2 screen plugin. Thanks!
B
9
Posts: 14
Reputation: 849

Post » Mon Sep 25, 2017 2:20 pm

@StillSarah and @DaniellMesquito,

I moved everything off of DropBox to our server and updated the original reply. The new links listed below should work:


cjbruce wrote:@DaniellMesquito

Done! I just modified everything so that it is a complete working example of a platform shooting game. I included a multi-purpose controller that you can use for lots of different kinds of games. There are no HTML form elements -- everything is built entirely using Construct 2 sprite objects, text objects, and events.

To play the game on AirConsole:
https://www.airconsole.com/#http://nerdislandstudios.com/acexample/

Direct link to the screen file (this works with keyboard controls):
http://nerdislandstudios.com/acexample/screen/index.html

Direct link to the controller file (you can try this by itself on your phone):
http://nerdislandstudios.com/acexample/ ... index.html

The screen's .capx can be downloaded here:
http://nerdislandstudios.com/acexample/platformshooterairconsoleexample.capx

The controller's .capx can be downloaded here:
http://nerdislandstudios.com/acexample/multipleairconsolecontrollerexample.capx


Notes on the controller .capx:
-I designed the controller as a general-purpose controller. There are way more events and game layouts than you will actually use.
-By pressing the "?" button, you can switch to different controller layouts and control schemes.
-All directional messages sent from the controller begin with either "r", "c", "8", or "t". These characters indicate how the game should respond, and were intended to test different driving control schemes for a top-down driving game. They were extremely useful to quickly switch between different control schemes in the middle of the game, but you will most likely want to get rid of these extra events once you settle on a control scheme.

Notes on the screen .capx:
-This was a prototype for a platform shooter. Feel free to modify and use however you want.
-I have extra events in here that strip out the "r", "c", "8", or "t" from the controller messages. For this game, they are not necessary, and I recommend eliminating everything that is unnecessary in your actual game.

Notes on directory structure:
-You will want to create the following directory structure for your project:
Image
-Always export your screen .capx to the screen/ folder.
-Always export your controller .capx to the controller/ folder.
-Create screen.html and controller.html files, as I described in this thread:

https://www.scirra.com/forum/airconsole-controller-maker_t186227?start=130
www.simbucket.com - HTML5 Science Simulations / https://www.airconsole.com/#!play=com.n ... obotrumble - Robot Rumble on AirConsole
B
52
S
17
G
26
Posts: 432
Reputation: 18,084

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest