Quantcast
Channel: Questions in topic: "side"
Browsing all 103 articles
Browse latest View live

Trying to get character to instantly rotate in 2.5d side scroller

So I need the character to "flip" sides whenever the mouse is on the left or right of the screen. I'd like to say I'm very new to scripting and only know the basics, which is part of my problem. I...

View Article



Camera positioning.

Hi all, I've been following this forum for a while and toying with unity on and off too. I've just started a new project (complete newb) and have hit a stumbling block. I am using all the assets that...

View Article

Isolate z,y Movement For 2d Side Scroller

I've been messing with different scripts and did the tutorial but can get what I need. Basically, I need my character to move on an z,y plane. Any help on where to start with a java script or where to...

View Article

Help Me with My Script Pls??????

- List item So, I am Trying To make A temple run game and i am not able to jump or make it go side ways Please Help following is my Script public var speed = 10.0f; var jumpSpeed = 20.0f; var gravity...

View Article

Side Scroller Script, Need help

Hey guys, Im using the basic character motor and character controller scripts but im trying to edit them in such a way that they only accept left and right motion, at the moment the game works fine,...

View Article


Any good NEW 2D side scrolling tutorials?

I've been trying to find a new and current 2d side scrolling game tutorial. I've seen some from 2011 or 2010 but they're using very old versions of unity...which makes me believe in the newer versions...

View Article

Enemy Broadside AI

So I've got the details of an enemy broadside laid out, the only problem being that I can't figure out a way to detect if the side of the enemy ship is facing the player target. I also need to know...

View Article

Detect Side of Collision

I'm making a brick breaker game, and I'm trying to detect which side of the bricks the ball is hitting, so I can know which way to make the ball bounce. I have this script attached to each of the...

View Article


Programatically create cube and assign different colors to each side

Say I have an empty `GameObject` and I want to attach a script to it that creates a cube with each side having a different color when the game is run. How can I do this?

View Article


have 3rd person make a side jump

Hi All, I am trying to make my player side jump since a few days. For the normal jump I use the classic: if (Input.GetButtonDown("Jump")) rigidbody.velocity = new Vector3(0, 10, 0); but I cant find any...

View Article

Make a pillar fall in the right direction

I have an object with a hinge joint attached that I want to make fall in my direction. At the bottom of my object, we can see the anchor. With my current code, the object would fall in the direction...

View Article

Side battle tutorial using 3d objects

Excuse me, im trying to find out how to create a side battle using 3d object.. the game will goes like tekken series or soul calibur series where player face enemy on 1vs1.. but my is turn battle...

View Article

How to make a side scroller dirtbike move across hills.

I am working on a side scroller game. There are hills and obstacles. The problem is, no matter what I try with rigid body's on the wheels, the entire gameobject, just the frame, whatever, It wont work....

View Article


Code to detect side of an object a point is on is offset

I am using a raycast to determine when a player has clicked on an object, so that they can connect two objects together. While I can just let them try to line up the objects, I think it would be better...

View Article

How to determine which side of an object a raycast has hit?

Is it possible to determine which side of a *GameObject* a *raycast* has just hit? I wan't to do this becasue I wan't you to be able to click a surface in a 3D world, and an object will be placed on...

View Article


Sprite Manager Animation/Walker Brothers Mario

I am looking into Sprite Manager and I know SM2 supports sprite animation but I was wondering if it is possible to use simple images to create moving sprites for side scrollers with the original SM and...

View Article

MySQL Database Highscore

Hey ! I've seen this wiki article about Server Side Highscore [http://www.unifycommunity.com/wiki/index.php?title=Server_Side_Highscores][1] I've tried to make my own MySQL database as it is asked in...

View Article


What is the best way to spawn enemies?

- My Game: 2d Side scroller like OMG pirates! game. - Problem: I need to know what is the best way to spawn enemies in code. - My solution: My solution is this for now, I will have transparent trigger...

View Article

projectile to cursor for a side scrolling shooter

I have a game project due, it is my final and our time frame is 9 days; which isnt that bad considering that I have a small scope for my game. The only hang up that I have run into is getting my...

View Article

Client-side smoothing - example script trouble!

Hi there, I have an application set up where I can connect multiple instances over a local network. At the moment I am just moving a box, whilst I figuring out how to get client-side smoothing working....

View Article
Browsing all 103 articles
Browse latest View live




Latest Images