-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup-repository.sh
More file actions
88 lines (71 loc) · 2.44 KB
/
setup-repository.sh
File metadata and controls
88 lines (71 loc) · 2.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#!/bin/bash
# setup-repository.sh - Automated setup script for Russian Roulette repository
echo "Setting up Russian Roulette Game Development Repository..."
# Create directory structure
echo "Creating folder structure..."
mkdir -p scenes/UI
mkdir -p scripts/{singletons,player,ai,items,weapons,ui}
mkdir -p assets/{audio/{sfx,music},textures/{ui,items,backgrounds},fonts}
# Create placeholder files for assets
echo "Creating asset placeholder files..."
touch assets/audio/sfx/.gitkeep
touch assets/audio/music/.gitkeep
touch assets/textures/ui/.gitkeep
touch assets/textures/items/.gitkeep
touch assets/textures/backgrounds/.gitkeep
touch assets/fonts/.gitkeep
# Move template scripts to appropriate locations
echo "Setting up template scripts..."
# Core singletons
if [ -f "GameManager-template.gd" ]; then
cp "GameManager-template.gd" "scripts/singletons/GameManager.gd"
fi
# Player controller
if [ -f "PlayerController-template.gd" ]; then
cp "PlayerController-template.gd" "scripts/player/PlayerController.gd"
fi
# AI system
if [ -f "DealerAI-template.gd" ]; then
cp "DealerAI-template.gd" "scripts/ai/DealerAI.gd"
fi
# UI system
if [ -f "UIManager-template.gd" ]; then
cp "UIManager-template.gd" "scripts/ui/UIManager.gd"
fi
# Weapons
if [ -f "Shotgun-template.gd" ]; then
cp "Shotgun-template.gd" "scripts/weapons/Shotgun.gd"
fi
# Items system
if [ -f "Item-base-template.gd" ]; then
cp "Item-base-template.gd" "scripts/items/Item.gd"
fi
# Individual items
if [ -f "Handcuffs-template.gd" ]; then
cp "Handcuffs-template.gd" "scripts/items/Handcuffs.gd"
fi
if [ -f "Saw-template.gd" ]; then
cp "Saw-template.gd" "scripts/items/Saw.gd"
fi
if [ -f "Beer-template.gd" ]; then
cp "Beer-template.gd" "scripts/items/Beer.gd"
fi
if [ -f "Pills-template.gd" ]; then
cp "Pills-template.gd" "scripts/items/Pills.gd"
fi
if [ -f "Cigarettes-template.gd" ]; then
cp "Cigarettes-template.gd" "scripts/items/Cigarettes.gd"
fi
if [ -f "MagnifyingGlass-template.gd" ]; then
cp "MagnifyingGlass-template.gd" "scripts/items/MagnifyingGlass.gd"
fi
echo "Repository setup complete!"
echo ""
echo "Next steps:"
echo "1. Open Godot and create a new project in this directory"
echo "2. Set GameManager.gd as an AutoLoad singleton"
echo "3. Create the scene files based on scene-templates-structure.md"
echo "4. Create GitHub issues based on github-issues-list.md"
echo "5. Start assigning issues to contributors!"
echo ""
echo "Happy coding! 🎮"