angeldtf / fnf-newgroundsport Goto Github PK
View Code? Open in Web Editor NEWThis project forked from funkincrew/funkin
A port of Friday Night Funkin' v0.2.8 made by rebuilding the code via reverse engineering.
License: Apache License 2.0
This project forked from funkincrew/funkin
A port of Friday Night Funkin' v0.2.8 made by rebuilding the code via reverse engineering.
License: Apache License 2.0
While looking into your repo, I saw that you had a very weird FlxAnimate and FlxSymbol.
(I know this is kinda some sort of spam but)
I've been working on a repo with a guy called FlxAnimate which tries to support this.
Either way, the repo looks pretty good!
Really impressed
I don't know where to contact the creator of this source code, i wanna contact him to put this tutorial on the code page. But i decided to put this as a question so macOS guys can know what to do! Windows users get outa here!!!!!! But windows users, if your having problems while compiling, I think this can help.
Installing the Required Programs
First you need to install Haxe and HaxeFlixel. I'm too lazy to write and keep updated with that setup (which is pretty simple).
Install Haxe (If you're having issues installing libraries on latest, try using Haxe 4.1.5 instead)
Install HaxeFlixel after downloading Haxe
Other installations you'd need is the additional libraries, a fully updated list will be in Project.xml in the project root. Currently, these are all of the things you need to install:
flixel
flixel-addons
flixel-ui
hscript
So for each of those type haxelib install [library] so shit like haxelib install flixel
This is the most important part of this thing for MacOS USERS!!!!! and i think windows users. (I think this can work with latest versions of macOS devices)
You HAVE to install and older version of flixel!! Install flixel first THEN do this part! If your having a error saying (UpdateFragment Something Something) you may need to read this, Flixel 4.11.0 I think 5.0.0 and other versions fucks it up so 4.11.0 is recommend!! Copy And Paste the installation on the link, then go to Terminal/Visual Studio Code to install 4.11.0 and it may work! For Visual Studio Code you need to close the window or force quit or just quit so it can work, wait in a maybe 10 or 20 seconds.and open visual studio again then it will WORK!!!! If it still doesn't work then your probably doing it wrong
You'll also need to install a couple things that involve Gits. To do this, you need to do a few things first.
Download git-scm. Works for Windows, Mac, and Linux, just select your build.
Follow instructions to install the application properly.
Run haxelib git polymod https://github.com/larsiusprime/polymod.git to install Polymod.
Run haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc to install Discord RPC.
At the moment, you can optionally fix some bugs regarding the engine:
A transition bug in songs with zoomed out cameras
Run haxelib git flixel-addons https://github.com/HaxeFlixel/flixel-addons in the terminal/command-prompt.
A text rendering bug (mainly noticeable in the story menu under tracks)
Run haxelib git openfl https://github.com/openfl/openfl in the terminal/command-prompt.
You should have everything ready for compiling the game! Follow the guide below to continue!
Compiling game
Once you have all those installed, it's pretty easy to compile the game. You just need to run 'lime test html5 -debug' in the root of the project to build and run the HTML5 version. (command prompt navigation guide can be found here: https://ninjamuffin99.newgrounds.com/news/post/1090480)
To run it from your desktop (Windows, Mac, Linux) it can be a bit more involved. For Linux, you only need to open a terminal in the project directory and run 'lime test linux -debug' and then run the executable file in export/release/linux/bin. For MacOS you need to 'lime test mac -debug' on Visual Studio Code or Visual Studio(I use visual studio code so idk it will work for visual studio. For Windows, you need to install Visual Studio Build Tools (you'll need to scroll down a bit to find the download). While installing, don't click on any of the options to install workloads. Instead, go to the individual components tab and choose the following:
MSVC C++ x64/x86 build tools (Tested with MSVC v143 - VS 2022 C++ x64/x86 build tools (v14.33-17.3))
Windows SDK (Tested with Windows 10 SDK (10.0.19041.0))
This will install about 4GB of crap, but once that is done you can open up a command line in the project's directory and run lime test windows -debug. Once that command finishes (it takes forever, even on a higher end PC, For Me(MacOS) doesn't take that long but if you have a slow computer, it may take forever!), you can run FNF from the .exe file under export\release\windows\bin As for Mac, 'lime test mac' <---- If your done with the source code if your not done or its not working GO BACK UP!!!!!! you'll find your .app build on 'export/release/macos/bin' I think thats all you need to know! Any typos i did or any stuff that is blank, comment!!! other wise you may be probably compiling.
gfCutsceneLayer variable should be FlxGroup
because I test da Guns cutscene and the texture atlas animation frame rate is fast af well.
how do you properly open a prompt, like a prompt with yes/no questions, i tried opening a prompt with the ui files but buttons didnt display as sprites or something
Blank keys in the Newgrounds version shows 3 dashes on blank keys. For whatever reason, they don't in here, they're just blank instead.
Make download desktop build please I reset my pc and my all stuff is gone so
I fix about week7 on fnf newground port and i turn it into og engine https://github.com/Sanscode1937/OG-ENGINE
I will credit to you soon
Scrolling in Options > Preferences/Controls is not the exact same in the NG version, since I do not have the exact code, but close enough.
Can you add the animated actual cutscene like i do uhh like
When I enter lime test windows -debug
in the VSCode terminal, the game fails to properly compile. Every asset is in the export folder however no exe file is present. Terminal complains about ObjectType and ClassType not being found in the plugin front end, along with the controls and preferences hx files containing too many arguements.
While playing on the remastered version, i noticed that the notes move across the screen noticeably pretty choppy, especially compared to 0.2.8 and even your own legacy branch. Iโm not exactly sure where in source this issue would be located.
Notes move noticeably more choppy on remasterered branch as compared to the legacy branch and 0.2.8?
I found this comment on tank stage on ninjamuffin stream
// this goes after tankSky and before tankMoutains in stage file
// need to accomodate for the velocity thing!
can you just add it?
The game crashes when I run it
As the title says, going into a song, dying, and exiting the song does not reset the blue balled counter.
It replays after you press any accept button, if you spam enter fast enough you can go back to the main menu though
When compiling, it just crashes when I run it.
i recive this error when i try to port html5 test -debug
source/Controls.hx:480: characters 5-37 : Cannot access field or identifier inputID for writing
source/Controls.hx:490: characters 5-37 : Cannot access field or identifier inputID for writing
source/TitleState.hx:118: characters 3-8 : Unknown identifier : video
source/TitleState.hx:119: characters 3-8 : Unknown identifier : video
source/TitleState.hx:120: characters 3-8 : Unknown identifier : video
source/TitleState.hx:139: characters 3-12 : Unknown identifier : netStream
source/TitleState.hx:140: characters 3-12 : Unknown identifier : netStream
source/TitleState.hx:141: characters 33-40 : Unknown identifier : overlay
source/TitleState.hx:141: characters 33-40 : ... For function argument 'child'
When I download the source code, it downloads everything but many folders like source, example_mods and more
There is a library called hxCodec which supports both web and desktop targets.
We should probably switch to this instead of using the current video code.
#Cutscene
pleasseeee fix thattttt aAaAa
Due to the wacky ass way videos work in HaxeFlixel, cutscenes only work in the browser. This may be patched later with something that can play webm files on multiple platforms.
Upon opening the free play menu in v0.2.8, the screen is gray until the player is allowed to pick an option, then it goes into a bluish color as the first selected song is Tutorial. In the port, the screen just starts on the bluish color.
If you go into the preferences menu, check/uncheck a checkbox, and exit the menu with ESC before the animation plays, you get a Null Reference Error crash.
use https://lib.haxe.org/p/flxanimate/
instead of old version
I dont think youre gonna add it.. but ok
Uncaught TypeError: Cannot read properties of null (reading 'name')
I am making a engine called otaku engine and I want to use this as a base for my engine.
I will credit you (if you say yes), but if you say no I won't use it and I will make my own version
please and thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.