Jump to content

Photo

fun with player0height


5 replies to this topic

#1 atari2600land OFFLINE  

atari2600land

    Channel F Viewer

  • 11,136 posts
  • Location:Salem, Oregon

Posted Tue Mar 20, 2018 11:36 AM

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?



#2 kdgarris OFFLINE  

kdgarris

    Moonsweeper

  • 265 posts

Posted Tue Mar 20, 2018 12:42 PM

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.



#3 bogax OFFLINE  

bogax

    Dragonstomper

  • 755 posts

Posted Tue Mar 20, 2018 8:44 PM

what kernel?

 

use joy0 up-down

 

the score is player0y

Attached Files



#4 atari2600land OFFLINE  

atari2600land

    Channel F Viewer

  • Topic Starter
  • 11,136 posts
  • Location:Salem, Oregon

Posted Thu Mar 22, 2018 12:45 PM

That did it. Thank you!



#5 Lewis2907 OFFLINE  

Lewis2907

    Chopper Commander

  • 202 posts
  • Location:Senatobia, MS

Posted Thu Mar 22, 2018 2:32 PM

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.

#6 Lewis2907 OFFLINE  

Lewis2907

    Chopper Commander

  • 202 posts
  • Location:Senatobia, MS

Posted Sun Mar 25, 2018 12:58 PM

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. 

Attached Files


Edited by Lewis2907, Sun Mar 25, 2018 8:10 PM.





0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users