Welcome to Phrogram Sign in | Join | Help
in Search


Browse by Tags

All Tags » code
Showing page 1 of 6 (53 total posts)
  • Code examples in Phrogram eBook

    I don't believe we posted earlier the code examples in the eBook that precede the completed Pong project, but these may be helpful if you are using the eBook to teach or just to learn as you go through each example.
    Posted to Learn to Program with Phrogram (Forum) by davidw on October 17, 2007
  • 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
  • Pythagoras Tree by MichaelH, with a "symetrical" assist by LFS

    Per Michael's post (July 13) - This is a little program witch combinates recursion,turtle graphic and geometrie. Uncomment line 23 to see slowly how it works. Per Michael - on LFS version, uncomment line 40 to run more slowly
    Posted to Math and Learning (FileGallery) by davidw on July 13, 2007
  • New 3D game scene and basic code

    Hello world, Here is my newest creation and attempt at 3D programming. I offer it up as a community project since I'm still too new to make it a really cool game. I've created all the geometry for this game while learning about 3D and how it works in Phrogram. Have fun Norman
    Posted to Collaboration and Community Projects (Forum) by Norman on April 25, 2007
  • PlasmaRing ,Testing different things

    This is just a small program that you can use and pick apart for development into a game. It takes a min to load all of the background stuff so the screen is not doing anything for a minute, be patient. I was trying to make something cool for the digital art contest but I'm not good enough yet. I hope someone can get something fruitfull ...
    Posted to Phrogram Examples and Code (Forum) by Norman on February 28, 2007
  • February digital art contest

    Here is my entry for the February digital art contest. I added .TXT to the KPL file to allow upload.  Rename it by removing the .TXT extension after you download it. The program creates a Lorenz butterfly which it then starts rotating in 3D space and the view zooms in and out. Run until bored. More on Lorenz butterfly can be found ...
    Posted to Collaboration and Community Projects (Forum) by DaveG27 on February 14, 2007
  • Digital art contest, Date calculator

    Well here is a fun little date calculator, good for seeing how many years and days between then and now. The status line will also show total days. Enjoy, Norman Lucia
    Posted to Collaboration and Community Projects (Forum) by Norman on February 13, 2007
  • Re: Interesting Array Question

    On number 1, one thought that comes to mind is to iterate through 3D space in blocks, rather than simply randomly generating X, Y and Z values, and deciding whether within each block you will place asteroid or a planet or nothing at all..  Think of dividing the 3D space in the game into 6 blocks along each axis, X, Y and Z.  This ...
    Posted to Collaboration and Community Projects (Forum) by JonS on February 12, 2007
  • Any one know how i ca make a pen turn a corner ?

    Iam wrighting a simpel drawing program for my programing class and when I  move the pen wtih a very wide penwidth it can't make the trun smuthly it allways leaves a chunck out . I put in my method main if you need to look at it. oh I am usibg KPL 1.1 not phrogram .  Method Main()Maximize() max_x= ...
    Posted to KPL Questions and Answers (Forum) by silver1114 on January 24, 2007
  • Re: Game of Life

    Very cool, Matthew, thanks for sharing!  It's a great example and a very polished Phrogram program.  Educational on more than one level!  Here's a screenshot:  
    Posted to Phrogram Examples and Code (Forum) by JonS on January 8, 2007
1 2 3 4 5 Next > ... Last ยป