Author
|
Topic: My Sprites Flicker!!!
|
Leprendun |
posted 01-20- 12:09 PM CT (US)
I have a bunch of ducks on a screen and they all flicker! Can someone tell me why this is and how to fix it? --==[[ Leprendun ]]==--
|
redink1
|
posted 01-20- 12:12 PM CT (US)
In my 3 years playing Dink, I've never had that happen. Make sure you have DirectX 8 and the latest drivers for your video card. |
Kornelije Petak
|
posted 01-20- 03:29 PM CT (US)
It may be problem in Dink.ini or in graphics folder one of duck sprites is missing... may be not must be, anyway... check the thing Redink1 said too... |
joshriot
|
posted 01-20- 11:17 PM CT (US)
maybe you have too many ducks for your graphics system to handle so it only displays some at a time. |
Drakeman
|
posted 01-21- 02:07 AM CT (US)
I once had the red and gold hearts flickering with an image of Dink while making SOB. I fixed this by putting in and init statement (forced the script to reload the graphics for the hearts in the main procedure) into the main of the script for the hearts.I put it down to the Dink engine getting confused with too many graphics (I used up nearly every slot) |
Nexis
|
posted 01-21- 05:02 AM CT (US)
Sometimes sprites flicker if you alt-tab out of games (especially dink smallwood) with some video cards. Like with the voodoo 3, good thing I god rid of mine for a geforce. :) |
Leprendun
|
posted 01-21- 08:10 PM CT (US)
I tried the init thing; I'm not sure if I did it right, but they still flicker, just slower. It's not my computer or any my video card of anything like that; it's my poor programming skills. I do have a lot of ducks on the screen (these aren't the original ducks that came with the game; these are ones I created), but there are much less than 99 sprites on the screen, probably less than 50.If any other ideas are thought of, please feel free to share them. --==[[ Leprendun ]]==-- |
Drakeman
|
posted 01-22- 04:03 AM CT (US)
here is what I put in the red heart script. The flickering Dink has something my Beta testers first noticed. I didn't believe it could be happening... still can't... but this did fix it.//red heart script void main( ) { init("load_sequence_now graphics\bonuses\heart\heart 52 75 18 24 -25 -11 24 11"); sp_seq(¤t_sprite, 52); sp_frame(¤t_sprite, 1); sp_brain(¤t_sprite, 6); sp_touch_damage(¤t_sprite, -1); sp_nohit(¤t_sprite, 1); }
|
bdjnk
|
posted 01-22- 05:32 AM CT (US)
Drakeman: I had the same prob as Leprendun and your suggestion worked great. thanks. |