Airconsole controller maker

Post your completed addons to share with the community

Post » Fri Jun 09, 2017 4:27 am

The sample .capx files are requesting the old plugin, instead of version 2. Someone with the old plugin, please change it to support the version 2.
Last edited by DaniellMesquito on Sun Jun 11, 2017 6:41 pm, edited 1 time in total.
Liked something I say?
Tip. My Bitcoin address: 1PLaeKmXQ8vEdGGJqXMq3KyB8hxeddxeSv
B
25
S
7
G
4
Posts: 326
Reputation: 3,903

Post » Sun Jun 11, 2017 6:40 pm

Also, the Magicwand.cmd isn't finding the files, returning a error message.
Liked something I say?
Tip. My Bitcoin address: 1PLaeKmXQ8vEdGGJqXMq3KyB8hxeddxeSv
B
25
S
7
G
4
Posts: 326
Reputation: 3,903

Post » Sun Jun 11, 2017 8:13 pm

DaniellMesquito wrote:The sample .capx files are requesting the old plugin, instead of version 2. Someone with the old plugin, please change it to support the version 2.


The sample .capx files are pretty basic. I have updated .capx files working with version 2 of the AirConsole plugin, if you are interested. My version has a bunch of different controller layouts with a bunch of different types of command messages.

Also, once you set up your directory structure as described in my previous post, you will no longer need the magicwand.cmd file.
www.simbucket.com - HTML5 Science Simulations / https://www.airconsole.com/#!play=com.n ... obotrumble - Robot Rumble on AirConsole
B
48
S
14
G
24
Posts: 408
Reputation: 16,664

Post » Tue Jun 13, 2017 12:13 am

X3M was banned, sure? Why? Then because this he can't update the topic. Thank you for explanating, trying it now.
Last edited by DaniellMesquito on Tue Jun 13, 2017 12:16 am, edited 1 time in total.
Liked something I say?
Tip. My Bitcoin address: 1PLaeKmXQ8vEdGGJqXMq3KyB8hxeddxeSv
B
25
S
7
G
4
Posts: 326
Reputation: 3,903

Post » Tue Jun 13, 2017 12:15 am

Can you please share the updated .capx files?
Also:
I also recommend changing the "Use HTML elements" property to "False".

Why?
Liked something I say?
Tip. My Bitcoin address: 1PLaeKmXQ8vEdGGJqXMq3KyB8hxeddxeSv
B
25
S
7
G
4
Posts: 326
Reputation: 3,903

Post » Tue Jun 13, 2017 12:40 pm

DaniellMesquito wrote:Can you please share the updated .capx files?
Also:
I also recommend changing the "Use HTML elements" property to "False".

Why?


I'm cleaning up the examples and commenting everything now. I should have everything ready in a few hours.

The reason that I would disable html elements is that they don't play together well with Construct. This is made much worse by Airconsole, as it applies a whole bunch of additional formatting rules on top of Construct's rules.
www.simbucket.com - HTML5 Science Simulations / https://www.airconsole.com/#!play=com.n ... obotrumble - Robot Rumble on AirConsole
B
48
S
14
G
24
Posts: 408
Reputation: 16,664

Post » Tue Jun 13, 2017 2:22 pm

@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
Last edited by cjbruce on Mon Sep 25, 2017 2:17 pm, edited 1 time in total.
www.simbucket.com - HTML5 Science Simulations / https://www.airconsole.com/#!play=com.n ... obotrumble - Robot Rumble on AirConsole
B
48
S
14
G
24
Posts: 408
Reputation: 16,664

Post » Tue Jun 13, 2017 6:57 pm

@cjbruce
I thank you very much for the help, but the controller .capx is yet using the old plugin:
Image
Liked something I say?
Tip. My Bitcoin address: 1PLaeKmXQ8vEdGGJqXMq3KyB8hxeddxeSv
B
25
S
7
G
4
Posts: 326
Reputation: 3,903

Post » Tue Jun 13, 2017 7:42 pm

Also, how can I get a link like this?
https://dl.dropboxusercontent.com/u/55106174/acexample/
It will make my development even better.
Liked something I say?
Tip. My Bitcoin address: 1PLaeKmXQ8vEdGGJqXMq3KyB8hxeddxeSv
B
25
S
7
G
4
Posts: 326
Reputation: 3,903

Post » Tue Jun 13, 2017 9:32 pm

DaniellMesquito wrote:@cjbruce
I thank you very much for the help, but the controller .capx is yet using the old plugin:
Image


Darn it! I forgot to get rid of the old controller. It isn't actually used for anything.

I can't fix it right now, but I will try to do it tonight.
www.simbucket.com - HTML5 Science Simulations / https://www.airconsole.com/#!play=com.n ... obotrumble - Robot Rumble on AirConsole
B
48
S
14
G
24
Posts: 408
Reputation: 16,664

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 6 guests