Javascript Canvas Tag Unity.
Hey guys, It's great to be back on Unity again. :) I've been programming websites for the past few months and have learned javascript inside and out (as well as php mysql html and css). The first...
View ArticleIs There An OnMouseStop?
Ok let me try to explain this as simply as possible. When the player clicks, a pivot point from where he clicked is made, this pivot point will be the position of the mouse cursors 'x' position at the...
View ArticleC4d r13 import problem
Hey Guys, My god its so good to be back! unity is a gorgeous program, coming from c4d, motion and final cut pro. So im back on my game, and my characters joints are all animated wrong: Here is how they...
View ArticleguiText.text = gameobect.name Not Working?
When you mouse over a gui texture, I would like you to be able to see its preset, in - game, name. To achieve this I am using: if (guiTexture.pixelInset.Contains(Input.mousePosition)) { guiText.text =...
View ArticleDull Colors On Terrain
Hello again, I ditched any idea of tessellation in unity 3. Instead I'm using a height map on a terrain. When I put a texture on it I get this: ![alt text][1] But I want it to look like my original,...
View ArticleParallax Occlusion mapping shader
Long time since my last question. (I haven't been slacking, in - fact iv'e even finished the programing side of the game) I want my Island to look, in unity, the way it looks, in Z brush. Some research...
View ArticleHinge Joint Segments rotating offscreen
I am making a 2d game and have a worm for a character. the character is made of 5 segments connected by hinge joints, 1 big one for the head which is what interacts with the world, and 4 small ones for...
View ArticleProblem with joints
I am trying to make a 2d game. I have a character who jumps made of segments, one big and four little ones. all of the segments are planes with colliders and rigid-bodies attached. I want the little...
View ArticleHow do I make units pixels?
I have a lot planes. they have a scale of 1,1,1. I need they're individual scale's to be xAmount of pixels on the x and zAmount of pixels on the z (I'm working on a 2d top down game). As you can...
View ArticleHow do I Fire an Arrow Properly ? [SOLVED]
I am making a 2D game, seen from the left, using textures on planes (some of which have... box colliders). And would like some help to achieve the following: I have a screen which is 480 pixels wide...
View ArticleSmall video files or sprite sheet animations?
Which do I use? I have motion 5, which is a powerful video engine. I can make files as small as 14 x 14 pixels, which is the size i need for my game, the file can then be compressed. Alternatively I...
View ArticleHow do I rotate this plane to face the position of the mouse?
I rotate a plane to face a certain way, like this.. Script.js: if (canRotate == true) { rotation = Vector3(Input.mousePosition.x - Screen.width / 2, 0, Input.mousePosition.y - Screen.height / 2); }...
View ArticleHow do I spawn Offscreen?
Hi, This is the updated script. My player constantly changes position, when he moves a message is sent (Direction) to spawn a particle. The problem I am having is that even though most of the particles...
View ArticleHow Do I Edit The Size Of A Value With A Number? [Solved]
I have speed based on a parameter - how many particles I have. My default and minimum speed, is 4. When I receive the message to increase my speed, I want to increase the speed based on the amount of...
View ArticleEARTH CALLING ANSWER!!!!
I am making a 2d game. I have an object, that I want to move by swiping. But I want to move in the direction of the swipe (not to the swipe). I have a script but it doesn't work, because I don't know...
View ArticleHow do I Adjust The Colour Of My Object By Percentages?
Hello, and how *are* you? I'm trying (and very, very hard at that!) to change the colour of an object by picking up other objects, what are a certain colour. For example: If I was to pick up two red...
View ArticleHow Do I Procedurally Generate Clouds ?
Hello Community! I am giving procedural generation a crack. the goal is to instantiate planes (clouds) in a random area on screen. In my case 0 - 480 on the x - axis, and 0 - 360 on the y - axis. The...
View ArticleHow do I adjust a GUITextures width, from the left?
So I have been googling everywhere, and have found nothing. My problem is that when I attack my enemy, its health bar is shrinking from right to left. The reason, I think is this: *Width Right-most...
View ArticleHow Do I Drag And drop GUITextures From Set Positions?
I simply want to be able to loot an enemy and have the looted item go to a default position in the inventory. If the default position is taken, then I want the item to go to the position next to the...
View ArticleHow do I un nulify a nullified object?
I nulled an object and I would like to un null it. Like when I receive a message the object gets nulled. How do I un nullify it? Thanks for any answers!
View Article