Welcome to Phrogram Sign in | Join | Help
in Search


Browse by Tags

All Tags » example » KPL
  • 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: Trying to understand collisions better

    There is no difference we have moved away from using ‘Var’ and are now recommending ‘Define’ because it is more understandable and is descriptive of what you’re actually doing. We say that ‘Var’ is depreciated in favor of ‘Define’ I would highly recommend that you think about ...
    Posted to KPL Questions and Answers (Forum) by Sharpidea on October 3, 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
  • Re: word+word doesent work

    There are really only two differences from your original program, and they'll be useful as an explanation to everyone else, so let me do that. The simple one is how I displayed that status message each time the space bar is pressed:    ClearRect(0, 0, 200, 50, White)     PrintInRect("lvlisfarming is now: ...
    Posted to KPL Questions and Answers (Forum) by JonS on September 22, 2006
  • Re: word+word doesent work

    Hi WhiteElf, Glad to help get this working - it's a good example for others to see as well.  I have modified your example quite a bit, and will paste it below, as well as attach the KPL file to this message - see the link at the top of my post which makes the KPL file available for download.  There are a couple of complicated ...
    Posted to KPL Questions and Answers (Forum) by JonS on September 22, 2006