Jump to content



0

Why does my player disappear?


2 replies to this topic

#1 yuppicide OFFLINE  

yuppicide

    I am the Black Knight. Give me your money!

  • 6,933 posts
  • Location:New Jersey

Posted Tue Jul 29, 2008 7:31 AM

I've set u=80 and v=50. I've set player0x=u, player0y=v. I also added some joystick routines.

When I run my program the little block I drew shows up for a second and disappears. I was going to add in the collision detection next.

Attached Files


Edited by yuppicide, Tue Jul 29, 2008 7:31 AM.


#2 Random Terrain ONLINE  

Random Terrain

    Visual batari Basic User

  • 20,911 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Tue Jul 29, 2008 9:56 AM

It's because you don't have the color for it in the main loop. You can read more about that here:

http://www.randomter....html#ephvarreg

#3 yuppicide OFFLINE  

yuppicide

    I am the Black Knight. Give me your money!

  • 6,933 posts
  • Location:New Jersey

Posted Tue Jul 29, 2008 9:59 AM

Thanks so much.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users