FNF-CNE-Devs / CodenameEngine

awesome fnf engine :D
Apache License 2.0
248 stars 166 forks source link

OpenFL version compatibility fix #249

Closed Jamextreme140 closed 6 months ago

Jamextreme140 commented 6 months ago

Uses var alias "source" on 9.2.2 or "audioSource" on latest, in case of using latest libraries.

NexIsDumb commented 6 months ago

it looks good :D gimme some minutes to grab my pc and test it rq

NeeEoo commented 6 months ago

@Jamextreme140 Cant you make it use a var __source(get, set):AudioSource; which just redirects to __audioSource on newer openfl?

Jamextreme140 commented 6 months ago

Hmm, let me see...

Jamextreme140 commented 6 months ago

@Jamextreme140 Cant you make it use a var __source(get, set):AudioSource; which just redirects to __audioSource on newer openfl?

you mean, use a typedef?

NexIsDumb commented 6 months ago

@Jamextreme140 Cant you make it use a var __source(get, set):AudioSource; which just redirects to __audioSource on newer openfl?

you mean, use a typedef?

no i think he means a setter / getter that redirects the return based on the the openfl version

Jamextreme140 commented 6 months ago

Oh I get it.

I will try

NexIsDumb commented 6 months ago

? why did you close it? also if you want we can help you

Jamextreme140 commented 6 months ago

? why did you close it? also if you want we can help you

I closed it to reopen it with a new solution. Also, thanks for the help.

NexIsDumb commented 6 months ago

? why did you close it? also if you want we can help you

I closed it to reopen it with a new solution. Also, thanks for the help.

oh alrightt