Tag Archives: games

Custom shaders and shadows

Since I’m quite new to this shader business I’m bumping into problems here and there, and this time I’m really struggling with solving it.

I’ve made this shader that I’ve gotten to cast shadows with a custom ShadowCaster pass but I’m still not able to get it to collect shadows in any way. I’ve tried getting the fallback to handle the ShadowCollector pass, I’ve tried diffent ways to write the shadowcollector pass, and I’ve tried setting the Queue to geometry and RenderType to Opaque instead of Transparent..

Shader coding in Unity is hard, because there isn’t much info to be found anywhere about how things work and how it should be done. Does anyone out there have any tips on how I can get this to work?

See the code below or download the shader here.

Getting closer to release

I’ve spent alot of time since my last post working on 3ounce.. And I’m getting closer and closer to re-releasing the game. I don’t have much left on my todo-list. But I do have a little work left in the sound Department… Game sound is not something I’m really good at.. Up until now I’ve been using music and sounds that are Public domain and I’m probably just sticking with that for 3ounce, since I don’t have the money to get someone to make something good for me, and a lot of the Public domain stuff I’ve found online is great! Will be working on the audio this weekend and believe I can finish most of what I have in mind.. After that I think all that is left to do before release is fine tuning.. Will spend some time on making a good trailer for the game also.. Which is another area I’m not very good at… See you later!

Who is this?

I’m back from a fantastic vacation in Rhodes, Greece, and tomorrow it’s back to normal/work.

I thought I should write a little about who I am and what I’ve done before.

My name is Ronnie Moe, and I live in a small town called Odda in the west of Norway. I have two sons and a beautiful woman in my life, that I spend as much time as possible with. I work at a zinc smelting plant as an automations engineer.

My first programming experience is probably when I was little and I wrote code off a book into my Amstrad 6128(?). Making words and numbers come alive was really fascinating to me, and I’ve been interessted in computers and electronics since then. I’ve been programming my own code since about 2006 when Microsoft XNA preview was released. I started to play around with it, but didn’t put any serious work into it at that time. But I made some games with XNA later that never got polished enough to release. Made a platformer called Sheikh, and other small projects. Later I made some apps for Windows Phone 7/8 and Windows Store. I’ve made a board game called Tactiles and a maze game called 3ounce that’s on the Windows store. I started to play around with Unity 3D this year and 3ounce is the first game I’ve released using it.

Appart from programming as a hobby I’ve got a bachelors degree in Electrical engineering. During my education I’ve covered topics as Java programming, algorithms, PLC-programming (Do this alot in my work as well) and other semi-programming related courses.

Other hobbies that I have that come in handy when making games is drawing and painting, 3D modelling, and of course playing other games.

I release my games under the name ‘Trolltunga Kreative’. Trolltunga or ‘Troll’s tongue’ is a local hiking destination where I live. A beautiful wonder of nature, where a rock lies extended from the cliffside like a tongue, with a breathtaking view underneath. Here’s a picture of me there.

IMG_3084.JPG
That’s it for now I guess.

/Ronnie

Unity Networking tutorials

Here’s a quick list of tutorials I have found interesting on Unity Networking.

Brent Farris – Unity Networking tutorials:

Tutorial Playlist

Createathings Unity networking tutorials:

Part 1/4

Part 2/4

Part 3/4

Part 4/4

Sky Arena  Photon tutorials:

These videos are referencing a tutorial asset, that can be bought at the Unity Asset store. I haven’t bought this so I can’t say anything about it. But found the videos interesting either way.

Part 1 – Lesson 1

Part 1 –  Lesson 2

Part 1 – Lesson 3

Part 1 – Lesson 4

Part 2 – Lesson 1

Part 2 – Lesson 2

Part 2 – Lesson 3

Part 2 – Lesson 4

Quill18Creates Multiplayer tutorial:

Part 1/2

Part 2/2

I haven’t decided yet if I wan’t to use PUN or built-in Unity Networking for BattleMaze. Both choices has it’s pros and cons as I see it at the moment, but I think PUN is a little bit ahead.

Do you have any experience with Unity networking? Or PUN? What do you think?

Thank you, Tube

YouTube

The look

I thought I would post some screenshots of 3ounce with the latest graphical tweeks I’ve added, so you can get an idea of what direction I’m probably taking Battlemaze, graphics wise.

concept01

Concept02

Concept03

Concept04

As you can see I’m going for a clean and simple look. I’m a big fan of simple/cartoony graphics design, and will probably stick with this in some form.

What do you think?

A new beginning..

I’ve been too busy to actually do any gamemaking for a while, until a few days ago when i updated my old maze game “3ounce” for windows 8 to windows 8.1. I started doing some changes to the graphics ingame as well, and quickly found that I wanted to do more with it.. I wanted to add some form of multiplayer, and I wanted to do a total overhaul of the looks of the game.. Soon I realized that this was more than just an update.. It had to be a whole new game! And then the idea of “Battlemaze” was born..

I’m new to network gaming so I’ve been reading about Unity networking and also Photon Unity networking. I’ve been looking through some getting started tutorials. But I’ve realized that I need to get a clear idea of what kind of game I’m going to build this time, before I start coding and implementing features.

At the moment it’s all just a big pile of ideas floating around on postIts and in my head. This time I think I’ll try to narrow down all features and gameplay mechanics in some document before I go further.. But I always have to check up on some stuff on the way.. Like lately.. facebook integration, pathfinding algorithms and unity networking/photon.

pathfinding tutorial

How to create a multiplayer game with unity

Photon UN

Facebook for Unity

Do any of you make games? How do you go about planning your games?