sprites

Drawing 2D Sprite (Bitmap) TIles Efficiently

I'm writing a 2d tile-based engine. Currently, my drawing routine uses the C# Drawing library to redraw every visible tile every time the screen refreshes. I got scrolling and zooming to work, and everything looks the way I want it to. But the routine is slow. Now I'm trying to improve it. I've a couple of questions: First, I think redr...

Even more Zen and CSS Sprites

I am very frustrated with trying to use CSS Sprites. I have asked a couple of times here, and got great advice, but still no solution. The problem is that I want my sprites in a horizontal line, not a vertical stack. I can't seem to find an example of this on the web, and all tutorials I have found seem to only describe menus and other v...

Need some advice on a java api to use for a 'presentation display board'

As part of the project i am working on I am looking to produce some software that works on a LCD display (think call center info boards) and displays various graphs (the bars grow etc in realtime, so incoming call stats etc etc) and flicks between various 'plug-ins'. I asked before, and WPF was suggested, and it looks excellent.. Howev...

How to load an animation from a tiled spritesheet in cocos2d/pyglet

I have a tiled spritesheet saved as a png image that I want to load as a pyglet.image.Animation. I can see how to load an animation from a gif or a series of images, but I can't even figure out how to preform image slicing on images. ...

Form submit button with css sprites??

Hello, I am having a problem creating a form submit button with css sprites. It's just a button with an onrollover state. I have this .css button part .buttonSubmit { background-image: url(../imgs/button_states_submit.png); background-repeat:no-repeat; margin-top: 10px; float:left; height: 100px; width: 160px; } a.button...

Using jQuery and sprites

I am looking for a way to animate my sprites with jquery. When I hover over the image, it fades in. then when I hover off. it fades out. CSS: nav ul { position: relative; z-index: 1000; margin: -26px 0 0 11px; overflow: hidden; } nav ul li { display: inline; } nav ul li a { background: url(../images/nav-sprite.png); display: block; f...

how do 2d sprites work

how do 2d sprites work ...

Draw an image in Additive Blend Mode without using OpenGL

Hey guys, I want to draw an image using an additive blend mode. But I don't want to use OpenGL. I can't find anything to do this, maybe there's something in Quartz2D? Can anyone point me in the right direction? Cheers, Rich ...

How to pull out individual sprites from grid of sprites ?

Hi I have sprites image, which contain set of sprites. i want to pull out each sprite from grid. I know that we have to split them through their pixels positions. But i think its not an easy task and time consuming. so is there other way or tool to get thier pixel position to retrieve images ? Thank you , Srinivas ...