Questions tagged [atlassprites]

12 questions
2
votes
1 answer

How to implement SpriteSheet (Atlas) with Windows Mobile 7?

How to implement SpriteSheet (Atlas) with Windows Mobile 7?
user552120
2
votes
1 answer

Cocos2d: 6 doubts on usage of CCSpriteBatchNode

I am wondering how to optimize the usage of CCSpriteBatchNode. In other words I understand that: 1) Each CCSpriteBatchNode instance performs one call to the draw method, resulting in a reduction of OpenGL calls and hence significant performance…
mm24
  • 9,280
  • 12
  • 75
  • 170
1
vote
2 answers

SOLVED: Faster HLSL code? Wondering about lower CPU overhead when rendering quads in 3-space

!!!UPDATE!!! Using the vertex shader to generate quads via DrawInstanced() calls definitely reduced CPU overhead and increased quads drawn per second. But there was much more performance to be found by using a combination of instanced drawing via a…
Zenefess
  • 13
  • 6
1
vote
1 answer

Unable to load the frame cocos2d for Android

I am trying to draw one sprite from atlas.. I created with Zwoptex the atlas and the plist file. put the two files in the assest folder.. In the code I create new GameScene class and try to load it.. //Return the ShareFrameCache object. …
user552120
1
vote
1 answer

Android OpenGL ES draw_texture with cropping or VBO's?

Hey all, i was re-working my android app to use OpenGL instead of canvas (as it is ungodly slow) and i was wondering, since i'm using a tile sheet (atlas texture) would it be faster to use VBO's or draw_texture with the crop set like so: // Crop our…
Smanger
  • 107
  • 1
  • 7
1
vote
1 answer

How can I create a texture from an AtlasSpriteManager?

What I want to do is create a huge texture(w/ width of more than 1024) using a 1024x1024 image. I can retrieve the images using an AtlasSpriteManager, but whenever I try to retrieve the texture from the manager I can only get the first image. I need…
Suzie
  • 21
  • 1
1
vote
2 answers

How to subclass AtlasSpriteManager in Cocos2d?

I need to create some compound sprites that will all move and rotate together. Since it's possible to change the position and rotation of an AtlasSpriteManager I've been trying to subclass so I can create a bunch of shortcuts like CompoundSprite…
gargantuan
  • 8,888
  • 16
  • 67
  • 108
0
votes
1 answer

what this line means?

i found this line in the init method from an open source project : AtlasSpriteManager *spriteManager = (AtlasSpriteManager*)[self getChildByTag:kSpriteManager]; and kSpriteManager = 0; then spriteManager used for this purpose AtlasSprite…
Bobj-C
  • 5,276
  • 9
  • 47
  • 83
0
votes
1 answer

Unity sprites compression using atlases

I'm trying to define the best way of importing/managing my project's sprites. We tried importing atlases, but it turn out to be inconvenient. I tried the Sprite Packer importing sprites (POT/multiple of 4) separately. The Designers can't get it…
0
votes
2 answers

AtlasSpriteManager animation

I am using AtlasSpriteManager and AltasSprite to create frame by fram animation with 1 one file. I wanna write something that at first show a simple picture, without any animation and for example when I touch it, it shows some animation and return…
AliBZ
  • 4,039
  • 12
  • 45
  • 67
0
votes
1 answer

Optimal way to fit images in an atlas?

The AndEngine framework for Android has a way to load textures into an atlas. The atlas way of loading textures was new to me and so I looked into it. From what I've read around the forums, an atlas is a large rectangular region of image data where…
Corey Ogburn
  • 24,072
  • 31
  • 113
  • 188
0
votes
1 answer

confused re upgrading pre 0.99 Cocos2d-iPhone code to current version - AtlasSpriteManager

I have been working my way through the code pretty quickly with the help of the pre 0.99 migration guide - http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:migrating_to_0_9 - but have got stuck with the conversion of AtlasSpriteManager,…
Mathew Frank
  • 736
  • 5
  • 12