Done with the samples, and can be released as first version!

This commit is contained in:
2025-01-13 14:27:20 +01:00
parent 425e583bbe
commit 6a16200a51
27 changed files with 628 additions and 93 deletions

View File

@ -2,6 +2,7 @@
{% block content %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/post.css') }}">
<script src="{{ url_for('static', filename='script/image_viewer.js') }}"></script>
<main class="main">
<section class="intro">
<h1>Game Development from Scratch: A Comprehensive Guide</h1>
@ -62,7 +63,7 @@
<pre><code class="language-gdscript">extends Node2D
func _ready():
print("Hello, Godot!")</code></pre>
print("Hello, Godot!")<button class="copy-btn" onclick="copyToClipboard(this)">Copy</button></code></pre>
</div>
</article>
@ -83,7 +84,7 @@ func _physics_process(delta):
velocity.x += SPEED
if Input.is_action_pressed("ui_left"):
velocity.x -= SPEED
velocity = move_and_slide(velocity)</code></pre>
velocity = move_and_slide(velocity)<button class="copy-btn" onclick="copyToClipboard(this)">Copy</button></code></pre>
</div>
</article>