pl_AsphyrePXL

pl_AsphyrePXL

 

It's a fork of Platform eXtended Library (PXL) for CodeTyphon Studio.

Platform eXtended Library (PXL) is a cross-platform framework for developing 2D/3D video games, interactive and scientific applications.
It aids the developer with mathematics, hardware control, resource management, displaying real-time graphics and text, handle user input and network communication capabilities.

This library is based on a well-known Asphyre framework, supersedes all previous releases and is under continuous development.
Multiple desktop and mobile platforms are supported, along with native hardware support for compact singleboard computers including devices such as Raspberry PI, Intel Galileo, BeagleBone Black among others.

For desktop applications, multiple providers are available including OpenGL, DirectX 7, DirectX 9 and DirectX 11 for displaying real-time graphics, while mobile and singleboard applications can take advantage of OpenGL ES provider. In addition, fully compliant Software Rendering is provided that can be used both on desktop, mobile and singleboard devices.


Support for Raspberry PI

  • Fast access to CPU timer, GPIO, I²C, SPI and UART using direct manipulation of SoC registers.
  • V4L2 video/image capture using onboard and USB cameras.
  • OpenGL ES rendering with and without X server, including drawing to bitmaps. One of examples shows how to render your visual scene with GPU and then pass it to external display via SPI wiring!
  • ...and many other features that are available for generic singleboard platforms.

Support for Intel Galileo and Edison

  • Native GPIO with support for fast pins and automatic pin multiplexing (just use printed pin numbers!)
  • Easy control for PWM and ADC channels and their associated pins.
  • Integrated I²C, SPI and UART control facilities.
  • ...and many other features that are available for generic singleboard platforms.

General support for SingleBoard computers

  • Easy access to native Linux Sysfs interfaces such as GPIO, PWM, ADC, I²C, SPI and UART.
  • Serial cameras such as VC0706 and LSY201.
  • I²C and SPI displays such as SSD1306, SSD1351, PCB8544 (Nokia), HX8357 and ILI9340.
  • Character LCDs with direct pin wiring.
  • Support for Software SPI and UART (bit-banging).
  • Support for SC16IS7x0 (UART controller connected via I²C or SPI), including extra GPIO pins.
  • Support for sensors such as BMP180, DHT22, L3GD20, LSM303 and SHT10.
  • Networking communications through UDP protocol.
  • Video/image capturing through generic V4L2 interface.
  • Software rendering for visual effects and user interfaces.

Other Features

  • Fully featured mathematics library for integer and floating-point vectors, matrices and quaternions.
  • Image transformation including rotation, skew, mirroring and so on.
  • Multiple blending effects including add, subtract, multiply, shadow among others.
  • Many different drawing primitives such as rectangles, ellipses, arcs, ribbons and holes.
  • Multiple image pixel formats to maximize quality and minimize video memory consumption.
  • Cross-platform networking and multiplayer support using UDP protocol.
  • Store all images, sounds and other files using ZIP-like compression in a single PXL archive for easier deployment.
  • Support for reading legacy archives including VTDb, ASDb and ASVF formats to simply porting projects made with earlier Asphyre versions.
  • High-precision timer for independent graphics rendering and object movement.

 

 

You can explore Units, Functions, Procedures, Classes, etc in our
Source Documentation