Skip to content

Instantly share code, notes, and snippets.

@JOELwindows7
Created October 11, 2021 13:01
Show Gist options
  • Save JOELwindows7/ba79db473ab5e4765293fb19c62240cb to your computer and use it in GitHub Desktop.
Save JOELwindows7/ba79db473ab5e4765293fb19c62240cb to your computer and use it in GitHub Desktop.
GameJolt keys template for HaxeFlixel Friday Night Funkin
// JOELwindows7: from https://github.com/TentaRJ/GameJolt-FNF-Integration
// Yeah uh, don't share the live GameJolt key publicly pls. you must gitignore it
// and you might wanna manually upload instead with your private GameJolt keys compiled if you insist.
package;
class GJKeys
{
public static var id:Int = 0; // Put your game's ID here
public static var key:String = ""; // Put your game's private API key here
}
@JOELwindows7
Copy link
Author

JOELwindows7 commented Oct 11, 2021

Correction! name the file GJKeys.hx

The filename should be GJKeys.hx instead of same but with k. watch capital K! it must be BIG UPPERCASE K not small lowercase k.

@JOELwindows7
Copy link
Author

JOELwindows7 commented Oct 11, 2021

CI tips

Put the GameJolt private keys in your CI setting, NOT THE CI yml CONFIG FILE!!!. make it so that it edits the GJKeys.hx to fill those keys into each variable respectively.

You may instead put the entire code into the setting (NOT THE CI yml CONFIG FILE!!!) including the private key. Then make the CI Touch (make new empty file named GJKeys.hx) & write the codes into it.

Remember, NEVER PRINT OR DISPLAY THE PRIVATE KEYS PUBLICLY!!!

Never echo, cat, or anything that makes those keys shown into the terminal transcript!!! Even luckily you have reset keys in GameJolt, other game hosting may not have such.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment