Unity Community |
Hi again!
This time I'm back from my fight with Lab 2 project. Princes is down, gone out with the dragon
Here's the blog post: http://pirateshold.blogspot.com/2012...overboard.html
Thank you for your great work! Moving now to Lab 3.
Quite nice, will check it out tommorow![]()
redacted
Last edited by southheat92; 07-16-2012 at 08:39 PM.
Actually, you're OK. The dark skin is just a 'pro' skin, the grid is just a setting that you'll learn about later, and the details on the cube appear when the cube is selected. Nothing is particularly broken from what you're describing.
--
TAZ
Hey looks great, out of interest, how did you do the animated planets? Are you basically adjusting the tiling offset of a texture that's applied to the primitives?Hi guys, finally i finished my Lab 1!
You can play it and visit my blog here :
http://www.BrainvibeBlog.tk/
And again thanks for the great tutorials you've created!
Moving now to Lab 2 xD
Hey Gnatty! Thanks.
What i did was simple. I first created spheres(planets), added different textures to each of them, and then applied a different rotations to each planet using transform.rotate() and transform.rotatearound(). If you need more info just ask =)
Follow me on my Blog: www.BrainvibeBlog.tk
@zircher, thanks for the response!
The videos have been great so far, but I have had trouble finding answers to several low level questions that have come up during my viewing. I like to make sure that whenever I see a difference between my screen and the video that I know why that difference is there. I'm currently working through the animation videos shortly before the first two exams and am having some trouble with the scripts. Specifically, my animation will not automatically play when I enter game mode like it does in Prof Walkers video. I have googled it but all the hits I have found have been dealing with problems way over my head at this point. I feel like this issue is a small difference in my settings, but I believe I'm too new with the software to be able to figure it out just yet.
So in short: how does one get an animation to automatically play when entering game mode from the scene view?
For those who have finished lab 2:
I am almost finishing this lab, but there is something that i can' t make it work which is the pickup weapon feature and it's making me crazy!
I know it's a lame question but.. how did you guys did this part of the project?
I have 1 socketProjectile for normal shooting and then i want to activate socketProjectile 2 and 3 when the player picks up the weapon. But i can't figure out how i can make this happen.
Everytime he picks the weapon he just shoots one time.
Any ideas ?
Follow me on my Blog: www.BrainvibeBlog.tk
Oh yeah, of course.
/slaps own forehead/
Follow me on my Blog: www.BrainvibeBlog.tk
Anyone can help me here ? :PFor those who have finished lab 2:
I am almost finishing this lab, but there is something that i can' t make it work which is the pickup weapon feature and it's making me crazy!
I know it's a lame question but.. how did you guys did this part of the project?
I have 1 socketProjectile for normal shooting and then i want to activate socketProjectile 2 and 3 when the player picks up the weapon. But i can't figure out how i can make this happen.
Everytime he picks the weapon he just shoots one time while he's colliding the weapon upgrade box.
Any ideas ?
Follow me on my Blog: www.BrainvibeBlog.tk
if i remember from when i did it i did the following
I set a variable called socketNumber which = 1 at the game start
when the pickup is collected changed the socketNumber var to 2
then when space is pressed to shoot just do an if statement to check what value socket number is at
if socketNumber == 1 shoot from the first socket
if socketNumber == 2, shoot from the second socket
or you can do a switch statement on socketNumber if you know how they work
hope this helps
if i remember from when i did it i did the following
I set a variable called socketNumber which = 1 at the game start
when the pickup is collected changed the socketNumber var to 2
then when space is pressed to shoot just do an if statement to check what value socket number is at
if socketNumber == 1 shoot from the first socket
if socketNumber == 2, shoot from the second socket
or you can do a switch statement on socketNumber if you know how they work
hope this helps
I've done it! Thank you so much!!!
i don't know why i didn't thought about that ! i was getting crazy already lol
Thanks again my friend![]()
Follow me on my Blog: www.BrainvibeBlog.tk
Where can I get the audio files for the projects? I'm on Lab 1 and no source is given...
Thanks
I think you just need to find somewhere to download some sounds from
just have a look round on the net, there's loads of free game sounds available
and if not download sfxr http://www.drpetter.se/project_sfxr.html and create your own (it's used in the next project as well)
hope that helps
I'm new to all this and seeking help with my setup of IDE.
I have watched all the series 1 and 2 videos. When I did the java scripting videos I happened to already have notepad++ and used it instead of MonoDevelop.
I wanna keep things the same as the videos and one I feel more comfortable with all the programs, then I will branch out and try the other programs.
Now my problem is when setting up Unity Develop I am unsure if I am setting it up correctly(I don't think I am). Is Unity Develop the same as notepad++ with more bells and whistles? I am not even sure if im stating my problem well enough because I am so lost with Mono Develop, Unity Develop, and notepad++.
I'm new as well using Unity, so far I've been using MonoDevelop and never had problems so far. I think you should use the one you're most confortable with.I'm new to all this and seeking help with my setup of IDE.
I have watched all the series 1 and 2 videos. When I did the java scripting videos I happened to already have notepad++ and used it instead of MonoDevelop.
I wanna keep things the same as the videos and one I feel more comfortable with all the programs, then I will branch out and try the other programs.
Now my problem is when setting up Unity Develop I am unsure if I am setting it up correctly(I don't think I am). Is Unity Develop the same as notepad++ with more bells and whistles? I am not even sure if im stating my problem well enough because I am so lost with Mono Develop, Unity Develop, and notepad++.
If you really want to use notepad ++ this link should help you :
http://unifycommunity.com/wiki/index..._script_editor
It has all the steps to setup your notepad++ to use with unity![]()
Follow me on my Blog: www.BrainvibeBlog.tk
Thanks!I think you just need to find somewhere to download some sounds from
just have a look round on the net, there's loads of free game sounds available
and if not download sfxr http://www.drpetter.se/project_sfxr.html and create your own (it's used in the next project as well)
hope that helps
Hi guys,
Thanks for the tutorials been very helpful with Getting into Unity!
My question is about the player properties. I have my .js file verbatim like the video. I'm able to switch the textures, BUT, after the texture switches, I can't move the character. I went over it twice & even went over part 4.2 to make sure I didn't miss anything but apparently I did.
What am I missing that mario doesn't move/shoot when I call SetPlayerState()?
Code:
enum PlayerState { /*index of player states*/ MarioDead = 0, MarioSmall = 1, MarioLarge = 2, MarioFire = 3 } var playerState = PlayerState.MarioSmall; /*set the display state of player as small in inspector*/ var lives : int = 3; var key : int = 0; var coins : int = 0; var projectileFire : GameObject; var materialMarioStandard : Material; var materialMarioFire : Material; var changeMario : boolean = false; var hasFire : boolean = false; private var coinLife : int = 20; private var canShoot : boolean = false; { if(changeMario) /*checks to make sure this only gets called when necessary*/ { SetPlayerState(); } if(canShoot) { var clone; { } { } } else return null; } function AddKeys(numKey : int) { key += numKey; } function AddCoin(numCoin : int) { coins += numCoin; } function SetPlayerState() { /*best way to call up eunmeration is thru switch*/ switch(playerState) { case PlayerState.MarioSmall : playerControls.gravity = 0.0; charController.height = 0.45; transform.renderer.material = materialMarioStandard; playerControls.gravity = 20.0; canShoot = false; changeMario = false; break; case PlayerState.MarioLarge : playerControls.gravity = 0.0; charController.height = 0.5; transform.renderer.material = materialMarioStandard; playerControls.gravity = 20.0; canShoot = false; changeMario = false; break; case PlayerState.MarioFire : playerControls.gravity = 0.0; charController.height = 0.5; transform.renderer.material = materialMarioFire; playerControls.gravity = 20.0; canShoot = true; changeMario = false; break; case PlayerState.MarioDead : changeMario = false; break; } } @script AddComponentMenu("WalkerBoys/Actor/PlayerPropertiesScript")// asign this script to menu
Thanks in advance...
scr33ner
Last edited by scr33ner; 07-22-2012 at 03:23 PM.