Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tutorials in DocC bundle #98

Merged
merged 3 commits into from
Jul 22, 2023

Conversation

alicerunsonfedora
Copy link
Contributor

@alicerunsonfedora alicerunsonfedora commented Jul 22, 2023

This PR introduces two new tutorials for the SwiftGodot project: Your First Extension, and Writing Multiple Scripts. These two tutorials show the basic process of creating a Swift package, adding SwiftGodot, and using it to build a GDExtension. Developers will use a starter template to get a player character to move side to side in an infinite runner.

Note that tutorials for advanced topics such as registering signals, properties, and methods have not been included yet; I plan to add these in the future once the processes for these topics become more streamlined.

Screenshots

Screenshot 2023-07-22 at 15 45 41

The landing page/table of contents for the SwiftGodot tutorial.

Screenshot 2023-07-22 at 15 45 32

The top of the tutorial page, "Your First Extension".

Screenshot 2023-07-22 at 15 44 56

A section of the "Writing Multiple Scripts" tutorial, which shows a preview image and source code.

This tutorial focuses on adding multiple classes, fetching nodes from
the scene tree, and working with basic Godot signals.
@alicerunsonfedora alicerunsonfedora marked this pull request as ready for review July 22, 2023 19:54
@migueldeicaza
Copy link
Owner

OMG this is magical! Merging immediately!

@migueldeicaza migueldeicaza merged commit 9606a6a into migueldeicaza:main Jul 22, 2023
1 check failed
@alicerunsonfedora alicerunsonfedora deleted the docs/tutorials branch July 22, 2023 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants