touch anywhere on screen to jump
Hey guys I need help to make a character sprite jump when there is a touch detected anywhere on screen. So can you please tell me the code that registers the touch on screen.. Thanks in Advance
View ArticleHow to Shoot a 2D texture??
Hi, im making a side scroller game and i want to make a 2D texture(a sword slash) to go forward when i press a button... also while the texture is travelling i want it to keep constantly changing...
View ArticleHow do you lock the first-person CharacterController to only walk along the...
I am making a 2.5D sidescroller and want to know if there is a way to take the built-in CharacterController and either: 1. Lock the movement to be only on the x-axis and y-axis(so that the character...
View ArticleOn side scroller 2d, camera zoom out when jumping
I working with this: http://unity3d.com/support/resources/tutorials/2d-gameplay-tutorial.html And I would like the camera to zoom out when the character jumps, ... any ideas?
View ArticleSide-Scroller
Is there any way that I can take the Unity Construction worker 3d character and make it so that he can only walk left and right like it a Side-Scroller. I have never worked in a Side-Scroller...
View ArticleHelp with Invisibility script.
Ok I am making a 2D side scroller and I am trying to add an Invisibility effect where it turns down the player opacity but also makes it so the enemys cant see you. Right now though I am only trying to...
View ArticleImprove smooth 2d side scroller camera to look more fluent
Hi, I am using a very simple linear interp camera with the key lines being Vector3 newPos = target.position + new Vector3(0, relativeHeigth, -zDistance); transform.position =...
View ArticleFire a Projectile towards a specific object?
I'm making a 2D Side Scroller and I'm trying to launch a projectile from an object called "StrawSpawn" towards and object called "Target" at a speed of 20. With my current code my projectile always...
View ArticleSide scroller shooter , not firing from character
In my side scroller I have a character which i can move around.. i have bullets which destroy themselves after the screen ! i attached the fire script to the character.. but when I do fire with space...
View Articleexpecting :, found ;.
Hey guys. I'm trying to make a basic Metroid/Contra style side-scrolling shooter. Things are going great for the most part, but I'm having a few issues making my character turn. I've been messing...
View Article2.5D Side Scroller Gun Aim
We have tried multiple solutions on our own and none seem to quite work. So I'll explain our situation. We have all 3D models and our main character has a rig. We want the shoulder or elbow joints to...
View ArticleCan only move forward or back, no left or right.
This is really strange, I am very very new to programming so be patient and bear with me please. As the title says I can only move my character forward or back and not sideways, the funny thing about...
View ArticleClimbing Walls
I am trying to create a side scroller game but having a little trouble on climbing. Is there a script someone can help me with which can make my character climb on the side of the walls? Is there...
View ArticleBlurry movement problem
I am trying to make a side scroller, and my approach so far has been to keep the player in a fixed position and move the environment by him. Within a FixedUpdate, I am merely doing a very simple...
View ArticleHow do I use mathf.clamp to make boundaries for a camera
Hi everyone. I'm new to using Unity and C#. I am working on a project for uni and need some help please. I'm trying to make a side scrolling shooter game, like R-type. I am trying to make the camera...
View Article2.5 D beat em up
I want to make a beat em up game similar to Dragon's Crown using Unity. I'm very new to this so can someone direct me to places that can help me learn how to do this?
View ArticleRefining a 3d side scroller camera script
Hey all, So the title is a bit vague, but let me go ahead and elaborate. First off I don't have much experience w/ code. I have used C++ in the past and am learning javascript atm. I know most basics...
View Articlemaking boundry for sidescroller
hey all, im trying to make a simple script so if my player object hits the top of ther screen he stops moving up and just stays on screen at the top until he is moved down. and visa versa for the...
View Articleflicky type game in unity 2D
hi all, i'm a newbie in unity 2D game development,i really love unity, its features and started to use for developing my **Flicky type game**.i'm so curious to develop a game like flicky. but i don't...
View ArticleHow to get GUI text to appear on screen in 2d?
Hello :) i asked this question in the 2d forums (and now i think that might have been the wrong place to do so). To make this easier to understand; ---------- My game is 2d side scroller (first game...
View Article