» Home » sprite » Page 1
How to cut a “hole” inside a rectangular Sprite to see the Sprite underneath? (ActionScript 3)
by BabaBooey in Programming Languages

Everytime I google this question I see confusing information about masks and blends, none of which seems to directly apply to what I think should be an easy thing...

There are three Sprites involved here...the lowest layer sprite is pretty much a background. I want to overlay a translucent Sprite on top of the background and then I want the third, top-most Sprite to act as a hole, s

Cocos2D help: How to rotate a sprite continuously and generate child sprites in the rotating sprite
by Sankarsan Bose in Programming Languages

I am new to cocos2D can anyone suggest an easy solution to the problem?

I have a windmill with 8 bars on the windmill with each bar separated by 45 degrees, where half of the windmill is on screen and half is outside the screen. I want to rotate the windmill and make it rotate forever. Also I want to attach a child at the end of the windmill bars and it will rotate along with the wi

Cocos2d - Change sprite animation (sprite sheet) based on touch
by TRobison in Web Design

I think I am mostly after a critique of the way I am using my Player class, and how to improve it.

My spritesheet contains all the sequences I feel I need for the actions I am after. But what I would like initially, is that when my "jump" button is pressed, that the animation the character is going through is stopped, and the "jump" sequence from the spritesheet it used. (walk - fo

AS3 adding children to sprite affecting sprite dimensions…wierdly
by br0wn in Programming Languages

I have a 'InvZone' class in flash that extends sprite. The idea is that this class will create an array of Sprite children, compute and assign x,y,width and height properties to them and then addChild them in rows (how many rows and children being specified in the arguments).

Both the sprite (invZone) and its children (invWindow) are in the Flash library. There they have symbols

How to change the path of a falling sprite and let the sprite fall in curve way into a specific position in Andengine?
by demetris in Programming Languages

I am having a sprite which falling to bottom.. Now in the touch action I want to change the path of that sprite and let it fall in a curve way(projectile manner).. Please suggest me what should use..

How do you make a static sprite be a child of another sprite in cocos2D while using SpaceManager
by ezzze in Mobile Programming

I have two static (STATIC_MASS) SpaceManager sprites. One is a child of the other - by which I mean that one sort of builds up the other one, but although the child's images shows up in the right place, the child doesn't seem to exists in the chipmunk physics engine, like I would expect. In my case, I have a backboard (rectangular sprite) and a hoop (a circular sprite). Since I might want t

A tool to reverse the process of sprite composition by ImageBundle and split the generated sprite back into image snippets
by David in Development Tools & Services

Is there any tool out there (perhaps the GWT compiler itself can be used as a standalone app) for generating individual images from the *.cache.png files created during compilation?

Or, is the mapping information (for sprite geometries) available via an API?

I looked up information on the GWT repository, the documentation, here on StackOverflow, and possibly

attach a child sprite to animated sprite andengine
by snapshooter in Programming Languages

I am trying to learn game programming using AndEngine. I have created animated sprites that are spawned on different intervals. I would like them to shoot objects at my player. I have searched trying to learn how others have done this, and tried the code that i thought would get me started, but have been unsucessful. Can someone pleae point me in the right direction to accomplish attaching a

creating sprite animation from sprite sheet cocos2d
by John Tate in Programming Languages

I'm trying to create an animated sprite from a sprite sheet, to do this I'm running the following:

NSMutableArray *bunsenAnimFrames = [NSMutableArray array];
for(int i = 1; i <= 74; ++i) {
[bunsenAnimFrames addObject:[[CCSpriteFrameCache sharedSpriteFrameCache] spriteFrameByName:[NSString stringWithFormat:@"15_%i.png", i]]];
for (int

Rotating a cocos2d sprite on an anchor point outside of the sprite
by Mihai Mocanu in Programming Languages

Currently the setanchor function only sets the anchor within the sprite frame. Is there any (easier) wway to change the anchor point to a coordinate on screen space? My purpose is to allow the sprite to rotate around a circle.

TIA for any suggestions made.

Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .