FunkinCrew / Funkin

A rhythm game made with HaxeFlixel
https://www.newgrounds.com/portal/view/770371
Other
2.98k stars 2.29k forks source link

Bug Report: Warning: Lime version may not be compatible with OpenFL openfl (expected version 7.7.0+) #3803

Closed embedded-p closed 3 weeks ago

embedded-p commented 3 weeks ago

Issue Checklist

Platform

Compiled from GitHub Source Code

Browser

None

Version

0.5.1

Description (include any images, videos, errors, or crash logs)

Capture d'écran 2024-10-29 210031 Hi, each time i tried to compile the game after following the instructions on COMPILING.md, it says that either might something should be in the specific order or if the lime version didn't correspond to the game requirements (as i installed 7.0.0 after actually installing it first), i couldn't find any project.xml (or any other .xml file, there's ton of project.xml files) that respond for that exact code. Could you point out where the file is, or, you can just adjust the code so i can compile the game properly, just don't forget to tell me where the issue were from. I appreciate your work and dedication, even in the hard times.

Love from the valid xister. FNFWABA -ACK! -ACK! -ACK! P.S.: Don't mind the manner of that text, i'm still mental, just playing all along as the part of the bald men with glasses site, despite of that, i'm highly tolerant, but the only thing i need is therapy.

Steps to Reproduce

If you're new to FNF modding or contribution like myself, then you'd might to clone the repo and follow the compilation instructions on COMPILING.md file on the docs folder, you may encounter the same problem. Capture d'écran 2024-10-29 212202

AbnormalPoof commented 3 weeks ago

Not a bug. It says Warning for a reason, just ignore it.

NotHyper-474 commented 3 weeks ago

Like AbnormalPoof said, those are just warnings and can be safely ignored. The line that actually matters here is the Error: Source path "art/readme.txt" doesn't exist. Did you run git submodule update --init --recursive like Step 4 says?

embedded-p commented 3 weeks ago

Like AbnormalPoof said, those are just warnings and can be safely ignored. The line that actually matters here is the Error: Source path "art/readme.txt" doesn't exist. Did you run git submodule update --init --recursive like Step 4 says?

I did it before, but i recently encountered the another problem, there's nothing in the art folder, i tried to type the command one more time - nothing happened. Just then it asked for art/readme.txt file, i added it after. Capture d'écran 2024-10-29 213900

embedded-p commented 3 weeks ago

Not a bug. It says Warning for a reason, just ignore it.

I thought that it was the program-related problem.

Hundrec commented 3 weeks ago

Did you follow Hyper's instructions?

If so, did they work?

If this still doesn't work, you can try deleting your files and starting over. Sometimes we forget to follow a crucial step!

embedded-p commented 3 weeks ago

Did you follow Hyper's instructions?

If so, did they work?

If this still doesn't work, you can try deleting your files and starting over. Sometimes we forget to follow a crucial step!

I did it all, i strictly followed every instructions, i want to know how i can install the art resources properly. I found the TROUBLESHOOTING doc, and it said:

Other compilation issues may be caused by installing bad library versions. Try deleting the .haxelib folder and following the guide starting from Step 5.

Which i hoped that it's the way i can resolve the art folder resources problem, but i ended up just deleting the dependencies. I tried to install the missing ones by manually each time i launch the "haxelib run lime test windows" command. I want to hear your opinions if i should reinstall Haxe.

Hundrec commented 3 weeks ago

If you properly followed up to Step 4 of the compiling guide, your art folder should not be empty. Make sure you run cd into the right folder and restart from Step 4.

embedded-p commented 3 weeks ago

If you properly followed up to Step 4 of the compiling guide, your art folder should not be empty. Make sure you run cd into the right folder and restart from Step 4.

My source directory is C:\Users\(user)\Documents\funker\Funkin

Hundrec commented 3 weeks ago

Please run the command from Step 4 and send a screenshot of the output.

embedded-p commented 3 weeks ago

Please run the command from Step 4 and send a screenshot of the output.

Capture d'écran 2024-10-30 001338 Capture d'écran 2024-10-30 001402 It had no effect on the art folder, may remove the files and try again.

Good news, it did worked. Capture d'écran 2024-10-30 001702 The process was faulty

Hundrec commented 3 weeks ago

Okay, that's strange. Hopefully nothing's wrong with the repository right now!

Try deleting everything and starting from scratch. Let us know how it goes.

embedded-p commented 3 weeks ago

Okay, that's strange. Hopefully nothing's wrong with the repository right now!

Try deleting everything and starting from scratch. Let us know how it goes.

Golly, i didn't expected that FNF source folder to be that large. Capture d'écran 2024-10-30 003220

Also:

This version of hxcpp (C:\Users\user\Documents\funker\Funkin.haxelib\hxcpp\git/) appears to be a source/developement version. Before this can be used, you need to:

  1. Rebuild the main command-line tool, this can be done with: cd tools/hxcpp haxe compile.hxml
  2. FOR HXCPP API < 330: Build the binaries appropriate to your system(s), this can be done with: cd project neko build.n

