Stream

Join this community to post or comment

李大炮

Game development  - 
 
http://lidapow.github.io/PowIoC/

I made a IoC (DI) for Unity3D, it utilize asset file to setup class binding, and also provide ability to change fields of every classes in an asset file.  It may help you to separate maintenance of scene file from Artists / Scene composers, means programmer can change value without edit scene.

This library only provide IoC, means smooth learn curve, and enjoy the convenient from IoC.

Folk it and enhance it are welcome.

Feel free to send me any question or advice.

Thank you. 
PowIoC. An Inversion of Control for Unity3D. View the Project on GitHub Lidapow/PowIoC · Download ZIP File · Download TAR Ball · View On GitHub. PowIoC. An Inversion of Control (Dependency Injection) for Unity3D. This library utilize ScriptableObject of Unity3D to descript mapping relation.
1
Add a comment...

Raja Biswas

Game development  - 
 
Unity5 2D Car Racing Game Tutorial-14- Creating Game Menu
get the complete series here: http://bit.ly/chargergames
#gamedevelopment   #unity3d   #gamedev  
2
Add a comment...

Carl Kidwell

Game development  - 
 
So I've been wanting for a long time (yeah about 1 year) to create a compelling main menu screen for The Rise of Dagon RPG that I've been working on. It's something that I knew would take a lot of energy and talent .. perhaps...
1
Randall Feuerlein's profile photo
 
Needs more contrast
Add a comment...

SpeedTutor

Game development  - 
 
Check out my "Creating a survival game in Unity", this episode focuses on Animal hunting and trapping! :)
8
2
SpeedTutor's profile photoAlis Vitae's profile photoBill Pratt's profile photoAinhoa Huete's profile photo
3 comments
 
Amazing! Very good job! (+1) :)
Add a comment...

Alis Vitae

Game development  - 
 
Our new tutorial! It is for begginers! This tutorial will show you how to do Collision Detection! (if something collides with something, something will happen! :D) !!! Do not call the script: "Collision", because it will not work!!!
3
1
HeectorZ's profile photo
Add a comment...

Alis Vitae

Game development  - 
 
I asked you which programming language on Unity is the best for you. The most people vote for C#. Lots of people vote for UnityScript, but for Boo voted only 5 people.
3
Diego Sarmentero's profile photoParnassian Studios's profile photo
2 comments
 
I really like rigid rules and lack of ambiguity in programming- it makes it easier to maintain good habits and it makes debugging a far simpler process. Javascript (or UnityScript, whatever) doesn't quite match up to C# in that respect, and Boo is exactly the opposite- where you can write whatever gibberish you want and it'll likely compile without errors (does that language even have errors?).

C# is also the most easily usable language outside of the Unity environment, and many of us make our little 'helper tools' in Visual Studio and such, so that's likely why it has the popularity that it does.
Add a comment...

Bin An

Game development  - 
 
Hi all, 
I have a noob question.
I am making my 2D pixel game and my characters are 32 by 32.
Since my sprites are all so small, I am always dealing with really small float numbers (for example circle collider with radius 0.1, offset -0.06).
Is there a way I can change the unit of the game world so that a 32 by 32 sprite becomes 1 by 1 in dimensions in Unity? 
3
1
Bin An's profile photoMassimo Mondo's profile photoJordan Courtaux's profile photo
4 comments
 
I'm glad that helped! ;)
Add a comment...

Yannick Comte

Game development  - 
 
How do you communicate between each of your scripts ? When I started to use Unity, I often used GameObject.Find("Blabla").GetComponent(In Children)(...).
Now I use a static event dispatcher but it has its limits..
An easy way is to use a static variable into your main classes, such as Player, UIManager, etc. and call them when you want. By the way this is not a very proper solution because your objects can't be used in another project.
Finally, when you create a game, you must focus yourself on the game, right ? So how to prevent bad code for you ?
Thanks!
58 votes  -  votes visible to Public
GetComponent(s) all the time
43%
A static message dispatcher
16%
Static classes (player, managers)
28%
Other (explain a bit)
14%
2
1
Joel Stransky's profile photoTristan Bellman-Greenwood's profile photoYannick Comte's profile photo
5 comments
 
