Swiftpack.co - RedECSEngine/starter-template as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by RedECSEngine.
RedECSEngine/starter-template 0.0.1
A starter template to clone and start your game from
⭐️ 1
🕓 1 year ago
iOS macOS
.package(url: "https://github.com/RedECSEngine/starter-template.git", from: "0.0.1")

RedECS Starter Template

A starter template to clone and start your game from

Instructions

This template is broken down into 3 modules:

  1. GameShared which contains all the game logic
  2. GameMetal which is an executable MacOS target. You can run this right from Xcode by selecting it as the scheme to run.
  3. GameWeb which is a Web exectable that needs building and launching via Carton
    • Run on web for development with $ carton dev --product GameWeb
    • You can still build this target in xcode to check for compilation errors, but it executes from command line with Carton

You will probably put most of your work in GameShared. Start by adjusting the MainReducer to work in your own game logic.

Notes

  • Currently both executables need their own copies of resources. Ideally this would be fixed in future with some build tooling for the engine.

GitHub

link
Stars: 1
Last commit: 1 year ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Dependencies

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics