Showing posts with label Unity3D. Show all posts
Showing posts with label Unity3D. Show all posts

Saturday, 21 February 2015

[Unity3D] Starting & stopping coroutines

Recently I was figuring out how start and stop coroutine works in Unity. And here you can find what I find out.



First things first.

What are those "Coroutines"?


They are almost same as functions but you can program them to work over time.
For example: if you'd like to tween a button or fade out any object over time you'll be able to do that only with coroutines (or very complex and strange Update... ;) ) because they are not limited to single frame like normal functions.

If you are looking for better explanation what coroutines are you can find it on the end of the post.. ;)

Sunday, 31 August 2014

Hyper Inteligent Bot ;)

I am writing little shooter with 2 friends and within game we have little bot which could not get enough fun of firing... :D

Here you have little video. Have fun :)



PS. Did you know that exist something like Magisto which made this video? :O

Wednesday, 20 August 2014

Open Beta for Unity 4.6!!

!!! NEWS OF THE DAY !!!


Unity 4.6 is now available for download!
I know that it's still beta but hey! Finally we can test new UI system!

You can find more info about beta here: Unity - Beta - Unity 4.6

Monday, 18 August 2014

Visual Studio Tools for Unity!

For over 3 weeks we can finally enjoy UnityVS (now Visual Studio Tools for Unity) which is available to everyone for free!



And what does it mean for developers?
Well.. It's mean that Visual Studio has now better integration with Unity.
For example now we can attach VS to Unity and our debug code.
With VS we have also code snippets, wizards and other useful tools.

Previously UnityVS cost 99$ for personal license and for 299$ for professional one.
But now.. When Microsoft acquired SyntaxTree.. This plug-in is available for free.

You can now download it from Visual Studio Gallery 

More information you can find here: Visual Studio Blog
Documentation for Visual Studio Tools for Unity is over here: Documentation

Friday, 25 July 2014

XML with Linq - how to save and load those files?! [Unity3D]

Recently I was fighting with saving and loading XML files using Linq which was quite odd.. Especially when this make you headache..


Some of you may not even think about it when you have some small projects but in bigger one.. Data serialization might be real challenge. I was doing some research for dealing with it and I found 2 most common methods: 
  • Unity Serialization, which work automatic with just adding [SerializeField] over variable or class
  • Writing own serializer and save data to XML, JSON or any other file
First I was thinking that the first method might be good for me but suddenly... Wild "I'm not this type of guy" appear.. And that mean that I have to know what's going on in project so I start digging and looking for information about dealing with XMLs... :P

Input Reader [Unity3D] - Updated!

So InputReader was updated to read individual joystick axes.
This should work with multiple controllers at the same time. (hope so!)
Unfortunately Unity does not allow to create or modify axes from code so you have to manually add axes to InputManager... (link to example below)

New InputReader is [here].
And example of InputManager with individual axes is [here] (simply copy this to ProjectSettings/ in your project).

Friday, 11 July 2014

Input Reader [Unity3D]

I'm just working over my customizable input manager and the first thing that was a little though was reading input from keyboard. So I just wrote one and I hoped that it will be helpful.

So here you can find that script in my public repository [InputReader]

Saturday, 19 April 2014

Learning new things

Night is a time when we have a lot of energy and head full of ideas.. But did we do any of those ideas? Or did we use that energy to do things? Or we just go sleep with thought that we will do something tomorrow?

Recently I can't sleep.. And when I say "I can't sleep" I really mean I can't... :P
And I don't know why.. But I don't like to stay in place and do nothing.. So I started to looking for something new what I could learn by myself.

I have made some stuff in Unity3D for over a year and I have seen some crazy thing that my friend done in his game engine called Barok Engine and I falled in love with his water...

Water in Barok Engine
It's so.... Beautiful... It's more real than real water.. It's... There is no words for that water.. It's so cool..
So one night I have played with a Barok for an hour or two... Messing with stuff around the scene.. Painting water and trying to do something useful... And when the sun rise I was so tired that I finally fall asleep.

UMCS Tournament and Junior ITAD

Last week we (Lublin GameDev group) have been on 2 events that took place on UMCS.
On first we only showed our games but we have not seen much interest in playing them... I think it's because they came to watch the tournament of league of legends...
But besides that.. We had an interview about creating games :)

An interview

Diffuse Nebula - 0.4

So I have finally time to write some news..

Diffuse Nebula have reached version 0.4!

First is tutorial!
Tutorial!!
Next is new gui which look a lot nicer than with unity default textures... :)

Saturday, 11 January 2014

Diffuse Nebula and NEWS OF THE WEEKEND!

Little update to Diffuse Nebula :)

What have been made in last few days:
- Waiting screen for multiplayer

Tuesday, 7 January 2014

Mr Scary Monster & Server options for Diffuse Nebula

Mr Scary Monster eating some parts
So after day of fighting against Mr Scary Monster, I finally made server options window for our game called Diffuse Nebula! Now go away laziness!


I know that this look pretty shitty but it's first version of it :)
But it is resolution independent thanks to GUI.Matrix in Unity!

Sunday, 8 December 2013

[PL] Spotkanie Grupy.NET Politechniki Lubelskiej


Już we wtorek (10.12.2013) znów będzie można mnie posłuchać!
Tym razem będę prowadził spotkanie Grupy.NET działającej na Politechnice Lubelskiej!

Będę kontynuować to co zacząłem już na ITADzie, czyli tworzenie gier w Unity3D!

Zapraszam serdecznie wszystkich zainteresowanych! ;)

Link do wydarzenia:
http://codeguru.geekclub.pl/kalendarium/podglad-wydarzenia/tworzenie-gier-w-unity-3d,9091

IT Academic Day at Lublin University of Technology


So last week we were on ITAD at Lublin University of Technology with Łukasz Wójcik :)
We talk about our job (Pixel Frog), Unity3D and Lublin GameDev group ;)

Of course Unity3D help us... With 3 crashes and some other fun things but overall our lecture was good! :) (I hope so)

And some photos :)


Tuesday, 26 November 2013

Lublin GameDev on ITAD UMCS


Tomorrow (27. november) our Lublin GameDev team will be on IT Academic Day UMCS.
Again we'll present our games to people and again we'll let them play :)

This is next opportunity to promote our gamedev group and take some photos.. :D
Also we have a chance to talk about ours games and get some feedback from players :)

And in next week will be ITAD on Lublin University of Technology and I'll be speaker!
That's awesome! With friend we'll be talking about Unity3D and our Lublin GameDev group.

Ok.. That's all for now. I need to fix some bugs for tomorrow ^^

Tuesday, 24 September 2013

How to use enums to store keys for scripts in Unity3D

Everyone love strings. Especially those hard-code when you can find all references to this one which you're looking for...
How much I love reading such code and often fix it... This is almost the best thing after magic-classes with thousands of lines and no comments.

<Sarcasm off>

But lets back to the our topic...

What is "enum"? And why should I use it?

Enumerated type (in short enum) is a data type consisting of named constant values. (from Wikipedia).
For example
enum Days {Mon, Tue, Wed, Thu, Fri, Sat, Sun};

Monday, 9 September 2013

JSON - how to convert variables it into text and vice versa (with Unity3D & PlayerPrefs)

Recently I used JSON a lot and I'd like to share some knowledge about it.
Here I'm using MiniJSON (link) because I prefer C# rather than JS (this one make me sick!).


So at beginning what JSON is?
JSON is a... string :) And it can have our arrays, dictionaries, variables and other crazy things. And this is all about it, but if you like reading you should go to Wikipedia and read all about it :P

Friday, 30 August 2013

My progress in game development...

Making games maybe is not easy but is fun!
Especially when people enjoy playing your games :)
And it's great have a feedback from users!

So I'm making some improvements in Viking Memo..
Difficult select
Now Viking will have 2 modes: Time Challenge and Casual. (and soon will be 3rd, Survival)
Casual will stay the same as it's now but Time Challenge will count time not from 0 but to 0!
This is obvious... :)
And the Survival mode... That will be special... But for now it's a secret! ;>

Also I'm start other project. Now it's code name is ToonRace and that will be racing game.
GUI, Terrain and Speed!
This is very early stage of development so there's not so much what I can tell now about.
But I hope that it will be fun to play :)

Thursday, 22 August 2013

Viking Memo now in BlackBerry World!

Yey! Finally Viking Memo is available in BlackBerry World!


Game is available for all BlackBerry 10 smartphones! So if you have one you should try! ^^

Link to BlackBerry World: http://goo.gl/DqFkOU

Have fun!

Thursday, 8 August 2013

Viking Memo available on Google Play!

Recently I work over bigger project in Pixel Frog but I finally finish other one.

And now let me introduce my first ever published game the Viking Memo!


Congratulations to me and Martyna Bakun! Bravo! :P

So I don't take more time and here you've got link to Google Play: link

Have a nice time :)