I store references and just call functions. Good old fashioned object-oriented programming. 
Add a comment...

John Michael Stock

Game development  - 
 
Are there any 3rd party tools for rendering huge 2d tile maps that handle things like chunking, JIT resource loading, scoped collision processing etc?

I'm looking for a special type of renderer for 2d tile based maps that takes into account that the maps can be massive in scale. When maps are massive you can't load everything into memory at the same time and/or process all of the physics/scripts on a map. Instead you have to 'chunk' the map data and use scoping for other things while loading resources dynamically.

Just to emphasise, I'm not looking for a regular 2d map renderer and editor.
1
Add a comment...

tareq ttatt

Game development  - 
 
Hit Boxes game is an amazing challenge.
You have to press on the boxes before it fills your phone.
36 boxes!


https://play.google.com/store/apps/details?id=air.game.HitBox
Hit Boxes game is an amazing challenge. You have to press on the boxes befo...
1
Add a comment...

Alis Vitae

Game development  - 
 
Click On GameObject tutorial. Hope you will like it! :-)
1
Add a comment...

G4Evideos

Game development  - 
 
whats wrong with my script, the gameobject doesent reappear!!?? 

var Reflection : GameObject;

function Update (){
if(Input.GetButtonDown("Fire2"))
{
Reflection.active = false;
}

if(Input.GetButtonUp("Fire2"))
{
Reflection.active = true;
}
}


thx
1
李大炮's profile photoG4Evideos's profile photo
3 comments
 
Christophe, I tried your SetActive method but it still wont reappear. Could you please correct it for me? (js)

var Reflection : GameObject;

function Start (){

Reflection.SetActive(true);

}

function Update (){
if(Input.GetButton("Fire2"))
{
Reflection.SetActive(false);
}

else
{
Reflection.SetActive(true);
}
}
Add a comment...

Suzit Punk

Game development  - 
 
 
Check this out guys,my first game....please rate and comment
You are Connor. You have returned to your city only to find it in chaos. A ...
View original post
2
Add a comment...

Raja Biswas

Game development  - 
 
Unity5 2D Car Racing Game Tutorial - Adding Pause Button
get all the videos here: http://bit.ly/chargergames
4
Add a comment...

Alis Vitae

Game development  - 
 
New tutorial! I hope you will enjoy it!
4
Add a comment...

Alis Vitae

Game development  - 
 
Hi, we made a new Unity Tutorial! Please look at it!
2
Ustes Greenridge's profile photoAlis Vitae's profile photo
4 comments
 
+Ustes Greenridge I know! That's why we added subtitles! :-)
Add a comment...

G4Evideos

Game development  - 
 
I know this sound really simple but could anyone give me a simple script that deactivates the Animator component as long as I hold a Mousebutton? And when I let the button go, Animator is set to active, I tried everything but I really suck at scripting. Thanks!
2
Андрей Копысов's profile photo
 
C#:
GetComponent<Animator>.enabled = !Input.GetMouseButton(0);
Add a comment...

JGN Games

Game development  - 
11
1
moises arroyo's profile photo
Add a comment...

Bartłomiej Wołk

Game development  - 
 
Hi, I made a #3 update to the OneDayGame. This time, I made zombie blink their eyes. Take a look at the vid. and read about how it was done, https://bartlomiejwolk.wordpress.com/2015/05/18/onedaygame-update-3-blinking-eyes/
Third update on the OneDayGame. Topic: blinking eyes.
1
Add a comment...

Nasa Nguyen

Game development  - 
 
Unity 5: How To Make a Game (Crossy Road) Creating The Prototype

How to make a video game. Crossy road. In this tutorial you will begin your exciting journey through the first part of how to make a detailed video game for complete beginners.

Watch video: http://bit.ly/1Fl46bz
14
3
Ankesh Samarth's profile photoBill Pratt's profile photoMichael Sneider's profile photoAlfian Nathanufa's profile photo
2 comments
 
It's very helpful..!! Thanks
Add a comment...