Skip to content

Commit

Permalink
Merge pull request KadeArchive#1504 from gedehari/patch-1
Browse files Browse the repository at this point in the history
Allows offsets to be loaded outside "shared" library
  • Loading branch information
Kade-github authored Aug 1, 2021
2 parents b125642 + f7d8acc commit 20ceb29
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
10 changes: 10 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# More Information on Contributing to Kade Engine

## Branches
`stable` is the repository's main branch, so people can clone a stable Kade Engine to work on their mods. However, this means that Pull Requests will default to merge into
`stable` instead of `master`.

### If your pull request changes the engine, it merges into MASTER.
### If your pull request changes the website, it merges into STABLE.

This really took this long to document. Why?
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/KadeDev/Kade-Engine/latest) ![GitHub repo size](https://img.shields.io/github/repo-size/KadeDev/Kade-Engine) ![Lines of code](https://img.shields.io/tokei/lines/github/KadeDev/Kade-Engine) ![Supported platforms](https://img.shields.io/badge/supported%20platforms-windows%2C%20macOS%2C%20linux%2C%20html5-blue) ![GitHub all releases](https://img.shields.io/github/downloads/KadeDev/Kade-Engine/total) ![GitHub](https://img.shields.io/github/license/KadeDev/Kade-Engine) ![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/KadeDev/Kade-Engine?include_prereleases&label=latest%20version)

# Friday Night Funkin': Kade Engine

### If you want to contribute to Kade Engine, read [this](https://github.com/KadeDev/Kade-Engine/blob/stable/CONTRIBUTING.md) first.

## Friday Night Funkin'
**Friday Night Funkin'** is a rhythm game originally made for Ludum Dare 47 "Stuck In a Loop".

Expand Down Expand Up @@ -71,6 +74,7 @@ This game was made with love to Newgrounds and its community. Extra love to Tom
- [The contributors](https://github.com/KadeDev/Kade-Engine/graphs/contributors)



### Shoutouts
- [GWebDev](https://github.com/GrowtopiaFli) - Video Code
- [Rozebud](https://github.com/ThatRozebudDude) - Ideas (that I stole)
Expand Down
4 changes: 2 additions & 2 deletions source/Character.hx
Original file line number Diff line number Diff line change
Expand Up @@ -408,9 +408,9 @@ class Character extends FlxSprite
}
}

public function loadOffsetFile(character:String)
public function loadOffsetFile(character:String, library:String = 'shared')
{
var offset:Array<String> = CoolUtil.coolTextFile(Paths.txt('images/characters/' + character + "Offsets", 'shared'));
var offset:Array<String> = CoolUtil.coolTextFile(Paths.txt('images/characters/' + character + "Offsets", library));

for (i in 0...offset.length)
{
Expand Down

0 comments on commit 20ceb29

Please sign in to comment.