Skip to content

Commit

Permalink
[ue] rename spine-ue4 to spine-ue
Browse files Browse the repository at this point in the history
  • Loading branch information
badlogic committed Apr 3, 2024
1 parent 08a46ff commit 06005bf
Show file tree
Hide file tree
Showing 110 changed files with 61 additions and 57 deletions.
28 changes: 14 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -118,19 +118,19 @@ spine-threejs/spine-js/spine.js

spine-ts/.vscode/*

spine-ue4/Binaries
spine-ue4/Intermediate
spine-ue4/Saved
spine-ue4/SpineUE4.xcworkspace
spine-ue4/Plugins/SpinePlugin/Source/SpinePlugin/Public/spine-c
spine-ue4/Plugins/SpinePlugin/Source/SpinePlugin/Public/spine-cpp
spine-ue4/Plugins/SpinePlugin/Binaries
spine-ue4/SpineUE4.VC.opendb
spine-ue4/SpineUE4.VC.db
spine-ue4/SpineUE4.sln
spine-ue4/SpineUE4.VC.db
spine-ue4/.vs/
spine-ue4/SpineUE4.VC.VC.opendb
spine-ue/Binaries
spine-ue/Intermediate
spine-ue/Saved
spine-ue/SpineUE4.xcworkspace
spine-ue/Plugins/SpinePlugin/Source/SpinePlugin/Public/spine-c
spine-ue/Plugins/SpinePlugin/Source/SpinePlugin/Public/spine-cpp
spine-ue/Plugins/SpinePlugin/Binaries
spine-ue/SpineUE4.VC.opendb
spine-ue/SpineUE4.VC.db
spine-ue/SpineUE4.sln
spine-ue/SpineUE4.VC.db
spine-ue/.vs/
spine-ue/SpineUE4.VC.VC.opendb

.gradle/
*.iml
Expand Down Expand Up @@ -197,6 +197,6 @@ spine-flutter/macos/Classes/spine-cpp
spine-flutter/src/spine-cpp
spine-godot/godot-nuget
spine-godot/godot-spine-csharp
spine-ue4/Plugins/Developer
spine-ue/Plugins/Developer
spine-haxe/export
spine-godot/example-v4-csharp/.godot
50 changes: 25 additions & 25 deletions examples/export/runtimes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -555,31 +555,31 @@ cp -f ../mix-and-match/export/mix-and-match-pro.skel "$ROOT/spine-haxe/example/a
cp -f ../mix-and-match/export/mix-and-match.atlas "$ROOT/spine-haxe/example/assets/"
cp -f ../mix-and-match/export/mix-and-match.png "$ROOT/spine-haxe/example/assets/"

echo "spine-ue4"
rm -f "$ROOT/spine-ue4/Content/GettingStarted/Assets/Raptor/raptor.json"
rm -f "$ROOT/spine-ue4/Content/GettingStarted/Assets/Raptor/raptor-pro.json"
rm -f "$ROOT/spine-ue4/Content/GettingStarted/Assets/Raptor/raptor.atlas"
rm -f "$ROOT/spine-ue4/Content/GettingStarted/Assets/Raptor/raptor.png"
rm -f "$ROOT/spine-ue4/Content/GettingStarted/Assets/Spineboy/spineboy.json"
rm -f "$ROOT/spine-ue4/Content/GettingStarted/Assets/Spineboy/spineboy-pro.json"
rm -f "$ROOT/spine-ue4/Content/GettingStarted/Assets/Spineboy/spineboy.atlas"
rm -f "$ROOT/spine-ue4/Content/GettingStarted/Assets/Spineboy/spineboy.png"
rm -f "$ROOT/spine-ue4/Content/GettingStarted/Assets/mix-and-match/mix-and-match-pro.skel"
rm -f "$ROOT/spine-ue4/Content/GettingStarted/Assets/mix-and-match/mix-and-match-pro-skeleton.skel"
rm -f "$ROOT/spine-ue4/Content/GettingStarted/Assets/mix-and-match/mix-and-match-pro.atlas"
rm -f "$ROOT/spine-ue4/Content/GettingStarted/Assets/mix-and-match/mix-and-match-pro.png"

cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-ue4/Content/GettingStarted/Assets/Raptor/raptor-pro.json"
cp -f ../raptor/export/raptor.atlas "$ROOT/spine-ue4/Content/GettingStarted/Assets/Raptor/"
cp -f ../raptor/export/raptor.png "$ROOT/spine-ue4/Content/GettingStarted/Assets/Raptor/"

cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-ue4/Content/GettingStarted/Assets/Spineboy/spineboy-pro.json"
cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-ue4/Content/GettingStarted/Assets/Spineboy/"
cp -f ../spineboy/export/spineboy.png "$ROOT/spine-ue4/Content/GettingStarted/Assets/Spineboy/"

cp -f ../mix-and-match/export/mix-and-match.png "$ROOT/spine-ue4/Content/GettingStarted/Assets/mix-and-match/mix-and-match.png"
cp -f ../mix-and-match/export/mix-and-match.atlas "$ROOT/spine-ue4/Content/GettingStarted/Assets/mix-and-match/mix-and-match.atlas"
cp -f ../mix-and-match/export/mix-and-match-pro.skel "$ROOT/spine-ue4/Content/GettingStarted/Assets/mix-and-match/mix-and-match-pro.skel"
echo "spine-ue"
rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/Raptor/raptor.json"
rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/Raptor/raptor-pro.json"
rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/Raptor/raptor.atlas"
rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/Raptor/raptor.png"
rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/Spineboy/spineboy.json"
rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/Spineboy/spineboy-pro.json"
rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/Spineboy/spineboy.atlas"
rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/Spineboy/spineboy.png"
rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/mix-and-match/mix-and-match-pro.skel"
rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/mix-and-match/mix-and-match-pro-skeleton.skel"
rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/mix-and-match/mix-and-match-pro.atlas"
rm -f "$ROOT/spine-ue/Content/GettingStarted/Assets/mix-and-match/mix-and-match-pro.png"

cp -f ../raptor/export/raptor-pro.json "$ROOT/spine-ue/Content/GettingStarted/Assets/Raptor/raptor-pro.json"
cp -f ../raptor/export/raptor.atlas "$ROOT/spine-ue/Content/GettingStarted/Assets/Raptor/"
cp -f ../raptor/export/raptor.png "$ROOT/spine-ue/Content/GettingStarted/Assets/Raptor/"

cp -f ../spineboy/export/spineboy-pro.json "$ROOT/spine-ue/Content/GettingStarted/Assets/Spineboy/spineboy-pro.json"
cp -f ../spineboy/export/spineboy.atlas "$ROOT/spine-ue/Content/GettingStarted/Assets/Spineboy/"
cp -f ../spineboy/export/spineboy.png "$ROOT/spine-ue/Content/GettingStarted/Assets/Spineboy/"

cp -f ../mix-and-match/export/mix-and-match.png "$ROOT/spine-ue/Content/GettingStarted/Assets/mix-and-match/mix-and-match.png"
cp -f ../mix-and-match/export/mix-and-match.atlas "$ROOT/spine-ue/Content/GettingStarted/Assets/mix-and-match/mix-and-match.atlas"
cp -f ../mix-and-match/export/mix-and-match-pro.skel "$ROOT/spine-ue/Content/GettingStarted/Assets/mix-and-match/mix-and-match-pro.skel"

echo "spine-unity"

Expand Down
14 changes: 7 additions & 7 deletions formatters/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,22 @@ spotless {
}

cpp {
target 'spine-c/**/*.c',
target 'spine-c/**/*.c',
'spine-c/**/.h',
'spine-cpp/**/*.cpp',
'spine-cpp/**/*.cpp',
'spine-cpp/**/.h',
'spine-cocos2dx/src/**/*.cpp',
'spine-cocos2dx/src/**/*.h',
'spine-cocos2dx/example/Classes/**/*.cpp',
'spine-cocos2dx/src/**/*.cpp',
'spine-cocos2dx/src/**/*.h',
'spine-cocos2dx/example/Classes/**/*.cpp',
'spine-cocos2dx/example/Classes/**/*.h',
'spine-sdl/**/*.c',
'spine-sdl/**/*.cpp',
'spine-sdl/**/*.h',
'spine-sfml/**/*.c',
'spine-sfml/**/*.cpp',
'spine-sfml/**/*.h',
'spine-ue4/**/*.cpp',
'spine-ue4/**/*.h',
'spine-ue/**/*.cpp',
'spine-ue/**/*.h',
'spine-godot/spine_godot/*.cpp',
'spine-godot/spine_godot/*.h',
'spine-flutter/src/spine_flutter.cpp',
Expand Down
3 changes: 2 additions & 1 deletion spine-cpp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ spine-cpp supports all spine features.
2. Copy the contents of the `spine-cpp/spine-cpp/src` and `spine-cpp/spine-cpp/include` directories into your project. Be sure your header search is configured to find the contents of the `spine-cpp/spine-cpp/include` directory. Note that the includes use `spine/Xxx.h`, so the `spine` directory cannot be omitted when copying the files.

## Usage

### [Please see the spine-cpp guide for full documentation](http://esotericsoftware.com/spine-cpp)

## Extension
Expand Down Expand Up @@ -51,4 +52,4 @@ class MyTextureLoader : public spine::TextureLoader

- [spine-sfml](../spine-sfml/cpp)
- [spine-cocos2dx](../spine-cocos2dx)
- [spine-ue4](../spine-ue4)
- [spine-ue](../spine-ue)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
21 changes: 12 additions & 9 deletions spine-ue4/README.md → spine-ue/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# spine-ue4
The spine-ue4 runtime provides functionality to load, manipulate and render [Spine](http://esotericsoftware.com) skeletal animation data using [Unreal Engine 4.27-5.2](https://www.unrealengine.com/). spine-ue4 is based on [spine-cpp](../spine-cpp).
# spine-ue

The spine-ue runtime provides functionality to load, manipulate and render [Spine](http://esotericsoftware.com) skeletal animation data using [Unreal Engine 4.27-5.3](https://www.unrealengine.com/). spine-ue is based on [spine-cpp](../spine-cpp).

## Licensing

Expand All @@ -13,28 +14,30 @@ For the official legal terms governing the Spine Runtimes, please read the [Spin

## Spine version

spine-ue4 works with data exported from Spine 4.1.xx.
spine-ue works with data exported from Spine 4.1.xx.

spine-ue4 supports all Spine features.
spine-ue supports all Spine features.

spine-ue4 does not support multiply and screen blending. spine-ue4 does not support pre-multiplied alpha atlases. spine-ue4 does not support two color tinting.
spine-ue does not support multiply and screen blending. spine-ue does not support pre-multiplied alpha atlases. spine-ue does not support two color tinting.

## Usage
### [Please see the spine-ue4 guide for full documentation](http://esotericsoftware.com/spine-ue4)

### [Please see the spine-ue guide for full documentation](http://esotericsoftware.com/spine-ue)

1. Create a new Unreal Engine code project. You don't need to write C++, but the code project is needed for the plugin to compile. See the [Unreal Engine documentation](https://docs.unrealengine.com/latest/INT/) or have a look at the example in this repository.
2. Download the Spine Runtimes source using git (`git clone https://github.com/esotericsoftware/spine-runtimes`) or download it as a zip via the download button above.
3. Copy the `Plugins` folder from this directory to your new project's root directory.
4. Copy the folder `spine-runtimes/spine-cpp/spine-cpp` to your project's `Plugins/SpinePlugin/Source/SpinePlugin/Public/` folder.
5. Add `SpinePlugin` to `PublicDependencyModuleNames` in your project's `Build.cs` file.
5. Open the Unreal Project in the Unreal Editor
6. Open the Unreal Project in the Unreal Editor

See the [Spine Runtimes documentation](http://esotericsoftware.com/spine-documentation#runtimesTitle) on how to use the APIs or check out the Spine UE4 example.

## Example
### [Please see the spine-ue4 guide for full documentation](http://esotericsoftware.com/spine-ue4)

The Spine UE4 example works on all platforms supported by Unreal Engine. The samples require Unreal Engine 4.27-5.2.
### [Please see the spine-ue guide for full documentation](http://esotericsoftware.com/spine-ue)

The Spine UE4 example works on all platforms supported by Unreal Engine. The samples require Unreal Engine 4.27-5.3.

1. Copy the `spine-cpp` folder from this repositories root directory to your `Plugins/SpinePlugin/Sources/SpinePlugin/Public/` directory. You can run the `setup.bat` or `setup.sh` scripts to accomplish this.
2. Open the SpineUE4.uproject file with Unreal Editor
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion spine-ue4/setup.bat → spine-ue/setup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ xcopy /E /I ..\spine-cpp\spine-cpp Plugins\SpinePlugin\Source\SpinePlugin\Public
goto done

:error
@echo Couldn^'t setup spine-ue4
@echo Couldn^'t setup spine-ue

:done
File renamed without changes.

0 comments on commit 06005bf

Please sign in to comment.