Jump to content
  • Advertisement
Sign in to follow this  

*SOLVED* Problem with the sprite class

This topic is 5134 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've having dimension troubles with the CSprite class made in tutorial 3. I'm working on a paddle ball game and every time you hit the ball, your score goes up 1 and your paddle shrinks. The problem is, the width and height stay the same for every frame of animation. Is there any way I can solve this? Has anybody else had any similar problems? EDIT: Yay, I was able to fix it myself. I changed the GetWidth/GetHeight functions so that you pass the frame of animation through to the function. [Edited by - Ekim_Gram on October 25, 2004 9:23:09 PM]

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!