More actions
PSV 2D Core | |
---|---|
General | |
Author | Matthias Seys (MSeys) |
Type | Developments |
Version | 1.13 |
License | MIT License |
Last Updated | 2019/09/23 |
Links | |
Download | |
Website | |
Source | |
PSVita 2D Core is a simple 2D Framework using Vita2D, SoLoud and the open-source vitaSDK. The framework is heavily based on SDL and has an event loop quite similar to it.
There's also a sample project that includes all the features that this package supports of the PS Vita.
Features
- PSV:
- Event loop - events.
- Key Down.
- Key Up.
- Key Held.
- Joystick Motion.
- Touchpad Down.
- Touchpad Up.
- Touchpad Motion.
- Touchpad Swipe.
- PSV Functions (used by user):
- Setting the Touch sampling mode.
- Using PSV Transformations.
- Event loop - events.
- Bank (Textures, Fonts, SFX, Music).
- Drawing functionality (built on vita2d).
- Draw Line (changeable line thickness).
- Draw Rectangle.
- Fill Rectangle.
- Fill Circle.
- Basic Collision functionality:
- Point in Rectangle.
- Point in Circle.
- Point in Polygon.
- Overlapping:
- Two Points and a Circle.
- Two Points and a Rectangle.
- Two Rectangles.
- A Rectangle and a Circle.
- Two Circles.
- Vertices and a Circle.
- Raycast.
- Intersect Line Segments.
- Distance Point and Line Segment.
- Point on Line Segment.
- Other:
- Get Time Now.
- Distance between Two Points.
- Angle between Two Points (in radians).
- Degrees to Radians.
- Radians to Degrees.
- Angle in Range (degrees given with other degree values as limiters).