Kategorie-Archiv: Unity

Stupid swarm agents in Unity3d for Global Game Jam 2017

Recently i participated in the Global Game Jam 2017 at our University in Koblenz. With a team of five on location and another helpful friend that donated the awesome music we made a small strategy game within this years theme „waves“ in the unity3d engine. The name is „Tower Offense – Final Wave“ and you can find the executable and the full unity3d project here.


The basic idea is that each player has a base that constantly produces small autonomous robots. These robots are under your control as long as the radio waves of your base tower or the radio towers you can build reach it. As soon as it leaves the influence radius of your towers it losses signal strength and eventually you loose control. You have the option to change from building attack robots to build harvesters which bring in ressources you need to build more towers. The aggressive robots try to find the nearest enemy robot or building and engage it. The enemy can, like the player, build more towers and when a hostile robot stays in the range of an opposing tower for too long, the owner of that tower gains control of the robot. The winning condition is easy: Destroy the enemy base!

My part this time was the programming of the „artificial intelligence“. But because i like to work quick and see results fast my solution might (definitely) not be the most elegant or efficient solution.
Weiterlesen

Version Control in Unity3D with Perforce

unityperforce_1

We have been using Unity for a long time now and we have always been struggling with any type of version control / centralized storage for our projects. We tried different solutions like svn or git and always ran into troubles often sooner than later.

After licensing Unity Pro we planned to at least use the asset server to avoid having to sort trough tons of indiviual copies and „branches“ on multiple workstations. But unfortunately, when we finally found the spare time to set it up, the asset server was somehow marked as deprecated.  But the accompanying documentation page recommended Plastic SCM or Perforce as alternate solutions.

Our decision to try out Perforce was based solely on the fact that i had heard more about Perforce than Plastic SCM. Weiterlesen

Unity3D – global Highscore for Android games without external tools

We recently released a little game into the wild: Just Jumping on the Google Playstore.

Beside creating an easy to pick-up game with some sort of addictive gameplay we wanted to create a bit of a competition by collecting global highscores.

There are many options on how to achieve this, most of them include external tools or libraries. And we wanted to avoid that. DIY it was…

What you need to collect global highscores:

  • A transfer method to get data from the device to where the scores a stored.
  • A place where you can collect the highscores. Preferably a web server with a database.
  • A way to identify players.
  • Methods to make cheating hard or impossible.

Weiterlesen

Touch Input in der Unity Engine

inputDa man mit der kostenlosen Version der Unity-Engine nun schon seit Mitte des letzten Jahres auch Software für die verschiedenen Mobilplattformen erzeugen kann steigt die Anzahl der Unity-Projekte die auch auf eben diesen Geräten veröffentlicht werden immer weiter an.

Gerade auf Handys und Tabletts die nur eine begrenzte Zahl an Eingabemöglichkeiten haben ist es enorm wichtig ein konsistentes, intuitives und vor allem zuverlässiges Eingabeschema zur Verfügung zu stellen. Weiterlesen