|
|
Browse by Tags
All Tags » KPL » 2D
-
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!
-
Is there an easy way to fill in pen-drawn polygons in KPL?
Also, is there a way to detect the color of a given pixel on the
screen? (opposite of PutPixel)
Thanks
-
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, ...
-
http://www.thezbuffer.com/articles/365.aspxKPL is a new beginners programming language that was originally targeted towards kids (Kids Programming Language),
though they are finding that its not just kids that are interested. The
language has very nice encapsulation for sprite based graphics to allow
simple 2d games to be written with a lot ...
|
|
|