From 3827a46c8cc780c875c90a9d86b7b2fe0b29c793 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Fri, 1 May 2026 08:32:02 +1000 Subject: [PATCH] Swapped game name --- README.md | 6 ++++-- makefile | 18 +++++++++--------- source/makefile | 4 ++-- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 3913af3..850a310 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,11 @@ -# Pactoy +# VampireToyvivors A test game for The Toy Programming Langauge. Requires raylib and Toy by default. See https://toylang.com/ for details. +Note: Vampire Survivors is a simple design, so it makes sense to test Toy with it - this project isn't intended for retail. + ## Raylib for RPi ```bash @@ -14,4 +16,4 @@ cd build && sudo make install ## Asset Sources -https://www.spriters-resource.com/arcade/pacman/asset/52631/ \ No newline at end of file +https://www.spriters-resource.com/arcade/pacman/asset/52631/ diff --git a/makefile b/makefile index 86ef179..0d4c8b4 100644 --- a/makefile +++ b/makefile @@ -5,29 +5,29 @@ #LDFLAGS+= #directories -export PAC_SOURCEDIR=source -export PAC_OUTDIR=out -export PAC_OBJDIR=obj +export GAME_SOURCEDIR=source +export GAME_OUTDIR=out +export GAME_OBJDIR=obj #Override Toy's build destination export TOY_SOURCEDIR=Toy/source -export TOY_OUTDIR=../$(PAC_OUTDIR) -export TOY_OBJDIR=$(PAC_OBJDIR) +export TOY_OUTDIR=../$(GAME_OUTDIR) +export TOY_OBJDIR=$(GAME_OBJDIR) #targets -all: $(PAC_OUTDIR) Toy source +all: $(GAME_OUTDIR) Toy source .PHONY: source source: - $(MAKE) -C $(PAC_SOURCEDIR) + $(MAKE) -C $(GAME_SOURCEDIR) .PHONY: Toy Toy: $(MAKE) -C $(TOY_SOURCEDIR) #util targets -$(PAC_OUTDIR): - mkdir $(PAC_OUTDIR) +$(GAME_OUTDIR): + mkdir $(GAME_OUTDIR) #util commands .PHONY: clean diff --git a/source/makefile b/source/makefile index 60dfb13..b8fe474 100644 --- a/source/makefile +++ b/source/makefile @@ -13,13 +13,13 @@ REPL_ROOTDIR=.. REPL_REPLDIR=. REPL_SOURCEDIR=$(REPL_ROOTDIR)/$(TOY_SOURCEDIR) -REPL_OUTDIR=$(REPL_ROOTDIR)/$(PAC_OUTDIR) +REPL_OUTDIR=$(REPL_ROOTDIR)/$(GAME_OUTDIR) REPL_OBJDIR=$(TOY_OBJDIR) #file names REPL_REPLFILES=$(wildcard $(REPL_REPLDIR)/*.c) REPL_OBJFILES=$(addprefix $(REPL_OBJDIR)/,$(notdir $(REPL_REPLFILES:.c=.o))) -REPL_TARGETNAME=pactoy +REPL_TARGETNAME=vampires #file extensions ifeq ($(OS),Windows_NT)