00:00
00:00
Sonucais
Trying to live a new peaceful life making games. Classic Arcade is the best.

Alex 'Sonius' PG @Sonucais

Age 33, Regular dude

Nutcracker

Barcelona, Spain

Joined on 6/21/05

Level:
48
Exp Points:
25,040 / 25,580
Exp Rank:
551
Vote Power:
8.89 votes
Audio Scouts
1
Art Scouts
2
Rank:
Sup. Commander
Global Rank:
226
Blams:
3,681
Saves:
30,972
B/P Bonus:
60%
Whistle:
Silver
Trophies:
24
Medals:
662
Supporter:
1y 1m 1d

Comments

Good :)!

Have you considered porting it to Haxe? I believe HaxeFlixel has out-of-the-box gamepad and other controller support.

Ive never understood Haxe because I miss Dlash tools and it also uses AS3, not 2. I'll be learning GameMskerStudio2, I already habe the licence with Android and HTML5 export bought, Im just lazy to lesrn it.

@Gimmick Haxe has Gamepad support this whole time!?!

You can add gamepad even to old flash with javascript.

@Gimmick Oh God, I can't delete my own reply. I was writing it without my glasses on and it got many typos.

@Sonucais Got it. I've been meaning to get started with Godot but laziness on my end along with other commitments makes it SO easy to just keep postponing it forever...

@MassiveMarioLuigi700 The programming language doesn't, but if you use HaxeFlixel (a framework for making games that you code with in Haxe) then yes it comes with gamepad support. Check out the docs: https://haxeflixel.com/documentation/gamepads/

@MassiveMarioLuigi700 @Sonucais No.. way! I've been dying to experiment on gamepad functionality, how do you do such a thing? Just import your game to javascript?

Just a little example:

JS sends like this:
document.getElementById('myFlashMovie').press_LEFT();

AS2 receives like this:
System.security.allowDomain("*");
flash.external.ExternalInterface.addCallback("press_LEFT", this, press_LEFT);
function press_LEFT(){ "do something to move left" }

@MassiveMarioLuigi700 @Sonucais @Sonucais interesting, I'm a bit new to all of this so do i use visual studio code, flashdevelop to import these codes to my game?

I dont know. I use Flash 8 and Notepad++

@MassiveMarioLuigi700 I don't know. I use Macromedia Flash 8 for Flash. I guess you can use Visual Studio for Html and Js