Skip to content

Instantly share code, notes, and snippets.

View GT3000's full-sized avatar

Anthony Delgado GT3000

View GitHub Profile
@GT3000
GT3000 / gamedevtipz.md
Last active August 1, 2019 23:40
The GT3000 Center for People Who Can’t GameDev and Wanna Do GameDev and Other Stuff Good Too

The GT3000 Center for People Who Can’t GameDev and Wanna Do GameDev and Other Stuff Good Too

This list comprises of a quick (but by no means complete) summary of the big three game engines and their relevant chosen programming languages. In addition is a list of resources both free and paid to help you get started on your journey as a turtletastic gamedev.

Join us on the #dev_gaming channel of the Turtlecoin Discord located here: http://chat.turtlecoin.lol/

Dos and Don’ts

  • Do explore your options at the outset. Each engine strikes at a different level of expertise and know-how. Game Maker is going to be a lot more forgiving than Unreal Engine in the programming department but that ease comes with inflexbility.

  • Don’t be afraid to experiment while you find what you like and don’t.

@GT3000
GT3000 / Player.cs
Created April 7, 2021 06:25
Real Simple 2D Movement
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour
{
[SerializeField] private float speed; //Controls player speed, this can be adjusted
private Vector3 playerPos; //Sets player position
// Start is called before the first frame update
@GT3000
GT3000 / Player.cs
Created April 8, 2021 06:46
Variables Example
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour
{
//Value Types
private int health = 100;
private float speed = 5.0f;
public bool isAlive = true;
@GT3000
GT3000 / PlayerUnCommented.cs
Created April 9, 2021 06:37
Sample Player.cs without comments.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour
{
[SerializeField] private Vector3 startPos;
private Vector3 playerPos;
private Vector3 screenPos;
[SerializeField] private float speed;
using System.Collections;
using System.Collections.Generic;
using TreeEditor;
using UnityEngine;
public class Player : MonoBehaviour
{
[SerializeField] private Vector3 startPos;
private Vector3 playerPos;
private Vector3 screenPos;
@GT3000
GT3000 / CooldownExample.cs
Created April 13, 2021 07:46
Cooldown System Example Firing Script
public class CooldownExample : MonoBehaviour
{
private float timeBetweenShots = 1.0f;
private float timePassed;
// Start is called before the first frame update
void Start()
{
}
@GT3000
GT3000 / CooldownExampleComplete.cs
Created April 13, 2021 08:12
Cooldown System Complete
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class CooldownExample : MonoBehaviour
{
private float timeBetweenShots = 1.0f;
private float timePassed;
[SerializeField] private Slider cooldownSlider;
@GT3000
GT3000 / ColorChange.cs
Created April 16, 2021 07:20
Simple Color Change Script
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ChangeColor : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
@GT3000
GT3000 / ColorChange.cs
Created April 16, 2021 07:31
Simple Color Change Trigger script
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ChangeColor : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
@GT3000
GT3000 / Player.cs
Created April 18, 2021 05:52
Simple 3D movement for a sphere
public class Player : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()