Tagged Questions
0
votes
0answers
23 views
Simultaneous Animation for a GameObject - Unity3D
Its my second week with Unity. I am doing a 2D game and I have a small GameObject which should change its sprite along with following a definite path defined in Animation Curves.
I did both of them ...
0
votes
1answer
31 views
How to use sprite as font in Unity?
I've started working on my first game in Unity; It's very simple, there's a spinning block in the middle, and there are spinning blocks coming from all sides. When they hit the middle block, you lose ...
0
votes
1answer
68 views
Why is anti aliasing not being applied to my 2D objects in Unity?
I am drawing 2D objects in Unity. Some of these objects are drawn using the standard sprite method that is built into Unity. Others are computed as distance functions in a shader.
In both cases I ...
4
votes
1answer
247 views
Is white the best base color to start with when planning to shade sprites within Unity?
I'm looking into prototyping a game in Unity which will consist of solid square sprites / tiles. I figure I can represent different types of objects with different colors for each of the tiles in the ...
0
votes
1answer
171 views
Can I use clipping with Unity Sprite in NGUI?
I used NGUI free version (2.7) with Unity 4.3. I have tried to use clipping to restrict the area of viewer by using clipping to hide some content of Unity Sprite. However, it did not work. If it's ...
6
votes
3answers
639 views
Create a trailing, ghosting effect of a sprite
I want to create a trailing, ghosting like effect of a sprite that's moving fast. Something very similar to this image of Sonic (apologies of bad quality, it's the only example I could find of the ...
4
votes
3answers
208 views
Why does Unity in 2d mode employ scaling and the default othographic size the way it does?
I previously used SFML, XNA, Monogame, etc to create 2d games, where if I display a 100px sprite on the screen, it will take up 100px. If I use 128px tiles to create a background, the first tile will ...
0
votes
1answer
111 views
Background Sprite Setting
For my 2d game, I want to set background image. So that I am using multiple background images for that purpose.
But it can't set correctly on screen that illustrated in following image.
Also for ...
3
votes
2answers
542 views
Unity - Part of the sprite is covered in shadow
I have a sprite with Transparent/Cutout/Diffuse shader. Recieving shadows is turned on in SpriteRenderer. The light is a pointlight and I am using deffered rendering path.
However when I am above or ...
1
vote
1answer
74 views
Is this Possible to force gameobjects (coliders etc) to get stretched based on the aspect ratio of the screen?
Well with unity3D, I am in big trouble whenever I use sprites. As for textures I compensate for a evener look by Stretching it (Screen.width & Screen.height- that's fine for low end 2D games). Now ...
0
votes
0answers
89 views
Unity not updating sprite animations (possible bug)
I have a simple animation of a foot which i want to change sprites from one sprite to another, which is seen in the following two images:
now as one can see in the animation timeline there is a ...
0
votes
1answer
1k views
Change the sprite of a Object in Unity
Inside the script code of the the hero(object) I want add the possibility to change its sprite.
So the player hits the space button and the sprite changes into the other sprite already added to the ...
0
votes
1answer
953 views
How can I get multiple sprites on a Unity2D Sprite Renderer
I have a GameObject that I want to have multiple sprites. I tried adding an extra Sprite Renderer, but it tells me I can't add the same component multiple times.
I'd really rather not have to have ...
0
votes
1answer
43 views
Stopping sprties from toppling off platform
I am new to Unity and am trying to create a simple 2d platformer. I have applied a box collider to my player sprite and the floor/platform its standing on. Now when I go over the platform, it toppes ...
4
votes
1answer
1k views
Unity 4.3 (2D) Rendering only the parts of a sprite that are within specific bounds
I'm working in Unity, using the 2D features to recreate the match-3 style of 10000000 (Ten Million).
I have a parent object (green square) with several children objects (blue rectangles) on top of ...
1
vote
0answers
365 views
Unity 2D loading Spritesheet Atlas at runtime from web and using it dynamically
I am new to Unity (came from AS3/Starling) and just started for 2D games in Unity. I have a spritesheet / texture-atlas (many different sized images packed in a single png) which I want to download at ...
-2
votes
1answer
163 views
Load single texture atlas for multiple sprite
Recently, I am developing sudoku game. For this, I have created multiple grid 9x9,12x12 and 15x15.
For this numbers are repeated so multiple sprite renderer are created and it load same number ...
-1
votes
1answer
312 views
Animating a sprite with mecanim
I want to try animating sprites with the Unity's mecanim. All the tutorials I found used bipedal humanoids, which already have the avatar for the animator component and imported animations.
What I ...
1
vote
3answers
488 views
Two sided sprites
What is the most efficient way of making two sided sprites in Unity's new 2D tools? I'm looking to make playing cards with a backside and a front side.
7
votes
1answer
472 views
How do I programmatically access single sprites when Sprite Mode is Multiple?
Unity 4.3 newly brings an ability to cut up a sprite sheet into multiple individual sprites. This is useful since you then only need one master spritesheet, but nevertheless get references to ...
0
votes
0answers
124 views
Sprite Rendering Cost Calculation
First of all asking before asking this question I have already read following post for the clearance of my mind.
Sprite Renderer
Texture 2D
I want to change my background texture as per device ...
1
vote
1answer
464 views
Create sprite renderer using custom material
I have done following thing.
Create Material
Attach sprite with texture type as Texture
Add sprite renderer component to game object
Assign material to it that I create in last steps
There is no ...
2
votes
3answers
701 views
Polygons vs sprites rendering performance in Unity for windows phone 8
I'm currently building a windows phone 8 game with unity, having 111 (no more no less) sprites being updated each frames. I have a strong overhead in the profiler (70% to 90% minimum) I tried the ...
2
votes
1answer
4k views
How can I programatically generate sprite instances in Unity?
I want to create a block-based puzzle game that generates blocks as they are required, however I cannot seem to find any good imformation on how to do something like this using Unity's new sprite ...
2
votes
4answers
3k views
Unity: Flip Sprite Direction
I'm toying around with the new Sprite class in Unity, and I'm trying to work out how to change the direction the sprite is facing ("flip" it). I'm sure I can most likely just scale it across the x ...
9
votes
1answer
5k views
Can Unity 2D be used to make pixel-art games?
I'm looking at the new 2D features introduced in Unity 4.3, and I think I might be missing something.
To me it looks like they are designed for high-res 2D games, where scaling the sprites is ok, but ...
6
votes
1answer
1k views
Mip Maps on 2D Sprite causing black line above. Why is this?
I am new to Unity. I'm trying it out and using Futile for a code-first approach, but still importing textures using the Unity system.
The problem I'm having is that when I use mip maps to scale large ...
-3
votes
2answers
3k views
Unity: 2D problem (I'm using Orthello package but any advice appreciated)
So instead of dishing out 150$ for SpriteManager 2 (Unity Package), I've been playing around with Orthello which a free SpriteManager package.
I got most of everything I'd like working and it was ...