00:00
00:00
Sonucais
A NG veteran who refuses to accept that Flash is no longer a viable tool for gamedev.󠀠󠀠󠀠󠀠󠀠󠀠󠀠󠀠󠀠󠀠󠀠󠀠󠀠󠀠󠀠󠀠󠀠󠀠󠀠󠀠󠀠 Currently working on Flashback DIY Studio. More about this project will be shared later.

Alex 'Sonius' PG @Sonucais

Age 34, Male

Full-Stack Developer

Look at my cool hat

Barcelona, Spain

Joined on 6/21/05

Level:
49
Exp Points:
25,608 / 26,650
Exp Rank:
555
Vote Power:
8.94 votes
Audio Scouts
4
Art Scouts
6
Rank:
Sup. Commander
Global Rank:
236
Blams:
3,732
Saves:
31,179
B/P Bonus:
60%
Whistle:
Silver
Trophies:
26
Medals:
791
Supporter:
1y 3m 9d

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