Memory Platformer - Ludum Dare #40 entry

2017-12-13 21:10:27

LD40_Screenshot1 LD40_Screenshot2 LD40_Screenshot3 LD40_Screenshot4

A little "Unity & Ludum Dare"-adventure

This was my 4th entry for Ludum Dare. I enjoy the concept of the challenge a lot, but unfortunately I don't find time as often as I would like to participate. And if you cut short on the 48 hours for Compo, well, there's really not much time left then.

Anyways. As I always want to tackle something new, something to learn, something I never used before, I got myself into Unity's tilemaps. With a jump start I created my first tilemap, dragged in some til

read on ...

Ludum Dare #30 Entry

2014-09-01 00:07:09

My second LudumDare and it was as much fun as the first. The theme was "Connected Worlds". And to start off here are some screenshots of my entry.

image image image
read on ...

Reuse skybox cubemap on reflective materials [Shader]

2014-08-10 08:51:14

With this shader you can reuse your skybox cubemap for reflection materials. The built-in shader gives nice results but using the cubemap from the skybox, the coordinates are inverted. Here's a modified version of the built-in Reflect-Glossy shader.

Shader "WB/WB-Skybox Reflection" {
Properties {
	_Color ("Main Color", Color) = (1,1,1,1)
	_ReflectColor ("Reflection Color", Color) = (1,1,1,0.5)
	_SpecColor ("Specular Color", Color) = (0.5, 0.5, 0.5, 1)
	_Shininess ("Shininess", Range (0.01, 
read on ...

Serializing Vector3 in Unity

2014-07-08 07:24:06

In Unity Vector3 is not marked as serializable.
So, if you try to serialize a class of our own containing a property of type Vector3 you will get the following error:

SerializationException: Type UnityEngine.Vector3 is not marked as Serializable.

To make this work, one way is to make a converter class based on the Vector3 type, which is really simple and fast to do, so...

Let's go!

You probably have your class definition like so:

public class MyClass {
	public Vector3 someVect
read on ...

Playstation 3 Controller Mapping in Unity 3D

2014-04-13 21:56:46

I found myself a few times in need of the mapping of the PS3 Controller in Unity. Searching on the net I didn't find much, so I made a quick overview myself.
Use it like "joystick x", where x is the number of the input you want.
PS3 Controller Mapping