Solved

Color in hypercard!

Posted on 2000-03-01
2
183 Views
Last Modified: 2013-12-26
How do I make make a colored moving interactive sprite for a videogame? It's movement is not tile based. Also it is see-through (anything the sprite walks over is seen through it). Please be specific and thorough.
0
Comment
Question by:Arcain
2 Comments
 

Author Comment

by:Arcain
ID: 2574149
Thank you
0
 
LVL 4

Accepted Solution

by:
Alex Curylo earned 75 total points
ID: 2582216
Well, the basic theory is that you have several frames of animation composing the sprite, and you composite an appropriate frame on top of your background(s)/other sprites in an offscreen buffer then copy that to the screen, many times a second, giving the illusion of movement. Making this a FAST process is where the tricky bits come in, and they tend to depend a lot on your particular game design.

In any case, an actual implementation takes a bit too much code to paste in here :) I suggest you go to the SpriteWorld home page at

http://www.SpriteWorld.org/

and grab the source code, documentation, and demos from

http://www.SpriteWorld.org/download.html

since that resource is far more complete than anything you're going to get for an answer here
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question