Swords and Soldiers III
Dit was een school project ongeveer 4 uur per week en dat in een periode van 4 weken. Het is een parodie op Swords and Soldiers. We hebben het gemaakt in Unity3d.
Ik heb gewerkt aan de healthbars, de enemys met scriptable objects en het menu.
Tools:
- Unity3d
- Visuals Studio C#
- Tello
Team:
- Jessey Novani – Developer
- Furkan Tura – Developer
- Rick Rasenberg – Developer
- Moreno Ensink – Artist
- Ilse van der Beek – Artist
- Bram Paschedag – Artist
- Justin Groenen – Artist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
[CreateAssetMenu(menuName = "ScriptableObjects/Character")] | |
public class ScriptableCharacterObject : ScriptableObject | |
{ | |
[SerializeField] | |
private string UnitType; | |
[SerializeField] | |
private GameObject prefab; | |
[SerializeField] | |
private int Cost; | |
[SerializeField] | |
private float movementSpeed; | |
[SerializeField] | |
private float attackSpeed; | |
[SerializeField] | |
private float attackDamage; | |
[SerializeField] | |
private float health; | |
[SerializeField] | |
private string teamName; | |
public GameObject GetPrefab() | |
{ | |
return prefab; | |
} | |
public float GetMovementSpeed() | |
{ | |
return movementSpeed; | |
} | |
public float GetAttackSpeed() | |
{ | |
return attackSpeed; | |
} | |
public float GetHealth() | |
{ | |
return health; | |
} | |
public string GetTeamName() | |
{ | |
return teamName; | |
} | |
public float GetAttackDamage() | |
{ | |
return attackDamage; | |
} | |
public int SpawnCost() | |
{ | |
return Cost; | |
} | |
public string TypeOunit() | |
{ | |
return UnitType; | |
} | |
} |