Would you like to do this now [y/n]y Compiling hxcpp tool... Initial setup complete.

Compiling group: lime cl.exe -Iinclude -Ilib/custom/cairo/src/ -Ilib/custom/cairo/configs/windows/ -Ilib/cairo/src/ -DLIME_CAIRO -DHAVE_CONFIG_H -DCAIRO_WIN32_STATIC_BUILD -DCAIRO_HAS_FT_FONT -Ilib/curl/include/ -DLIME_CURL -DCURL_STATICLIB -Ilib/efsw/include/ -DLIME_EFSW -Ilib/freetype/include -DLIME_FREETYPE -Ilib/harfbuzz/src -DLIME_HARFBUZZ -Ilib/hashlink/src -DLIBHL_EXPORTS -Ilib/custom/jpeg/ -Ilib/jpeg/ -DLIME_JPEG -Ilib/lzma/src -DLIME_LZMA -Ilib/custom/ogg/include/ -Ilib/ogg/include/ -Ilib/vorbis/include/ -DLIME_OGG -Ilib/openal/include/ -DLIME_OPENAL -DLIME_OPENALSOFT -DAL_LIBTYPE_STATIC=1 -DAL_ALEXT_PROTOTYPES -DLIME_OPENGL -Ilib/custom/png/ -Ilib/png/ -Ilib/zlib/ -DLIME_PNG -Ilib/sdl/include/ -Ilib/sdl/include/configs/windows/ -DHAVE_LIBC -DLIME_SDL -Ilib/tinyfiledialogs/ -DLIME_TINYFILEDIALOGS -Ilib/ogg/include/ -Ilib/vorbis/include/ -DLIME_VORBIS -DLIME_ZLIB -nologo /WX- /fp:precise -DHX_WINDOWS -GR -O2(optim-std) -Zi(debug) -FdC:\Users\Daniel\Documents\funker\Funkin.haxelib\lime\git\project\obj/msvc19/vc.pdb(debug) -Od(debug) -O2(release) -Os(optim-size) -FS -Oy- -c -EHs -GS- -arch:SSE2 -IC:/Users/Daniel/Documents/funker/Funkin/.haxelib/hxcpp/git/include -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_API_LEVEL=0(haxe) -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -wd4996 ... tags=[haxe,static]

  • src/ui/TextEvent.cpp
  • src/graphics/cairo/CairoBindings.cpp
  • src/text/harfbuzz/HarfbuzzBindings.cpp
  • src/system/ValuePointer.cpp
  • src/backend/sdl/SDLSystem.cpp
  • src/math/ColorMatrix.cpp
  • src/media/containers/WAV.cpp
  • src/ui/GamepadEvent.cpp
  • src/graphics/format/JPEG.cpp
  • src/backend/sdl/SDLKeyCode.cpp
  • src/media/codecs/vorbis/VorbisBindings.cpp Error: SDLSystem.cpp lib/hashlink/src\hl.h(158): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory

Error: GamepadEvent.cpp lib/hashlink/src\hl.h(158): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory

C:\Users\user\Documents\funker\Funkin> C:\Users\user\Documents\funker\Funkin>lime test windows Warning: Lime version may not be compatible with OpenFL openfl (expected version 7.7.0+) Use before to include a specific version Warning: Lime version may not be compatible with OpenFL 9.4.0 (expected version 7.7.0+) Use before to include a specific version source/Prebuild.hx:15: Building... source/funkin/util/macro/GitCommit.hx:28: Git Commit ID: c0b15ec source/funkin/util/macro/GitCommit.hx:105: Git Status Output: M project.hxp source/funkin/util/macro/GitCommit.hx:58: Git Branch Name: main source/funkin/ui/credits/CreditsDataMacro.hx:13: Hardcoding credits data... source/funkin/ui/credits/CreditsDataHandler.hx:39: CreditsData(33 entries containing 120 lines) WARNING C:/Users/Daniel/Documents/funker/Funkin/.haxelib/flixel-addons/git/flixel/addons/display/FlxExtendedMouseSprite.hx:552: characters 19-37

552 | x = Math.floor(FlxG.mouse.screenX + scrollFactor.x * (FlxG.mouse.x - FlxG.mouse.screenX)) - _dragOffsetX; | ^^^^^^^^^^^^^^^^^^ | (WDeprecated) screenX is deprecated, use viewX, instead

WARNING C:/Users/user/Documents/funker/Funkin/.haxelib/flixel-addons/git/flixel/addons/display/FlxExtendedMouseSprite.hx:552: characters 73-91

552 | x = Math.floor(FlxG.mouse.screenX + scrollFactor.x * (FlxG.mouse.x - FlxG.mouse.screenX)) - _dragOffsetX; | ^^^^^^^^^^^^^^^^^^ | (WDeprecated) screenX is deprecated, use viewX, instead

WARNING C:/Users/user/Documents/funker/Funkin/.haxelib/flixel-addons/git/flixel/addons/display/FlxExtendedMouseSprite.hx:559: characters 19-37

559 | y = Math.floor(FlxG.mouse.screenY + scrollFactor.y * (FlxG.mouse.y - FlxG.mouse.screenY)) - _dragOffsetY; | ^^^^^^^^^^^^^^^^^^ | (WDeprecated) screenY is deprecated, use viewY, instead

WARNING C:/Users/user/Documents/funker/Funkin/.haxelib/flixel-addons/git/flixel/addons/display/FlxExtendedMouseSprite.hx:559: characters 73-91

559 | y = Math.floor(FlxG.mouse.screenY + scrollFactor.y * (FlxG.mouse.y - FlxG.mouse.screenY)) - _dragOffsetY; | ^^^^^^^^^^^^^^^^^^ | (WDeprecated) screenY is deprecated, use viewY, instead

WARNING C:/Users/user/Documents/funker/Funkin/.haxelib/flixel-addons/git/flixel/addons/display/FlxExtendedMouseSprite.hx:660: characters 30-48

660 | _dragOffsetX = Math.floor(FlxG.mouse.screenX + scrollFactor.x * (FlxG.mouse.x - FlxG.mouse.screenX) - x); | ^^^^^^^^^^^^^^^^^^ | (WDeprecated) screenX is deprecated, use viewX, instead

WARNING C:/Users/user/Documents/funker/Funkin/.haxelib/flixel-addons/git/flixel/addons/display/FlxExtendedMouseSprite.hx:660: characters 84-102

660 | _dragOffsetX = Math.floor(FlxG.mouse.screenX + scrollFactor.x * (FlxG.mouse.x - FlxG.mouse.screenX) - x); | ^^^^^^^^^^^^^^^^^^ | (WDeprecated) screenX is deprecated, use viewX, instead

WARNING C:/Users/user/Documents/funker/Funkin/.haxelib/flixel-addons/git/flixel/addons/display/FlxExtendedMouseSprite.hx:661: characters 30-48

661 | _dragOffsetY = Math.floor(FlxG.mouse.screenY + scrollFactor.y * (FlxG.mouse.y - FlxG.mouse.screenY) - y); | ^^^^^^^^^^^^^^^^^^ | (WDeprecated) screenY is deprecated, use viewY, instead

WARNING C:/Users/user/Documents/funker/Funkin/.haxelib/flixel-addons/git/flixel/addons/display/FlxExtendedMouseSprite.hx:661: characters 84-102

661 | _dragOffsetY = Math.floor(FlxG.mouse.screenY + scrollFactor.y * (FlxG.mouse.y - FlxG.mouse.screenY) - y); | ^^^^^^^^^^^^^^^^^^ | (WDeprecated) screenY is deprecated, use viewY, instead

WARNING C:/Users/user/Documents/funker/Funkin/.haxelib/flixel-addons/git/flixel/addons/display/FlxExtendedMouseSprite.hx:831: characters 48-66

831 | return FlxMath.pointInCoordinates(Math.floor(FlxG.mouse.screenX + scrollFactor.x * (FlxG.mouse.x - FlxG.mouse.screenX)), | ^^^^^^^^^^^^^^^^^^ | (WDeprecated) screenX is deprecated, use viewX, instead

WARNING C:/Users/user/Documents/funker/Funkin/.haxelib/flixel-addons/git/flixel/addons/display/FlxExtendedMouseSprite.hx:831: characters 102-120

831 return FlxMath.pointInCoordinates(Math.floor(FlxG.mouse.screenX + scrollFactor.x * (FlxG.mouse.x - FlxG.mouse.screenX)),
            ^^^^^^^^^^^^^^^^^^
  | (WDeprecated) screenX is deprecated, use viewX, instead

WARNING C:/Users/user/Documents/funker/Funkin/.haxelib/flixel-addons/git/flixel/addons/display/FlxExtendedMouseSprite.hx:832: characters 15-33

832 | Math.floor(FlxG.mouse.screenY + scrollFactor.y * (FlxG.mouse.y - FlxG.mouse.screenY)), Math.floor(x), Math.floor(y), Math.floor(width), | ^^^^^^^^^^^^^^^^^^ | (WDeprecated) screenY is deprecated, use viewY, instead

WARNING C:/Users/user/Documents/funker/Funkin/.haxelib/flixel-addons/git/flixel/addons/display/FlxExtendedMouseSprite.hx:832: characters 69-87

832 | Math.floor(FlxG.mouse.screenY + scrollFactor.y * (FlxG.mouse.y - FlxG.mouse.screenY)), Math.floor(x), Math.floor(y), Math.floor(width), | ^^^^^^^^^^^^^^^^^^ | (WDeprecated) screenY is deprecated, use viewY, instead

WARNING C:/Users/user/Documents/funker/Funkin/.haxelib/flixel-addons/git/flixel/addons/effects/FlxTrail.hx:252: characters 3-46

252 | FlxArrayUtil.setLength(array, _trailLength); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) setLength is deprecated, use array.resize instead

WARNING C:/Users/user/Documents/funker/Funkin/.haxelib/flixel-text-input/git/flixel/addons/text/FlxTextInput.hx:95: characters 3-28

95 | pointer.getScreenPosition(camera, point); | ^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) getScreenPosition is deprecated, use getViewPosition, instead

WARNING C:/Users/user/Documents/funker/Funkin/.haxelib/flixel-addons/git/flixel/addons/transition/FlxTransitionSprite.hx:146: characters 3-27

146 | animation.finishCallback = onFinishAnim; | ^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) finishCallback is deprecated, use onFinish.add

WARNING C:/Users/user/Documents/funker/Funkin/.haxelib/flixel-addons/git/flixel/addons/ui/FlxSlider.hx:277: characters 17-45

277 | final mouse = FlxG.mouse.getScreenPosition(camera); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) getScreenPosition is deprecated, use getViewPosition, instead

WARNING C:/Users/Daniel/Documents/funker/Funkin/.haxelib/flixel-addons/git/flixel/addons/ui/FlxSlider.hx:296: characters 16-34

296 | handle.x = FlxG.mouse.screenX; | ^^^^^^^^^^^^^^^^^^ | (WDeprecated) screenX is deprecated, use viewX, instead

WARNING source/funkin/audio/FunkinSound.hx:46: characters 7-31

46 | FlxG.sound.volumeHandler = function(volume:Float) { | ^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) volumeHandler is deprecated, use onVolumeChange, instead

WARNING source/funkin/audio/FunkinSound.hx:465: characters 5-16

465 | sound.group = FlxG.sound.defaultSoundGroup; | ^^^^^^^^^^^ | (WDeprecated) sound.group = myGroup is deprecated, use myGroup.add(sound)

WARNING source/funkin/input/Controls.hx:478: characters 5-29

478 | FlxG.inputs.add(actions); | ^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) add is deprecated, use addUniqueType

WARNING source/funkin/input/Controls.hx:1469: characters 41-54

1469 | var pos:FlxPoint = new FlxPoint(touch.screenX, touch.screenY); | ^^^^^^^^^^^^^ | (WDeprecated) screenX is deprecated, use viewX, instead

WARNING source/funkin/input/Controls.hx:1469: characters 56-69

1469 | var pos:FlxPoint = new FlxPoint(touch.screenX, touch.screenY); | ^^^^^^^^^^^^^ | (WDeprecated) screenY is deprecated, use viewY, instead

WARNING source/funkin/input/Controls.hx:1470: characters 42-55

1470 | var pos2:FlxPoint = new FlxPoint(touch.screenX, touch.screenY); | ^^^^^^^^^^^^^ | (WDeprecated) screenX is deprecated, use viewX, instead

WARNING source/funkin/input/Controls.hx:1470: characters 57-70

1470 | var pos2:FlxPoint = new FlxPoint(touch.screenX, touch.screenY); | ^^^^^^^^^^^^^ | (WDeprecated) screenY is deprecated, use viewY, instead

WARNING source/funkin/input/Controls.hx:1488: characters 33-46

1488 | daSwipe.curTouchPos.set(touch.screenX, touch.screenY); | ^^^^^^^^^^^^^ | (WDeprecated) screenX is deprecated, use viewX, instead

WARNING source/funkin/input/Controls.hx:1488: characters 48-61

1488 | daSwipe.curTouchPos.set(touch.screenX, touch.screenY); | ^^^^^^^^^^^^^ | (WDeprecated) screenY is deprecated, use viewY, instead

WARNING source/funkin/input/Controls.hx:1490: characters 43-56

1490 | var dx = daSwipe.initTouchPos.x - touch.screenX; | ^^^^^^^^^^^^^ | (WDeprecated) screenX is deprecated, use viewX, instead

WARNING source/funkin/input/Controls.hx:1491: characters 43-56

1491 | var dy = daSwipe.initTouchPos.y - touch.screenY; | ^^^^^^^^^^^^^ | (WDeprecated) screenY is deprecated, use viewY, instead

WARNING source/funkin/ui/freeplay/FreeplayState.hx:958: characters 9-40

958 | sparks.animation.finishCallback = anim -> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) finishCallback is deprecated, use onFinish.add

WARNING source/funkin/ui/freeplay/FreeplayState.hx:1186: characters 24-69

1186 | FlxG.switchState(new funkin.ui.charSelect.CharSelectSubState()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) use MyState.new or ()->new MyState() instead of new MyState())

WARNING source/funkin/ui/freeplay/FreeplayState.hx:1452: characters 28-41

