• 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 Cmlsh · Nov 10, 2014 at 03:08 PM · 2dflicker

Moving object flickers in 2d endless runner game

I'm developing 2d endless runner type game. moving objects like obstacles, coins flickers when they comes into the scene. I've set texture type to advance. pixel per unit to 50.

Comment
Add comment · Show 1
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 White8eard · May 28, 2015 at 06:55 AM 0
Share

can u upload a image or video?

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Cmlsh · Apr 27, 2015 at 11:16 AM

Reducing Pixel Per Ratio solved my problem. Previously it was 100, I reduced it to 50.

Comment
Add comment · Show 2 · 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 pulkitarora · May 27, 2015 at 12:25 PM 0
Share

But pixel to units increases the size of the sprite. and also flickering and shaking doesn't stop. In case any other way to remove it.

avatar image nixius · Jun 12, 2015 at 09:48 AM 0
Share

$$anonymous$$y scenario was several canvas objects with buttons on each one, I switch between canvases for my menu system. I changed all canvas options of "Reference Pixels Per Unit" from 100 to 50. Seems to have worked!

avatar image
1

Answer by WhySoSkinny · Sep 29, 2015 at 06:07 PM

Changing the canvas' Reference Pixels Per Unit from 100 to 50 didn't work at all for me. I am running Unity 5.1 on a Galaxy Tab3 Android 4.2.2 for a 2D game that's almost al UI elements. The flickering happens when I try to play a simple idle animation on a UI Image object. The whole screen flickers very badly even though the Image object is pretty small and stays in the lower left corner.

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 PORUSH UNITY · May 29, 2015 at 08:01 AM

use Anti-aliasing technique for coins, if you don't know about it search in google about Anti-aliasing.

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Assets/Scripts/PlayerController.cs(32,49): error CS0126: An object of a type convertible to `float' is required for the return statement 1 Answer

2D Animation does not start 1 Answer

2D sprites flicker under directional light when camera moves/zooms 1 Answer

Light attached to Prefab is destroyed(?), as soon as new Prefab is instantiated. 0 Answers

Changing background color every time I score 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges