Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Color in hypercard!

Posted on 2000-03-01
2
Medium Priority
?
187 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 300 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying 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

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: 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…
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.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month13 days, 7 hours left to enroll

963 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