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 Articleminimum 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 ArticleEntering 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 ArticleHow 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 ArticleUsing 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 ArticlePlatform 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 ArticleScroll 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 ArticleDetermine 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 ArticleMove 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 ArticleSide 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 ArticleFallout 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 ArticleWhat 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 ArticleHow to make wheel collider with Physics2D?
How would I make a wheel collider that works with my other Physics2D components? I do not see it as an option under Physics2D, and I am not sure how to use the standard wheel collider with my other 2D...
View Articlenoob not being abel to find helpful tutorials for project
Hi there, *As the title suggests, i'm relatively new to coding and unity. I've been delving in, getting to grips, and using different tutorials for the past week but end up frustrated with how...
View ArticleNew to unity
In most normal engines the camera being set to follow a player would be a very simple process of a check box to follow with some parameters for how soon to begin chasing the player allowing for that...
View ArticleRaycasting in a 2D side scrolling shooter
Ive been attempting to make a 2D side scrolling shooter. Howeverm=, i cant seem to get any kind of raycasting to work with 2D colliders. Ive been told to try linecast but i do believe that they cannot...
View Article2d sidescroler offies sim qrest system for fbla
i am makeing a 2d sidescrolling offies sim for fbla but i wont to put in a qrest system like you talk to some one then you go to a computer and pres e and it wold then take you to the next level or...
View Articleqrest system
i am makeing a 2d sidescrolling offies sim for fbla but i wont to put in a qrest system like you talk to some one then you go to a computer and pres e and it wold then take you to the next level or...
View ArticleLeapfrog background set pieces as camera scrolls?
I'm am extremely new to coding and am not sure how to go about doing this. I'm working on a side scrolling runner of my own. I have done the unity runner tutorial module and tried to get it to work for...
View Article