RigidBody and RigidBody2D Script Initialisation

So yeah. Two different ways. Not sure why one is better than the other. Yet. Method 1. Attach RigidBody2D to the Game Object and then create a local private variable in the script. This approach feels better imo, so that is what I’m using. RigidBody2d rb2d;...

Sticky Self Referencing Form

Instead of hard coding the name of a script use a superglobal reference. <form action=”<?php echo $_SERVER[‘PHP_SELF’]; ?>” method=”post”>   <?php if (isset($_POST[‘submit’])) { $text =...

Databases, databases, databases

No tech updates since October the 16th huh? Well, I realised that my SQL skills were somewhat limited to some basic stuff I still remembered from Uni days (when beer and having fun was more important than learning about RDBMS’). I know enough to get by, but...

Vectors, Dot Product, and Cross Product

Being as thought Vectors are critical to both 2D and 3D game design (like you need to know this stuff) it looks like I need to understand them, backwards! A Vector is a line drawn between two points in 2D or 3D space which also has a length, known as its magnitude. A...