1452 | initTouchPos.set(touch.screenX, touch.screenY); | ^^^^^^^^^^^^^ | (WDeprecated) screenX is deprecated, use viewX, instead

WARNING source/funkin/ui/freeplay/FreeplayState.hx:1452: characters 43-56

1452 | initTouchPos.set(touch.screenX, touch.screenY); | ^^^^^^^^^^^^^ | (WDeprecated) screenY is deprecated, use viewY, instead

WARNING source/funkin/ui/freeplay/FreeplayState.hx:1456: characters 43-56

1456 | var dx:Float = initTouchPos.x - touch.screenX; | ^^^^^^^^^^^^^ | (WDeprecated) screenX is deprecated, use viewX, instead

WARNING source/funkin/ui/freeplay/FreeplayState.hx:1457: characters 43-56

1457 | var dy:Float = initTouchPos.y - touch.screenY; | ^^^^^^^^^^^^^ | (WDeprecated) screenY is deprecated, use viewY, instead

WARNING source/funkin/ui/freeplay/FreeplayState.hx:1474: characters 30-43

1474 | velTouch = Math.abs((touch.screenY - dyTouch)) / 50; | ^^^^^^^^^^^^^ | (WDeprecated) screenY is deprecated, use viewY, instead

WARNING source/funkin/ui/freeplay/FreeplayState.hx:1476: characters 19-32

1476 | dyTouch = touch.screenY - touchY; | ^^^^^^^^^^^^^ | (WDeprecated) screenY is deprecated, use viewY, instead

WARNING source/funkin/ui/freeplay/FreeplayState.hx:1477: characters 19-32

1477 | dxTouch = touch.screenX - touchX; | ^^^^^^^^^^^^^ | (WDeprecated) screenX is deprecated, use viewX, instead

WARNING source/funkin/ui/freeplay/FreeplayState.hx:1481: characters 20-33

1481 | touchY = touch.screenY; | ^^^^^^^^^^^^^ | (WDeprecated) screenY is deprecated, use viewY, instead

WARNING source/funkin/ui/freeplay/FreeplayState.hx:1485: characters 20-33

1485 | touchX = touch.screenX; | ^^^^^^^^^^^^^ | (WDeprecated) screenX is deprecated, use viewX, instead

WARNING source/funkin/ui/freeplay/FreeplayState.hx:1491: characters 20-33

1491 | touchX = touch.screenX; | ^^^^^^^^^^^^^ | (WDeprecated) screenX is deprecated, use viewX, instead

WARNING source/funkin/ui/freeplay/FreeplayState.hx:1497: characters 20-33

1497 | touchY = touch.screenY; | ^^^^^^^^^^^^^ | (WDeprecated) screenY is deprecated, use viewY, instead

WARNING source/funkin/ui/freeplay/AlbumRoll.hx:215: characters 5-40

215 | albumTitle.animation.finishCallback = (function(name) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) finishCallback is deprecated, use onFinish.add

WARNING source/funkin/ui/freeplay/FreeplayFlames.hx:32: characters 7-37

32 | flame.animation.finishCallback = function(_) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) finishCallback is deprecated, use onFinish.add

WARNING source/funkin/play/ResultState.hx:245: characters 13-47

245 | animation.animation.finishCallback = (_name:String) -> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) finishCallback is deprecated, use onFinish.add

WARNING source/funkin/play/ResultState.hx:315: characters 7-42

315 | scorePopin.animation.finishCallback = anim -> {}; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) finishCallback is deprecated, use onFinish.add

WARNING source/funkin/play/ResultState.hx:345: characters 9-46

345 | highscoreNew.animation.finishCallback = _ -> highscoreNew.animation.play("new", true, false, 16); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) finishCallback is deprecated, use onFinish.add

WARNING source/funkin/play/ResultState.hx:529: characters 7-44

529 | ratingsPopin.animation.finishCallback = anim -> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) finishCallback is deprecated, use onFinish.add

WARNING source/funkin/play/ResultState.hx:841: characters 34-45

841 | FlxG.switchState(targetState); | ^^^^^^^^^^^ | (WDeprecated) use MyState.new or ()->new MyState() instead of new MyState())

WARNING source/funkin/play/ResultState.hx:854: characters 28-39

854 | FlxG.switchState(targetState); | ^^^^^^^^^^^ | (WDeprecated) use MyState.new or ()->new MyState() instead of new MyState())

WARNING source/funkin/play/stage/Bopper.hx:112: characters 7-30

112 | this.animation.callback = this.onAnimationFrame; | ^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) callback is deprecated, use onFrameChange.add

WARNING source/funkin/play/stage/Bopper.hx:113: characters 7-36

113 | this.animation.finishCallback = this.onAnimationFinished; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) finishCallback is deprecated, use onFinish.add

WARNING source/funkin/play/components/ComboMilestone.hx:30: characters 5-41

