Quantcast
Channel: Questions in topic: "side-scrolling"
Browsing all 99 articles
Browse latest View live
↧

Creating An "Attribute" Mechanic?

I am making a 2D, side-scrolling game. I want to attach a script to my player object. I want to create an array of "attributes" like sick, healthy, or strong for example. Each attribute would have a...

View Article


minimum and maximum position for sides of a camera

I am making a side scrolling game and would like to set minimum and maximum x and y values for the main camera. The camera is positioned at the player if it is inside the range otherwise it is...

View Article


Entering 2D Buildings?

Hello, I'm trying my hand at a 2D side-scrolling/platformer action rpg in Unity2D (I know, I know), and I was wondering what's the best way to deal with buildings in 2D. I find entering buildings easy...

View Article

How to make one restart screen for an entire game

I have a separate restart screen with a restart button and a quit button, I want to make it so that the restart button just reloads the last played level and I want to be able to do this for every...

View Article

(Help) Pick up item animates to point and becomes a platform

Hey Everyone! I am trying to script a interesting game design element into a game I am working on. It's rather simple really. I would like my player to touch and activate an item in the environment....

View Article


Using a MeshCollider for a tile-based 2d sidescroller terrain collisions

I've been working on a 2D engine similar to Terraria's, I have chunks composed of a set amount of blocks and render them using a single mesh for better performance. My problem is that I'm having a hard...

View Article

Platform color to kill player if player does not match

Hi, I am just starting out with Unity and C# and have actually been making pretty good progress, but a game mechanic I want to introduce is giving me problems. It is important as I wish to use it quite...

View Article

Scroll Bar on a GUI Box?

Hello, I'm looking for a way to add a scroll bar onto a box in my GUI. Here is my box: function OnGUI () { GUI.Box (Rect ((Screen.width/12),(Screen.height/12),(Screen.width -...

View Article


Determine if GameObject with no renderer is within Orthographic camera bounds

I have a 2D sidescrolling game that is pseudo randomly generated. It reads in "rooms" which are 10x10 tile segments. I have a GameObject Room which basically manages all the tiles, which are 2D...

View Article


Move forward + allow to step sideways.

This is likely an easy one. I can see the issue but am unsure what the most efficient way to fix it would be. I am basically making an endless run type prototype. I have the player moving forward on...

View Article

Side scrolling menu

Any resource or help is available for creating this type of side scrolling menu. Please give me some tips for creating this type menu. ![alt text][1] [1]:...

View Article

Fallout shelter interface

how would you make a game like fallout shelter, where you dont have a main character, just characters that you click on and assign them stuff?

View Article

What size should i have my atlas if im trying to do a game for pc xbox and ps?

Alright here is my question... I'm doing (or trying to do) a 2.5d side scrolling platformer, im targeting pc users and hopefully xbox one or ps4. My biggest inspiration is Ori and the Blind Forest, i...

View Article


Getting the camera to scroll when the player hits the edge of the screen?

Hi, Im fairly new to Unity and Im just trying out a few camera set-ups for a 3d side scrolling type game. What I would like to do with the camera is have it scroll ahead a set amount when the player...

View Article

Really need some help with my bullets firing opposite and not following...

Hi, I've posted this before. I have a script that shoots my bullets backwards (please look at attached GIF to see what happens). I think it's because transform.forward is meant to be used in...

View Article


Enemy AI problems

I've been looking for a solution to this for a while, but most solutions don't have what I'm looking for. I'm trying to make a side-scrolling brawler, but I can't seem to find a way to make the enemy...

View Article

Scrolling Repeated Background - background is scrolling but not repeating

Hello, I looked over [this][1] tutorial to apply to my game (also a 2D side scroller). I pretty much copied the scripts exactly, but modified them slightly to fit my code. The backgrounds are...

View Article


Why is my Player slowing down between two Tilemap Colliders?

Hi Guys, I am currently working on a 2D sidescrolling action game - I've come pretty far, but i am currently stuck at a strange problem. When the player crouches I am **changing** from a...

View Article

Scrolling Effect with Multiple Objects,Infinite Side Scrolling with Multiple...

So I have a script that changes a specific material's x element of the offset value in order to get a endless scrolling effect. I use this script for background and for some other object. This is fine...

View Article
Browsing all 99 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>