I got myself back on track and here's another tutorial for you guys. I've got a lot more stuff I've learned and I'm hoping I can teach most of it to you.
Here's an active crosshair tutorial for you guys.
Showing posts with label UnityScript. Show all posts
Showing posts with label UnityScript. Show all posts
Thursday, July 19, 2012
Monday, April 23, 2012
Project DISCO Platformer RE-ENVISIONED
What's going on guys, There's a new video of the new and improved project disco!
It's a sidescroller now!
Sidenote: We are in need of collaborators with the 3D and 2D art as well as Audio!
Here are some links that will help you out:
The youtubes: http://www.youtube.com/user/TheMackNT
Unify wiki link : http://unifycommunity.com/wiki/index.php?title=Main_Page
Spritesheet Animator Script: http://unifycommunity.com/wiki/index.php?title=Animating_Tiled_texture_-_Extended
Unity3D: http://unity3d.com/
Labels:
2D,
3D,
About,
Artist,
Development,
Disco,
HELP WANTED,
Side Scroller,
The Return,
Unity,
UnityScript
Wednesday, February 22, 2012
Some Fixes!
So today I decided to sit down and take a look at the game, and I found out.... you can't really lose! What fun is that!? So I added a way for you to die. It's not a huge thing if you lose, it just restarts the level you're on. So just adds a little more point to the game. On a side note, I sat down really quick and I added random load screens so you get something different (almost) every time! Just wanted to throw a post up real quick so thanks!
Tuesday, February 21, 2012
New features added!
So today I took a look at what I said I was going to add to the game and I added some stuff. First and foremost I implemented a save game function, now as soon as you get to a level it automatically saves your progress. I'm not going to make it to where it loads you up to exactly where you were, they're not huge puzzles, so that would be kind of pointless (Check point system? maybe?). I added some music at the title screen from freesound.org. It's just a placeholder until I can actually get something composed for it later. I also added a custom mesh, nothing too fancy, just a hexagon with a "rocky" feel to it. I'm starting to form my opinion on where we'll be going with this next as far as artistically. We'll see where that goes. It's going to be story driven, but not your contemporary story that's for sure (humorous?). I also added a loading screen, it's not a scene that I put in between each level scene, but a texture that I fill to the screen right before a scene loads. So just wanted to do a quick update. I know I'm filling you guys up on text, but I'm going to have another video up soon! Tutorial or Demo? We'll see!
P.S.
I added a new page to the blog dedicated to scripts! Any scripts I upload in the future will be there!
P.S.
I added a new page to the blog dedicated to scripts! Any scripts I upload in the future will be there!
Monday, February 20, 2012
Future Features!
This has been keeping me up all night, so just to get my thoughts down I'm going to write this out.
What I plan to add in the near future:
What I plan to add in the near future:
- Save System
- Point System, or Story line?
- More Puzzle types
- Rigid body movement?
- switches and what not
The thing that's been keeping me up has been the save system. I have a sort of Idea of how to tackle this, but here it goes. I'm going to use the playerprefs class to save an integer, this integer will be directly linked to the level completed. So by this method I will be saving only one variable, and in between maps. For instance;
Player clicks "Load Game"> Level Completed variable = 2 > load second level.
or
Player clicks "Load Game">Level Completed variable = 0 or null > Display message "No Game Started"
My problem is that I don't want a million loading screens for every time in between levels, so I need a variable that won't change in between levels and every time a level is completed it will add one to the Level Completed variable which is saved by the playerprefs class, but I'm getting tired so now my brain is wandering to new problems that didn't exist before, and probably won't exist in the morning. So I say to everyone reading. Goodnight, and also, thanks. ;)
Sunday, February 19, 2012
Video Demo!
Here's the video demo of our new project! Check it out!
Labels:
3D,
Development,
Disco,
Main Menu,
Pause,
Pause Menu,
Scripting,
Unity,
UnityScript
Saturday, February 18, 2012
Pre-demo Update
So before I showed a demo video I wanted to add more to the game. So here's just a brief overview of what I added:
- Footstep Sounds (Randomly played from array)
- Jump Sounds(Random)
- Rushing wind effect when falling at high speeds
- Title Menu
- Pause Menu
- Reset Level button
- Better power-up pick up physics
- Last but not least, an objective!
So those are just a few of the things I have added over the past couple of hours, hopefully sometime during the week I can get a little demo uploaded to my youtube, but for now keep an eye out for it on my youtube channel!
Thanks,
-Hunter
Labels:
About,
Development,
Disco,
General,
Main Menu,
Pause,
Pause Menu,
Scripting,
UnityScript
Thursday, February 16, 2012
Pause Menu Tutorial!
Here it is guys! I'll be uploading our Demo here soon, so keep an eye out for that! Thanks to all of you that watch!
Pause Menu Script!
Here's a script that's extremely similar to the main menu script. It's for the pause menu in the tutorial that's on YouTube right now!
var menuHeight:float=500;
var menuWidth:float=500;
var buttonSpacing:float=25;
var mainMenu: String = "MainMenu";
var titleTexture:Texture2D;
var customSkin:GUISkin;
var customStyle:GUIStyle;
function OnGUI(){
GUI.skin = customSkin;
GUILayout.BeginArea(Rect(Screen.width/2-menuWidth/2,Screen.height/2-menuHeight/2,menuHeight,menuWidth),customStyle);
GUILayout.Space(50);
GUILayout.Label(titleTexture);
GUILayout.Space(buttonSpacing);
if(GUILayout.Button("Main Menu")){
Application.LoadLevel(mainMenu);
}
GUILayout.Space(buttonSpacing);
if(GUILayout.Button("Exit to Desktop")){
Application.Quit();
}
GUILayout.Space(buttonSpacing);
GUILayout.EndArea();
}
Thursday, February 9, 2012
Woah! two videos in one day!
I uploaded another video today. it's a tutorial. great learning experience. You guys must think I'm crazy with two videos within the same day! so take a look and enjoy! I'll be uploading the full script as soon as we get it finished! if you comment and stuff like that it encourages me to continue my work and it helps me out a lot!
Labels:
3D,
Development,
Pause,
Resources,
Scripting,
Scripts,
Tutorial,
Unity,
UnityScript
New Project!
Here's an extremely small demo of our first project. it's just a couple hours of work. I learned a lot by making this, and I will be making a tutorial on the Time class in unity. Let me know what you think and throw requests out there if you can! Thanks!
Oh yeah and the sounds are all from freesounds.org
Great place to go for, well, free sounds! Go ahead and check that out and if you'd like anymore info post a comment on here or on youtube!
Oh yeah and the sounds are all from freesounds.org
Great place to go for, well, free sounds! Go ahead and check that out and if you'd like anymore info post a comment on here or on youtube!
Labels:
2D,
3D,
Development,
First,
Main Menu,
Scripting,
Scripts,
Tutorial,
Unity,
UnityScript,
Websites
Monday, February 6, 2012
Tutorial Part 3
Here it is guys, check it out. I hope you all learned a little. I sure did. tell me where I should go next!
Labels:
2D,
3D,
Development,
Main Menu,
Tutorial,
Unity,
UnityScript
Thursday, February 2, 2012
Main Menu
Here's the main menu script. Take a look, ask any questions in the comments.
//mainmenu.js by mactinite
//Simple main menu
var areaHeight : float= 200;
var areaWidth : float= 200;
var layoutCenter : float = 100;
var firstLevel : String = "First";
var buttonSpacing : float = 25;
var customSkin : GUISkin;
var layoutStyle : GUIStyle;
var textureTop : Texture2D;
function OnGUI(){
GUI.skin = customSkin;
GUILayout.BeginArea(Rect(Screen.width/2-areaWidth/2,Screen.height/2-areaHeight/2,areaWidth,areaHeight),layoutStyle);
GUILayout.Space(25);
GUILayout.Label(textureTop);
GUILayout.Space(buttonSpacing);
if(GUILayout.Button("Start Game")){
Application.LoadLevel(firstLevel);
}
GUILayout.Space(buttonSpacing);
if(GUILayout.Button("Quit")){
Application.Quit();
}
GUILayout.EndArea();
}
Tutorial Part 2
In this we start our script for the main menu on a blank scene. Everything from here on out will move pretty quickly and smoothly. Just wait for the next episode coming soon, and the pre-made MainMenu script will be uploaded shortly after this post. Feel free to use it, it's not too complex so you don't need to give credit, though it would be nice ;)
Labels:
Main Menu,
Scripting,
Tutorial,
Unity,
UnityScript
Tuesday, January 31, 2012
Intro To My First Tutorial!
I'll upload the full scripts after the second part, maybe a project file. Let me know what you guys think and what direction I should go next. Thanks!
Friday, January 27, 2012
Quick help with understanding UnityScript
In a UnityScript script you will see something like this :
Now for the people who look at that like "wtf?"
Here's a simple way to understand that;
Say I need Unity to find my computer and turn the power buttton to on, in a Java or UnityScript environment I would tell unity
So to access a script named PowerButton on a gameobject named computer and change the Boolean variable powerButton to an on state we'd approach it like this;
I saw this explanation awhile ago and it really helped me teach myself how make things happen in Unity.
gameObject.GetComponents("MyScript").BooleanVariable = true;
Now for the people who look at that like "wtf?"
Here's a simple way to understand that;
Say I need Unity to find my computer and turn the power buttton to on, in a Java or UnityScript environment I would tell unity
MyHouse.MyRoom.Desk.Computer.PowerButton = on;
So to access a script named PowerButton on a gameobject named computer and change the Boolean variable powerButton to an on state we'd approach it like this;
GameObject.Find("computer").GetComponent("PowerButton").powerButton = true;
I saw this explanation awhile ago and it really helped me teach myself how make things happen in Unity.
Subscribe to:
Posts (Atom)