Solved

Color in hypercard!

Posted on 2000-03-01
2
182 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

832 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