generated from Skynet/deploy_user
week one and two of the game dev diaries
All checks were successful
On_Push / build (push) Successful in 43s
All checks were successful
On_Push / build (push) Successful in 43s
This commit is contained in:
parent
545efecca9
commit
4b8496b36a
8 changed files with 247 additions and 24 deletions
62
src/GameDev/weekOne.html
Normal file
62
src/GameDev/weekOne.html
Normal file
|
@ -0,0 +1,62 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="../styles/style.css">
|
||||
<link rel="icon" type="image/png" href="images/icon.png">
|
||||
<title>Game Dev Blog</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="container">
|
||||
<div id="header">
|
||||
<ul>
|
||||
<li><a href="../index.html">Cover Page</a></li>
|
||||
<li><a href="../personal.html">Personal Intro</a></li>
|
||||
<li><a href="../other.html">Source/Credits</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h2>Week one</h2>
|
||||
<p> Starting everything and creating a group was simple enough;
|
||||
we already had a friend group that wanted to work together on a
|
||||
game anyway.
|
||||
</p>
|
||||
<p> I asked our producer (Kuba) to also be added to generalists,
|
||||
mostly because programming only would be a pain, and I started
|
||||
getting involved in the storywriting a little bit.</p>
|
||||
<p> Me and Caoimhe discussed and came up with some ideas for the
|
||||
general setting and what's going to be the main character
|
||||
development. That's basically it; we (the programming team)
|
||||
planned to start working on the actual gameplay next week.</p>
|
||||
<h2>Teams</h2>
|
||||
<p>Just showing the teams from the group that i'm in</p>
|
||||
<ul>
|
||||
<li><strong>Programming</strong></li>
|
||||
<p>I'm on the programming team with:
|
||||
<br><strong>Leo</strong>, the 10X programmer, responsible for the actual hard
|
||||
part of coding.
|
||||
<br><strong>Shay</strong>, the micromanager, responsible for saying,
|
||||
"Put comments on your code." and creating overcomplicated
|
||||
workflows.
|
||||
<br><strong>Kuba</strong>, the JS developer, responsible for looking at
|
||||
the code and explaining why we should've used such and such
|
||||
library.
|
||||
<br><strong>Misha</strong>, C++... i don't need to explaing any further,
|
||||
responsible for making everything simply better.</p>
|
||||
<li><strong>Writing</strong></li>
|
||||
<p>I basically invaded writing simply because our art supervisor didn't stop
|
||||
me. The team is:
|
||||
<br><strong>Caoimhe</strong>, Our main writer and art supervisor,
|
||||
responsible with saying no to stupid ideas (especially my ideas).
|
||||
<br><strong>Misha</strong>, Technically not in the writing team but he
|
||||
helps a lot, basically responsible for the good ideas.</p>
|
||||
</p>
|
||||
</ul>
|
||||
<footer id="footer">
|
||||
<ul>
|
||||
<li><a href="weekTwo.html">Week Two -></a></li>
|
||||
</ul>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
27
src/GameDev/weekThree.html
Normal file
27
src/GameDev/weekThree.html
Normal file
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="../styles/style.css">
|
||||
<link rel="icon" type="image/png" href="images/icon.png">
|
||||
<title>Game Dev Blog</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="container">
|
||||
<div id="header">
|
||||
<ul>
|
||||
<li><a href="../index.html">Cover Page</a></li>
|
||||
<li><a href="../personal.html">Personal Intro</a></li>
|
||||
<li><a href="../other.html">Source/Credits</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<footer id="footer">
|
||||
<ul>
|
||||
<li><a href="weekTwo.html"><-- Week Two</a></li>
|
||||
</ul>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
126
src/GameDev/weekTwo.html
Normal file
126
src/GameDev/weekTwo.html
Normal file
|
@ -0,0 +1,126 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="../styles/style.css">
|
||||
<link rel="icon" type="image/png" href="images/icon.png">
|
||||
<title>Game Dev Blog</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="container">
|
||||
<div id="header">
|
||||
<ul>
|
||||
<li><a href="../index.html">Cover Page</a></li>
|
||||
<li><a href="../personal.html">Personal Intro</a></li>
|
||||
<li><a href="../other.html">Source/Credits</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h2>Week Two</h2>
|
||||
<p> We mainly have two meetings (one in a lab and the other we organised in the
|
||||
library), where I helped a bit with getting some ideas for the motivations of the
|
||||
enemies in the game, and me and Misha got assigned homework by Shay
|
||||
(gameplay designer); we needed to make the movement by Monday.
|
||||
</p>
|
||||
|
||||
<h2>Some actual Programming</h2>
|
||||
|
||||
<p>Mostly apllied basics from the godot wiki, but me and Misha were not able to make
|
||||
the turn/timer part of the code work (it simply did nothing or made the
|
||||
game get stuck).
|
||||
</p>
|
||||
<button type="button" class="collapsible"
|
||||
aria-expanded="false">Show Code</button>
|
||||
<div class="hidden-content">
|
||||
<pre>
|
||||
<code>
|
||||
using Godot;
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
public partial class player_movement : StaticBody2D
|
||||
{
|
||||
//important varibles
|
||||
[Export]
|
||||
public int TileSize { get; set; } = 64;
|
||||
bool has_moved = false;
|
||||
|
||||
//input handling
|
||||
public Vector2 GetInput()
|
||||
{
|
||||
|
||||
Vector2 direction = Input.GetVector("move_left", "move_right", "move_up", "move_down");
|
||||
return direction;
|
||||
|
||||
}
|
||||
/*movement method
|
||||
TODO - Implement TestMove
|
||||
- fix the turns (kill me)
|
||||
*/
|
||||
public void Move(Vector2 direction) {
|
||||
if (has_moved == true)
|
||||
{
|
||||
//miserable implemntation of turns (does not work)
|
||||
DelayMethod();
|
||||
}
|
||||
else if (direction != Vector2.Zero && has_moved == false)
|
||||
{
|
||||
direction = direction.Normalized();
|
||||
Position += TileSize * direction;
|
||||
Position = Position.Snapped(Vector2.One * TileSize);
|
||||
has_moved = true;
|
||||
}
|
||||
}
|
||||
//delay method to create turns (work in progress)
|
||||
private async void DelayMethod()
|
||||
{
|
||||
var timer = GetTree().CreateTimer(4f);
|
||||
await Task.Delay(TimeSpan.FromMilliseconds(1));
|
||||
timer.Timeout += OnTimerTimeout;
|
||||
}
|
||||
|
||||
|
||||
public override void _PhysicsProcess(double delta)
|
||||
{
|
||||
Vector2 direction = GetInput();
|
||||
Move(direction);
|
||||
//MoveAndSlide();
|
||||
}
|
||||
|
||||
public override void _Ready()
|
||||
{
|
||||
Position = Position.Snapped(Vector2.One * TileSize);
|
||||
Position += Vector2.One * TileSize;
|
||||
}
|
||||
|
||||
private void OnTimerTimeout()
|
||||
{
|
||||
has_moved = false;
|
||||
}
|
||||
}
|
||||
</code>
|
||||
</pre>
|
||||
</div>
|
||||
<p>
|
||||
And then we got one of our artists (that is actually a really good programmer)
|
||||
to do it, but they only know GDScript... Now i need to translate all the code
|
||||
that Piraker made in GDScript to C#; that will be a task for next week.
|
||||
</p>
|
||||
|
||||
<p>What we got at the end of the week is this:</p>
|
||||
<video controls>
|
||||
<source src="../videos/ItMoves.mp4" type="video/mp4">
|
||||
Your browser does not support the video tag.
|
||||
</video>
|
||||
|
||||
|
||||
<script src="../scripts/collapsibles.js"></script>
|
||||
<footer id="footer">
|
||||
<ul>
|
||||
<li><a href="weekOne.html"> <-- Week One</a></li>
|
||||
<li><a href="weekThree.html">Week Three --></a></li>
|
||||
</ul>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -4,7 +4,7 @@
|
|||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="styles/style.css">
|
||||
<link rel="icon" type="image/png" href="images/Longing_shade_pics_7.png">
|
||||
<link rel="icon" type="image/png" href="images/icon.png">
|
||||
<title>Game Dev Blog</title>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -16,13 +16,14 @@
|
|||
<li><a href="other.html">Source/Credits</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<hr>
|
||||
|
||||
<footer id="footer">
|
||||
<ul>
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
</ul>
|
||||
</footer>
|
||||
<h2>Diaries</h2>
|
||||
<p>This is a List of all the GameDev Diaries
|
||||
</p>
|
||||
<ul>
|
||||
<li><strong><a href=GameDev/weekOne.html>Week One</a></strong> Basically just made the group</li>
|
||||
<li><strong><a href=GameDev/weekOne.html>Week Two</a></strong> Fish game? </li>
|
||||
<li><strong><a href=GameDev/weekOne.html>Week Three</a></strong></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -4,7 +4,7 @@
|
|||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="styles/style.css">
|
||||
<link rel="icon" type="image/png" href="images/favicon.png">
|
||||
<link rel="icon" type="image/png" href="images/icon.png">
|
||||
<title>Game Dev Blog</title>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -17,13 +17,26 @@
|
|||
</ul>
|
||||
</div>
|
||||
<hr>
|
||||
|
||||
|
||||
<footer id="footer">
|
||||
<ul>
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
</ul>
|
||||
</footer>
|
||||
<h2>Comp Soc</h2>
|
||||
<p>This website is being hosted in the Skynet server in UL,
|
||||
and the code is avaiable in forgejo.
|
||||
</p>
|
||||
<ul>
|
||||
<li><strong>Skynet wiki: </strong><a href=https://wiki.skynet.ie>link</a></li>
|
||||
<li><strong>Forgejo: </strong><a href=https://forgejo.skynet.ie>link</a></li>
|
||||
<li><strong>Source code for this website: </strong><a href=https://forgejo.skynet.ie/p2949/carlos>link</a></li>
|
||||
</ul>
|
||||
<h2>Game Source Code</h2>
|
||||
<p>Our game source code is being hosted in github.</p>
|
||||
<ul>
|
||||
<li><strong>My Github Profile </strong><a href=https://github.com/P2949>link</a></li>
|
||||
<li><strong>Our Github organization </strong><a href=https://github.com/CSG001-Project>link</a></li>
|
||||
<li><strong>Our Github Repo </strong><a href=https://github.com/CSG001-Project/UntitledGame>link</a></li>
|
||||
</ul>
|
||||
<h3>Other</h3>
|
||||
<ul>
|
||||
<li><strong>Godot wiki </strong> I'm basically dependent on this to program <a href=https://docs.godotengine.org/en/stable>link</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -4,7 +4,7 @@
|
|||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="styles/style.css">
|
||||
<link rel="icon" type="image/png" href="images/favicon.png">
|
||||
<link rel="icon" type="image/png" href="images/icon.png">
|
||||
<title>Game Dev Blog</title>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -45,12 +45,6 @@
|
|||
when participating in the game jam for Halloween.</p>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<footer id="footer">
|
||||
<ul>
|
||||
<li><a href="index.html">Main Page</a></li>
|
||||
</ul>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -279,7 +279,7 @@ video {
|
|||
|
||||
/* Miscellaneous */
|
||||
pre {
|
||||
background-color: gray;
|
||||
background-color: rgb(36, 36, 36);
|
||||
border: 0.1rem solid var(--main-blue);
|
||||
padding: var(--spacing-base);
|
||||
border-radius: var(--border-radius);
|
||||
|
|
BIN
src/videos/ItMoves.mp4
Normal file
BIN
src/videos/ItMoves.mp4
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue