A very early-stage release of CodeSpells. Features are, as yet, minimal (compared to what you may have seen on the YouTube channel and blog). Only works on Windows, for now.
raco pkg install https://github.com/srfoster/codespells.git
Make a directory of your choice. I call mine CodeSpellsWorkspace
.
Put the following in a file called main.rkt
.
#lang codespells
(once-upon-a-time
#:world (demo-world)
#:aether (demo-aether))
Run: racket main.rkt
This should download the demo world, unzip it, run it, and start the spell server.
If it works, you should be able to run around on a small platform. Pressing C
should open a spellcrafting surface where you can write one spell: (teleport)
If all that works, either:
Suppose we want a mod called my-mod
raco codespells my-mod
Now open my-mod/main.rkt
in DrRacket or an editor of your choice. You'll see that the following code was generated for you:
#lang codespells
(define-classic-rune (hello)
#:background "blue"
#:foreground (circle 40 'solid 'blue)
(spawn-this-mod-blueprint "HelloWorld"))
(define-classic-rune-lang my-mod-lang
(hello))
(module+ main
(codespells-workspace ;TODO: Change this to your local workspace if different
(build-path (current-directory) ".." "CodeSpellsWorkspace"))
(once-upon-a-time
#:world (demo-world)
#:aether (demo-aether
#:lang (my-mod-lang #:with-paren-runes? #t))))
This is some minimal code that takes care of some of the details of setting up a mod for you:
hello
hello
hello
Rune, and provides ithello
in this file(module+ main ...)
code so you can test your mod prior to releasing it.hello
Rune.It defaults to being a Rune that spawns an Unreal Blueprint called HelloWorld
packaged with this mod.
All you need to do now is:
my-mod/Unreal/MyMod/MyMod.uproject
in UnrealHelloWorld
in the MyMod
Plugin Content folderFile > Package Project > Windows (64-bit)
Now run main.rkt
and you should get a demo world with a modded Aether containing you Rune. Casting the spell (hello)
should spawn your HelloWorld
blueprint!
You should be able to push your mod to github for others to install.
Installing a Mod is as simple as requiring a Racket package and altering your Aether prior to launching the game:
https://github.com/srfoster/codespells/wiki/Mod-Installation-and-Mod-Basics
More documentation/tutorials about
(hello)
)RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4