|
|
Browse by Tags
All Tags » Education » Phrogram
Showing page 1 of 4 (31 total posts)
-
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 ...
-
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 ...
-
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
-
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 ...
-
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 ...
-
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 ...
-
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
-
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 ...
-
Program ClickAnImage Method Main() Define iconfile As Sprite iconfile.Load("Car1.gif") ...
-
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
1
|
|
|