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 Przemo · Feb 06, 2013 at 06:00 PM · 2d gamengui

NGUI sprite movement

Hi,

i'm trying to make simple 2D game using NGUI. I have script with simple movement to mouse click point. I attached it to sprite. And it's moving, but it looks like sprite is making clones during movement. There is still one sprite in hierarchy but on camera i can see many of clones.

Is it possible to move sprite without this effect? Is it possible to make 2D game only using NGUI or i should use normal 3D flatten objects?

Comment
Add comment · Show 2
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 Fattie · Feb 06, 2013 at 06:01 PM 0
Share

FWIW ... "2DToolkit" makes it unbelievably easy to make 2D games in Unity. It exists for this purpose. it's almost "too easy".

You just drop your sprites in a window, drop the sprites in to make an animation, and it does everything.

NGUI is incredible, but it is more for the job of "extremely complex GUI needs".

The two are totally different. Hope it helps.

avatar image Przemo · Feb 06, 2013 at 06:16 PM 0
Share

yes, thank you :)

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by dubbreak · Feb 08, 2013 at 04:52 PM

I move ngui objects around all the time (most often using itween). It's most likely an issue of the depth being the same as something it's moving over (then you get a weird alpha type effect). Make sure the sprite or whatever you are moving is at a higher depth than the background and lower than any foreground items.

If that doesn't work you could post a little demo of the problem (make a project with a single scene demonstrating the issue). I'm sure it's something simple if it's not an issue of depth.

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

11 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

how to prevent clicking gameobjects behind NGUI panel 0 Answers

2D Game: Best way to set player's Z? 1 Answer

Which Camera Rotation is Good While Making 2D Game? 0 Answers

Echolocation in 2D top down game 0 Answers

Inverting Position on One Axis 0 Answers


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