Welcome to Phrogram Sign in | Join | Help
in Search


Browse by Tags

All Tags » Education » Phrogram
Showing page 1 of 4 (31 total posts)
  • Re: PhroDit 3.0

    I think this is what your looking for, happy holidays  Program SetLine      Method Main()            Define text As String             // set how many pixels high each line ...
    Posted to Phrogram Examples and Code (Forum) by Sharpidea on December 26, 2006
  • Re: Joystick

    Hi Jamey, I couldn't help myself, I expanded your Joy program with more colors and corrected a movement issue in the code. This is a fun example for spraying Graffiti in 3 colors and controlling the can movement with a Joystick http://phrogram.com/files/folders/phrogram_games_2d/entry2296.aspx I give Jamey full credit for this code, I just ...
    Posted to Phrogram Announcements and Discussion (Forum) by Sharpidea on December 12, 2006
  • Re: Writing

    Hi CallumBuxton, look at the code in "Math Programs \ Geometry Fun \ Circle Bouncing off of lines.kpl and Line - Line Intersection.kpl and Which side of the line.kpl These are good examples of how to do this
    Posted to KPL Questions and Answers (Forum) by Sharpidea on December 9, 2006
  • Re: Help on program

    Here is your code with the updates I think your looking for, I hope this help Keep having funProgram Hero     Method Main()               // Maximize()                Define Hero As ...
    Posted to Phrogram Announcements and Discussion (Forum) by Sharpidea on December 8, 2006
  • Re: AI Help

    Hi Peej, this is a function taken from the Facing2D example that can be modified to get the result you are looking for, it gets the distance from the player to the other sprites on the screen, then you need to write code to use this information to handle your needs      Function ObtainTarget( Ship As Sprite, List ...
    Posted to Phrogram Announcements and Discussion (Forum) by Sharpidea on December 6, 2006
  • Re: So what's with the duplicate mouse methods?

    Hi Bradc,Phrogram supports both COP (Class Oriented programming) and Procedural based programming, the functions, methods and properties in the first level of the Class Library Browser don't require an object to be created (Procedural based programming) and the items in the level below that are the equivalent System Class functions, methods ...
    Posted to Phrogram Announcements and Discussion (Forum) by Sharpidea on December 6, 2006
  • Re: AI Help

    Hi Peei, here is the example I said I'd put together for you http://phrogram.com/files/folders/advanced_examples/entry2148.aspx This example shows how to make a sprite turn toward and then move toward a point set by mouse click Thanks
    Posted to Phrogram Announcements and Discussion (Forum) by Sharpidea on December 5, 2006
  • Re: Stucture Arrays don't work the same in KPL v2

    Structures are still available in Phrogram, but we changed them to work like structures (passed by value on function/method calls) instead of working as classes do (passed by reference on function/method calls),  Structures were inconsistently passed ByRef in KPL v1.1. As you found, structures in KPL can be easily changed to ...
    Posted to Phrogram Announcements and Discussion (Forum) by Sharpidea on December 5, 2006
  • Re: Otra duda - Other question...

    Program ClickAnImage      Method Main()            Define iconfile As Sprite            iconfile.Load("Car1.gif")            ...
    Posted to Phrogram Announcements and Discussion (Forum) by Sharpidea on December 1, 2006
  • Re: Graffiti

    Hi Jamey, I took real pleasure writting my name on that wall, LOL this is just fun! I put it in the downloads section: http://phrogram.com/files/folders/phrogram_digital_art/entry1969.aspx Thanks
    Posted to Phrogram Examples and Code (Forum) by Sharpidea on November 29, 2006
1 2 3 4 Next >