+atari2600land Posted March 20, 2018 Share Posted March 20, 2018 So I want my sprite to disappear pixel row by row, only I want it to start disappearing at the bottom and work its way up. Is there a way to do this? Quote Link to comment Share on other sites More sharing options...
+Karl G Posted March 20, 2018 Share Posted March 20, 2018 I don't think that there's an elegant way to do this unlike the reverse. You would need to redefine your sprite every frame until it is gone, I think. Quote Link to comment Share on other sites More sharing options...
bogax Posted March 21, 2018 Share Posted March 21, 2018 what kernel? use joy0 up-down the score is player0y variable_height_sprite.bas variable_height_sprite.bas.bin 1 Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted March 22, 2018 Author Share Posted March 22, 2018 That did it. Thank you! Quote Link to comment Share on other sites More sharing options...
+Lewis2907 Posted March 22, 2018 Share Posted March 22, 2018 This looks like it can be adapted to a 2 player game playing at the same time. Player1 moves and dodges the beam that is up and down. With some other objects or enimies in the way. Just a thought. Nice work on the variable height. Quote Link to comment Share on other sites More sharing options...
+Lewis2907 Posted March 25, 2018 Share Posted March 25, 2018 (edited) Attached is the Multisprite Version based off of Bogax Code. Also is there a way to do this horizontally or from the top down (reverse)? If so that would be great. I have been playing with the code and can't figure it out yet. If I have some time I will port this over to DPC+, thanks. 20180325 - Variable Height Sprite (MultiSprite).bas.bin 20180325 - Variable Height Sprite (MultiSprite).txt Edited March 26, 2018 by Lewis2907 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.