Skip to content

Commit

Permalink
Update Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lunarcleint committed Aug 23, 2022
1 parent c736927 commit addd136
Show file tree
Hide file tree
Showing 23 changed files with 25 additions and 45 deletions.
64 changes: 25 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
## Friday Night Funkin' - Wednesday's Infidelity [PART 2]

The GitHub repository for Wednesday's Infidelity Part 2.

## Friday Night Funkin' - Wednesday's Infidelity
For info on usage rights, please read the [license](https://github.com/lunarcleint/Wednesdays-Infidelity-PART-2/blob/master/LICENSE)!

![](art/wilogo.png)

### Credits:

Add these later
![](art/promoart.png)

## Documenation
- [Building the game](#building-instructions)
- [Debug Features](#debug-features)
- [Sprite sheet formats](#data-formats)

### Building Instructions:
Expand All @@ -29,6 +23,17 @@ haxelib install hxCodec
```
These libraries are needed and your game will **NOT** build without them!

## Debug Features

With the tag `<define name="PRIVATE_BUILD"/> ` in the [Project.xml](https://github.com/lunarcleint/Wednesdays-Infidelity/blob/master/Project.xml), you unlock these debug features...
- Press 3 to pause the game no matter what
- Press T on the main menu to 100% the game
- Always allowed to delete your progress even if you just reset
- Able to skip ANY cutscene/video playing
- Automatticly hides Discord RPC
- Able to toggle botplay
- Able to skip the intro

## Data Formats

W.I Supports four built in data types:
Expand All @@ -37,46 +42,27 @@ W.I Supports four built in data types:
- Packer (Week 6 TXT Format)
- Json Format (HASH and Array Supported)

These are layed out in the enum [Data Type](https://github.com/lunarcleint/Wednesdays-Infidelity/blob/master/source/data/DataType.hx)
```haxe
enum DataType
{
GENERICXML;
SPARROW;
PACKER;
JSON;
}
```
[Paths](https://github.com/lunarcleint/Wednesdays-Infidelity/blob/master/source/util/Paths.hx) has a easy function to get frames based on a [Data Type](https://github.com/lunarcleint/Wednesdays-Infidelity/blob/master/source/data/DataType.hx) value. [getAtlasFromData(key:String, data:DataType, ?library:String)](https://github.com/lunarcleint/Wednesdays-Infidelity/blob/master/source/util/Paths.hx#L342).

Also [Character.hx](https://github.com/lunarcleint/Wednesdays-Infidelity/blob/master/source/gameObjects/Character.hx) has a data type paramter that can easily be edited.

![](art/DataTypes.png)

**NOTE**
- You have to click reload image for the data type to update
- Sometimes it will crash when you do that so you should just add to to the Json
![](art/docs/DataTypes.png)

### Creating Sprite Sheets
**NOTE:**
You have to click reload image for the data type to update
Sometimes it will crash when you do that so you should just add to to the Json

**NOTE**
- **THIS IS FOR SCALING SPRITE SHEETS**
### Scaling Sprite Sheets

Download [Free Texture Packer](http://free-tex-packer.com/) and Install it.

Now you want to export your adobe animate animations as a PNG Sequence.
![](art/adobe.png)

**NOTE**
- **MAKE SURE YOUR DPI IS 72 (THE DEFAUT)**

![](art/expr.png)

Then put all of it into [Free Texture Packer](http://free-tex-packer.com/) with these settings:
Now you want to export your adobe animate animations as a PNG Sequence, **make sure your DPI is 72**.
![](art/docs/adobe.png)

![](art/setting.png)
![](art/docs/expr.png)

and click `Export`!
Then put all of it into [Free Texture Packer](http://free-tex-packer.com/) with these settings (you can change these to your liking):

That's it now you can scale you sprite sheet to any scale you want!
![](art/docs/setting.png)

After you've made the sprite sheet look good, export the sprite sheet.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file removed art/flashFiles/DADDY_DEAREST.fla
Binary file not shown.
Binary file removed art/flashFiles/FNF_main_menu_assets.fla
Binary file not shown.
Binary file removed art/flashFiles/HURTNOTE_assets.fla
Binary file not shown.
Binary file removed art/flashFiles/HURTNOTE_splashes.fla
Binary file not shown.
Binary file removed art/flashFiles/NOTE_splashes.fla
Binary file not shown.
Binary file removed art/flashFiles/RECOVER_HURTNOTE_splashes.fla
Binary file not shown.
Binary file removed art/flashFiles/RECOVER_prompt.fla
Binary file not shown.
Binary file removed art/flashFiles/alphabet.fla
Binary file not shown.
Binary file removed art/flashFiles/chart editor stuffs.fla
Binary file not shown.
Binary file removed art/flashFiles/dialogueStuff.fla
Binary file not shown.
Binary file removed art/flashFiles/emptyAchievement.png
Binary file not shown.
Binary file removed art/flashFiles/prompt.fla
Binary file not shown.
Binary file removed art/flashFiles/psychalogue.fla
Binary file not shown.
Binary file removed art/flashFiles/ui.fla
Binary file not shown.
Binary file added art/promoart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added art/promoartlogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 0 additions & 6 deletions package-lock.json

This file was deleted.

0 comments on commit addd136

Please sign in to comment.