Merge pull request #1504 from gedehari/patch-1
Allows offsets to be loaded outside "shared" library
This commit is contained in:
commit
20ceb29c77
10
CONTRIBUTING.md
Normal file
10
CONTRIBUTING.md
Normal file
@ -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?
|
@ -6,6 +6,9 @@
|
|||||||
      
|
      
|
||||||
|
|
||||||
# Friday Night Funkin': Kade Engine
|
# 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'
|
||||||
**Friday Night Funkin'** is a rhythm game originally made for Ludum Dare 47 "Stuck In a Loop".
|
**Friday Night Funkin'** is a rhythm game originally made for Ludum Dare 47 "Stuck In a Loop".
|
||||||
|
|
||||||
@ -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)
|
- [The contributors](https://github.com/KadeDev/Kade-Engine/graphs/contributors)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Shoutouts
|
### Shoutouts
|
||||||
- [GWebDev](https://github.com/GrowtopiaFli) - Video Code
|
- [GWebDev](https://github.com/GrowtopiaFli) - Video Code
|
||||||
- [Rozebud](https://github.com/ThatRozebudDude) - Ideas (that I stole)
|
- [Rozebud](https://github.com/ThatRozebudDude) - Ideas (that I stole)
|
||||||
|
@ -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)
|
for (i in 0...offset.length)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user