Welcome to Phrogram Sign in | Join | Help
in Search


Browse by Tags

All Tags » Sprite » KPL
  • I need help with color detection!!

    I am doing a science project and I am creating a computer program, in KPL, that will count bacterial colonies. But I wanted to do simulations first. I need help with two things. The first is how to code this: if the pixels are white do not count else count. Then I need it to check the surroundings for black pixels and if it finds one then not to ...
    Posted to KPL Questions and Answers (Forum) by Miss_smarty on January 30, 2008
  • User Input

    Hey. I recently got a question at school that goes like asked us to modify the following code so that users can enter the number of steps they want a sprite to move accross the screen.   Program UFO     Method Main()         LoadSprite( "UFO", "UFO.GIF" ...
    Posted to KPL Questions and Answers (Forum) by dubsey on July 19, 2007
  • Help - How to make a sprite(.gif) go back up?

    Hello to all Please could you help me? At school I am a member of the programmers club and we (the programmers club) are having a problem. We are trying to get the sprite to go back up after moving it down using the "For" loop . We have tryed almost evrything we know but still nothing. Normaly with programming langages when ...
    Posted to KPL Questions and Answers (Forum) by Alex on November 16, 2006
  • Re: help with a game like snake

    Here's a quick example based on LearningProgram004, Joyce.  Basically, I added a second UFO to the program, move them both, and when they collide I make one of them disappear and the other one grow in size.It sounds like a very fun game - glad to help more as you work on it!
    Posted to KPL Questions and Answers (Forum) by JonS on November 2, 2006
  • Re: Why won't this work?

    Also see the "006 Keyboard Controlled Sprite" Examle in the Step-By-Step Tutorials in Phrogram   Thanks Walt
    Posted to KPL Questions and Answers (Forum) by Sharpidea on October 3, 2006
  • Re: Why won't this work?

    Here you go, Wolf - the zip file linked above should have a running version of your program in it.  I'll also paste it below.  The main thing you needed was a "while" loop which keeps running, watching for keys over and over again, and moving the tanker when a key has been pressed.  Try it out, then ask some questions, ...
    Posted to KPL Questions and Answers (Forum) by JonS on October 3, 2006