css, diary
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
% rebase('frame.tpl')
|
||||
<div class="content-grid"><div class="center">
|
||||
<h1>stoplight</h1>
|
||||
<h2>Stoplight</h2>
|
||||
<iframe frameborder="0" src="https://itch.io/embed-upload/6263420?color=333333" allowfullscreen="" width="800" height="620"><a href="https://chimchooree.itch.io/stoplight">Play stoplight on itch.io</a></iframe>
|
||||
|
||||
<h2>game guide</h2>
|
||||
<h3>game guide</h3>
|
||||
<p>Co-routines give you the power to change the light! Watch how player input disrupts the stoplight's schedule. Push the walk button to skip a phase. Or wait until the phase times out. </p>
|
||||
<p>This is just a small project to get more comfortable with yields in Godot Engine.
|
||||
<p>This game was released June 5, 2019.</p>
|
||||
|
||||
<h2>code</h2>
|
||||
<h3>node hierarchy</h3>
|
||||
<h3>code</h3>
|
||||
<h4>node hierarchy</h4>
|
||||
|
||||
<a target="_blank" href="/static/img/game/SL_GodotEngine.png">
|
||||
<img src="/static/img/game/SL_GodotEngine.png" alt="Screenshot: Godot Engine editor">
|
||||
</a>
|
||||
<h3>Main.gd</h3>
|
||||
<h4>Main.gd</h4>
|
||||
<pre><code>
|
||||
extends Node
|
||||
|
||||
@@ -52,7 +52,7 @@ func _on_WalkButton_gui_input(event):
|
||||
|
||||
</code></pre>
|
||||
|
||||
<h3>Label.gd</h3>
|
||||
<h4>Label.gd</h4>
|
||||
<pre><code>
|
||||
extends Label
|
||||
var time_start = 0
|
||||
@@ -70,7 +70,7 @@ func _process(delta):
|
||||
var str_elapsed = "%02d" % [seconds]
|
||||
text = str(str_elapsed)
|
||||
</code></pre>
|
||||
<h2>Credits</h2>
|
||||
<h3>Credits</h3>
|
||||
<ul>
|
||||
<li>coding + art by chimchooree</li>
|
||||
<li>Tools: Godot Engine 3.0.6, Krita</li>
|
||||
|
||||
Reference in New Issue
Block a user