30 | effectStuff.animation.finishCallback = function(nameThing) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) finishCallback is deprecated, use onFinish.add

WARNING source/funkin/play/components/HealthIcon.hx:213: characters 20-37

213 | this.angle = MathUtil.coolLerp(this.angle, 0, 0.15); | ^^^^^^^^^^^^^^^^^ | (WDeprecated) Use smoothLerp instead

WARNING source/funkin/play/components/HealthIcon.hx:231: characters 36-53

231 | var targetSize:Int = Std.int(MathUtil.coolLerp(this.width, HEALTH_ICON_SIZE * this.size.x, 0.15)); | ^^^^^^^^^^^^^^^^^ | (WDeprecated) Use smoothLerp instead

WARNING source/funkin/play/components/HealthIcon.hx:239: characters 36-53

239 | var targetSize:Int = Std.int(MathUtil.coolLerp(this.height, HEALTH_ICON_SIZE * this.size.y, 0.15)); | ^^^^^^^^^^^^^^^^^ | (WDeprecated) Use smoothLerp instead

WARNING source/funkin/play/cutscene/dialogue/DialogueBox.hx:250: characters 5-33

250 | boxSprite.animation.callback = this.onAnimationFrame; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) callback is deprecated, use onFrameChange.add

WARNING source/funkin/play/cutscene/dialogue/DialogueBox.hx:251: characters 5-39

251 | boxSprite.animation.finishCallback = this.onAnimationFinished; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) finishCallback is deprecated, use onFinish.add

WARNING source/funkin/play/notes/NoteHoldCover.hx:69: characters 5-34

69 | glow.animation.finishCallback = this.onAnimationFinished; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) finishCallback is deprecated, use onFinish.add

WARNING source/funkin/play/notes/NoteSplash.hx:30: characters 5-34

30 | this.animation.finishCallback = this.onAnimationFinished; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) finishCallback is deprecated, use onFinish.add

WARNING source/funkin/play/notes/StrumlineNote.hx:55: characters 5-28

55 | this.animation.callback = onAnimationFrame; | ^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) callback is deprecated, use onFrameChange.add

WARNING source/funkin/play/notes/StrumlineNote.hx:56: characters 5-34

56 | this.animation.finishCallback = onAnimationFinished; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) finishCallback is deprecated, use onFinish.add

WARNING source/funkin/ui/Alphabet.hx:224: characters 11-28

224 | y = MathUtil.coolLerp(y, (scaledY 120) + (FlxG.height 0.48), 0.16); | ^^^^^^^^^^^^^^^^^ | (WDeprecated) Use smoothLerp instead

WARNING source/funkin/ui/Alphabet.hx:225: characters 11-28

225 | x = MathUtil.coolLerp(x, (targetY * 20) + 90, 0.16); | ^^^^^^^^^^^^^^^^^ | (WDeprecated) Use smoothLerp instead

WARNING source/funkin/ui/MenuItem.hx:43: characters 9-26

43 | y = MathUtil.coolLerp(y, (targetY * 120) + 480, 0.17); | ^^^^^^^^^^^^^^^^^ | (WDeprecated) Use smoothLerp instead

WARNING source/funkin/ui/PixelatedIcon.hx:89: characters 7-36

89 | this.animation.finishCallback = function(name:String):Void { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) finishCallback is deprecated, use onFinish.add

WARNING source/funkin/ui/charSelect/CharSelectSubState.hx:676: lines 676-682

676 | FlxG.switchState(FreeplayState.build(

WARNING source/funkin/ui/charSelect/CharSelectSubState.hx:867: characters 9-46

867 | cursorDenied.animation.finishCallback = (_) -> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) finishCallback is deprecated, use onFinish.add

WARNING source/funkin/ui/charSelect/CharSelectSubState.hx:891: characters 20-37

891 | cursorBlue.x = MathUtil.coolLerp(cursorBlue.x, cursor.x, lerpAmnt * 0.4); | ^^^^^^^^^^^^^^^^^ | (WDeprecated) Use smoothLerp instead

WARNING source/funkin/ui/charSelect/CharSelectSubState.hx:892: characters 20-37

892 | cursorBlue.y = MathUtil.coolLerp(cursorBlue.y, cursor.y, lerpAmnt * 0.4); | ^^^^^^^^^^^^^^^^^ | (WDeprecated) Use smoothLerp instead

WARNING source/funkin/ui/charSelect/CharSelectSubState.hx:894: characters 24-41

894 | cursorDarkBlue.x = MathUtil.coolLerp(cursorDarkBlue.x, cursorLocIntended.x, lerpAmnt * 0.2); | ^^^^^^^^^^^^^^^^^ | (WDeprecated) Use smoothLerp instead

WARNING source/funkin/ui/charSelect/CharSelectSubState.hx:895: characters 24-41

895 | cursorDarkBlue.y = MathUtil.coolLerp(cursorDarkBlue.y, cursorLocIntended.y, lerpAmnt * 0.2); | ^^^^^^^^^^^^^^^^^ | (WDeprecated) Use smoothLerp instead

WARNING source/funkin/ui/charSelect/CharSelectSubState.hx:1031: characters 15-46

1031 | member.animation.finishCallback = (_) -> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) finishCallback is deprecated, use onFinish.add

WARNING source/funkin/ui/charSelect/CharSelectSubState.hx:1033: characters 17-48

1033 | member.animation.finishCallback = null; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) finishCallback is deprecated, use onFinish.add

WARNING source/funkin/ui/charSelect/CharacterUnlockState.hx:125: characters 24-33

125 | FlxG.switchState(nextState); | ^^^^^^^^^ | (WDeprecated) use MyState.new or ()->new MyState() instead of new MyState())

WARNING source/funkin/ui/debug/DebugMenuSubState.hx:110: characters 22-67

110 | FlxG.switchState(new funkin.ui.charSelect.CharSelectSubState()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) use MyState.new or ()->new MyState() instead of new MyState())

WARNING source/funkin/ui/debug/anim/DebugBoundingState.hx:78: characters 32-60

78 | var hudMousePos:FlxPoint = FlxG.mouse.getScreenPosition(hudCam ?? FlxG.camera); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) getScreenPosition is deprecated, use getViewPosition, instead

WARNING source/funkin/ui/debug/charting/handlers/ChartEditorDialogHandler.hx:1368: characters 39-57

1368 | if (handler.component.hitTest(FlxG.mouse.screenX, FlxG.mouse.screenY)) | ^^^^^^^^^^^^^^^^^^ | (WDeprecated) screenX is deprecated, use viewX, instead

WARNING source/funkin/ui/debug/charting/handlers/ChartEditorDialogHandler.hx:1368: characters 59-77

1368 | if (handler.component.hitTest(FlxG.mouse.screenX, FlxG.mouse.screenY)) | ^^^^^^^^^^^^^^^^^^ | (WDeprecated) screenY is deprecated, use viewY, instead

WARNING source/funkin/ui/debug/stageeditor/StageEditorState.hx:737: characters 17-45

737 | nameTxt.x = FlxG.mouse.getScreenPosition(camHUD).x; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) getScreenPosition is deprecated, use getViewPosition, instead

WARNING source/funkin/ui/debug/stageeditor/StageEditorState.hx:738: characters 17-45

738 | nameTxt.y = FlxG.mouse.getScreenPosition(camHUD).y - nameTxt.height; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) getScreenPosition is deprecated, use getViewPosition, instead

WARNING source/funkin/ui/debug/stageeditor/StageEditorState.hx:954: characters 55-73

954 | && !Screen.instance.hasSolidComponentUnderPoint(FlxG.mouse.screenX, FlxG.mouse.screenY) | ^^^^^^^^^^^^^^^^^^ | (WDeprecated) screenX is deprecated, use viewX, instead

WARNING source/funkin/ui/debug/stageeditor/StageEditorState.hx:954: characters 75-93

954 | && !Screen.instance.hasSolidComponentUnderPoint(FlxG.mouse.screenX, FlxG.mouse.screenY) | ^^^^^^^^^^^^^^^^^^ | (WDeprecated) screenY is deprecated, use viewY, instead

WARNING source/funkin/ui/debug/stageeditor/toolboxes/StageEditorObjectToolbox.hx:267: characters 9-39

267 | linkedObject.frames.framesHash.set("Frame" + i, linkedObject.frames.frames[i]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) framesHash is deprecated, use getByName() or exists()

WARNING source/funkin/ui/freeplay/CapsuleOptionsMenu.hx:54: characters 5-43

54 | capsuleMenuBG.animation.finishCallback = function(_) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) finishCallback is deprecated, use onFinish.add

WARNING source/funkin/ui/freeplay/CapsuleOptionsMenu.hx:105: characters 5-43

105 | capsuleMenuBG.animation.finishCallback = function(_) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) finishCallback is deprecated, use onFinish.add

WARNING source/funkin/ui/freeplay/SongMenuItem.hx:688: characters 11-28

688 | x = MathUtil.coolLerp(x, targetPos.x, 0.3); | ^^^^^^^^^^^^^^^^^ | (WDeprecated) Use smoothLerp instead

WARNING source/funkin/ui/freeplay/SongMenuItem.hx:689: characters 11-28

689 | y = MathUtil.coolLerp(y, targetPos.y, 0.4); | ^^^^^^^^^^^^^^^^^ | (WDeprecated) Use smoothLerp instead

WARNING source/funkin/ui/haxeui/components/CharacterPlayer.hx:104: characters 5-33

104 | character.animation.callback = function(name:String = '', frameNumber:Int = -1, frameIndex:Int = -1) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) callback is deprecated, use onFrameChange.add

WARNING source/funkin/ui/haxeui/components/CharacterPlayer.hx:109: characters 5-39

109 | character.animation.finishCallback = function(name:String = '') { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) finishCallback is deprecated, use onFinish.add

WARNING source/funkin/ui/options/FunkinSoundTray.hx:82: characters 9-26

82 | y = MathUtil.coolLerp(y, lerpYPos, 0.1); | ^^^^^^^^^^^^^^^^^ | (WDeprecated) Use smoothLerp instead

WARNING source/funkin/ui/options/FunkinSoundTray.hx:83: characters 13-30

83 | alpha = MathUtil.coolLerp(alpha, alphaTarget, 0.25); | ^^^^^^^^^^^^^^^^^ | (WDeprecated) Use smoothLerp instead

WARNING source/funkin/ui/story/LevelTitle.hx:52: characters 14-31

52 | this.y = MathUtil.coolLerp(y, targetY, 0.17); | ^^^^^^^^^^^^^^^^^ | (WDeprecated) Use smoothLerp instead

WARNING source/funkin/util/MouseUtil.hx:31: characters 23-41

31 | oldMousePos.set(FlxG.mouse.screenX, FlxG.mouse.screenY); | ^^^^^^^^^^^^^^^^^^ | (WDeprecated) screenX is deprecated, use viewX, instead

WARNING source/funkin/util/MouseUtil.hx:31: characters 43-61

31 | oldMousePos.set(FlxG.mouse.screenX, FlxG.mouse.screenY); | ^^^^^^^^^^^^^^^^^^ | (WDeprecated) screenY is deprecated, use viewY, instead

WARNING source/funkin/util/MouseUtil.hx:36: characters 33-51

36 | target.x = oldCamPos.x - (FlxG.mouse.screenX - oldMousePos.x); | ^^^^^^^^^^^^^^^^^^ | (WDeprecated) screenX is deprecated, use viewX, instead

WARNING source/funkin/util/MouseUtil.hx:37: characters 33-51

37 | target.y = oldCamPos.y - (FlxG.mouse.screenY - oldMousePos.y); | ^^^^^^^^^^^^^^^^^^ | (WDeprecated) screenY is deprecated, use viewY, instead

WARNING C:/Users/user/Documents/funker/Funkin/.haxelib/haxeui-flixel/git/haxe/ui/backend/flixel/components/SparrowPlayer.hx:172: characters 13-38

172 | if (sprite.animation.callback == null) { | ^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) callback is deprecated, use onFrameChange.add

WARNING C:/Users/user/Documents/funker/Funkin/.haxelib/haxeui-flixel/git/haxe/ui/backend/flixel/components/SparrowPlayer.hx:173: characters 13-38

173 | sprite.animation.callback = onFrame; | ^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) callback is deprecated, use onFrameChange.add

WARNING C:/Users/user/Documents/funker/Funkin/.haxelib/haxeui-flixel/git/haxe/ui/backend/flixel/components/SparrowPlayer.hx:175: characters 13-44

175 | if (sprite.animation.finishCallback == null) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) finishCallback is deprecated, use onFinish.add

WARNING C:/Users/user/Documents/funker/Funkin/.haxelib/haxeui-flixel/git/haxe/ui/backend/flixel/components/SparrowPlayer.hx:176: characters 13-44

176 | sprite.animation.finishCallback = onFinish; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | (WDeprecated) finishCallback is deprecated, use onFinish.add

Creating C:/Users/user/Documents/funker/Funkin/export/release/windows/obj/obj/msvc1964-nc/__pch/haxe/hxcpp.pch... hxcpp.cpp C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\include\yvals.h(20): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory Error: Could not create PCH

embedded-p commented 3 weeks ago

Why is the git submodule update --init --recursive is so damn lengthy? I no have patience to waste the time, i even did canceled the operation multiple times.

moxie-coder commented 3 weeks ago

Why is the git submodule update --init --recursive is so damn lengthy? I no have patience to waste the time, i even did canceled the operation multiple times.

there's a lot of assets it has to go through, it may depend on the speed of your internet but you gotta wait for it to finish, don't cancel it while it works, it'll get done eventually, you have to wait

embedded-p commented 3 weeks ago

Why is the git submodule update --init --recursive is so damn lengthy? I no have patience to waste the time, i even did canceled the operation multiple times.

there's a lot of assets it has to go through, it may depend on the speed of your internet but you gotta wait for it to finish, don't cancel it while it works, it'll get done eventually, you have to wait

Oh, so the patience is actually rewarding? Alright, i'd wait for it despite my monthly unlimited internet getting slower each day.

Hundrec commented 3 weeks ago

Funkin' has an increasingly large list of assets that can take a long time to download. Compiling can require a great deal of patience as well, as compiling version 0.3.3 on my laptop would initially take over 15 minutes to complete.

embedded-p commented 3 weeks ago

Go to the pull above for the solution.

feels like GitHub is turning into Stack Overflow, but it isn't supposed to be about the code?