This repository has been archived by the owner on Apr 18, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 5
Scripting: Internal Chapters
teebarjunk edited this page Jul 23, 2021
·
1 revision
Any chapter wrapped in _
is treated as internal.
Case doesn't matter.
Initialize variables here, and any code you want added to the main script.
# _init_
score = 0
found_princess = false
```gd
func my_func(a, b):
print(a + b)
```
Define characters.
# _characters_
Mary - The main character
John - The friend
Paul - A cat
## Villains
Mr. Pitts - The antagonist
Henchman 1
Henchman 2
Define achievements.
# _achievements_
Good Ending - Reached the good ending.
Bad Ending - Reached the bad ending.
No Stone Unturned - Found all secret areas.
toll: 3
Baddie Killer - Killed 10 Baddies.
toll: 10
Define quests.
# _quests_
## Bakers Quest
Bake a cake for the event.
- Collect Eggs
toll: 4
- Collect Milk
toll: 2
- Bake The Cake
- Bring it to the event
## Dragon Slayer
Slay the dragon at the root of The Last Mountain.
- Talk to Morgo
- Talk to Vinder
Config is for setting Congigurations vars.
# _config_
screen_size = 800, 600
menu_image = class_front
Define credits.
# _credits_
Graphics
- [Backgrounds - gman66](#www.gman66.ca)
- [Other Backgrounds - John Doo](#www.google.com)
Sound Design
- Misc - music_maker_911