fenix-hub / RadioNet

A simple Internet Radio Player made with Godot Engine and C# for a working project
MIT License
8 stars 3 forks source link

Implement a "Record" option #6

Open fenix-hub opened 3 years ago

fenix-hub commented 3 years ago

Implement a button (or a set of buttons) which would let users record fragments of a streaming and save them in a user selected folder.

jonhenshaw commented 3 years ago

Hey man, I can work on this

fenix-hub commented 3 years ago

Thank you, have fun!

jonhenshaw commented 3 years ago

I'm having a hard time getting RadioNet running. I don't have any prior experience with Godot. Would you be able to help me out with setup?

fenix-hub commented 3 years ago

Hi @Jon309 , To run the project in Godot Engine you need to: 1) Download Godot Engine's latest MONO version from the official site. Choose your platform (Linux, Windows, macOS) and then download the relative Mono version (C# support) 2) Once downloaded, clone this repository as a .zip archive. 3) Open Godot Engine and once in the main view, use the button on the right pane "Import" to import the project. You can directly import a zip file, which will be this cloned repository 4) Open the project once imported, and you will be able to edit it. 5) To access the C# scripts, just open them in Visual Studio or your IDE at choice. You could also set the default c# editor within Godot project settings: 5.1) Open the project and in the top bar go to Editor -> Editor Settings -> Text Editor -> External. 5.2) Set your preferred external editor

Note that even though Godot Engine has a built in script editor, it is not able to let you write easily C# scripts, so an external editor must be used anyway. To run and test the project, just press F5. Programming with godot engine in c# should be as easy as any other engine (I suppose). Godot C# scripts just import the Godot library with built in functions like _ready() which is related to the first instance of an actual script, and _process which is the main loop.

if you have any other question just ask, but I'd recommend you to follow some tutorials on youtube/articles since it is much more easier to understand how to program c# in Godot.