Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors while compiling #18

Open
SanLLL opened this issue Dec 9, 2022 · 2 comments
Open

Errors while compiling #18

SanLLL opened this issue Dec 9, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@SanLLL
Copy link

SanLLL commented Dec 9, 2022

Describe your bug here.

These errors show up when i want to compile

Command Prompt/Terminal logs (if existing)

source/flixel/FlxCamera.hx:1070: characters 31-42 : Class<flixel.FlxG> has no field initialZoom
source/Main.hx:145: characters 61-65 : Float should be Int
source/Main.hx:145: characters 61-65 : ... For optional function argument 'updateFramerate'
source/Main.hx:145: characters 61-65 : ... For function argument 'child'
source/grafex/states/TitleState.hx:246: characters 76-78 : Int should be flixel.util.FlxAxes
source/grafex/states/TitleState.hx:246: characters 76-78 : ... For optional function argument 'repeatAxes'
source/grafex/states/options/OptionsDirect.hx:22: characters 62-64 : Int should be flixel.util.FlxAxes
source/grafex/states/options/OptionsDirect.hx:22: characters 62-64 : ... For optional function argument 'repeatAxes'
source/grafex/states/MainMenuState.hx:115: characters 56-58 : Int should be flixel.util.FlxAxes
source/grafex/states/MainMenuState.hx:115: characters 56-58 : ... For optional function argument 'repeatAxes'

Are you modding a build from source or with Lua?

Source

What is your build target?

Windows

Did you edit anything in this build? If so, mention or summarize your changes.

I edited nothing, its a fresh download of the source

@SanLLL SanLLL added the bug Something isn't working label Dec 9, 2022
@FinGonz
Copy link

FinGonz commented Dec 20, 2022

your flixel version is probably over 5.0.0
maybe try downgrading?

@sector-a
Copy link

sector-a commented Apr 4, 2023

This is issue with new flixel and flixel-addons versions
In main:
you see there is zoom in game arguments, which is removed in flixel 5.0.0+
if (flixel < '5.0.0') zoom, #end

FlxAxes error is because of Backdrop was changed on newer flixel-addons versions.

FlxCamera error is same as main.hx one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants