Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by OmegaVemon · Jan 10, 2011 at 08:44 PM · camera2dplane

2d games: Camera settings?

So I want to create my 2d platformer game.

I want the game screen so be, dunno, 1024x768. For Mac.

So I went into Photoshop and made a simple 1024x768 background image, for the sky.

Now I go to unity, make a plane, put my image in it, and.......

  • No matter what I do with my main camera, I can't seem to make a 1024x768 screen to just capture the background
  • Everything is dark. Is there a way to disable the lighting system?
  • How come my plane is showing the bitmap like flipped vertically? And I can't rotate the plane by its Z axis to flip it!

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Eric5h5 · Jan 10, 2011 at 09:38 PM

Are you sure you want to limit it to specifically 1024x768? Especially on a Mac, where the default aspect ratio for 90% of users is 16:10 or 16:9, not 4:3. Since you're using a 3D engine, it's more typical that a game will scale to any arbitrary resolution.

Anyway, see here for making a background image using a GUITexture.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by HolBol · Mar 24, 2011 at 04:33 PM

make the plane a child of the camera, and move the plane behind the level. Problem solved, then if you scale the image to support 16:9 ( so make each x or y scale number a multiple of the respective ratio).

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by bernardfrancois · Oct 20, 2011 at 08:28 AM

Everything is dark. Is there a way to disable the lighting system?

You'll have to use the 'Unlit > Texture' material (this can be set in your material, in the inspector pane). This will make sure the material will ignore the lighting system.

How come my plane is showing the bitmap like flipped vertically? And I can't rotate the plane by its Z axis to flip it!

Also in the material's settings in the inspector pane, you can modify the 'Tiling' values (both of them set to 1 by default). You can try setting either the X or Y value (or both) to -1. The fact that this is necessary depends on the way the UV coordinates are set in the object you're using. If you're using Unity's built-in plane object, there's nothing you can change about this, so you're obliged to modify this setting.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

How to simulate 2D layers in Unity 2 Answers

following camara issue 1 Answer

Why is part of object outside camera frustum visible? 1 Answer

Isometric camera 2d or 3d 2 Answers

2D Camera Smooth follow, FixedUpdate and LateUpdate odd difference, help needed. 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges