|
|
FeaturesPulpCore is an easy-to-use API designed to create modern-looking 2D web games with a strong focus on a positive user experience. - Single-threaded, game loop architecture.
- Smooth, time-based, frame-rate independent animation, including animated properties, timelines, and events.
- Fast rendering including sub-pixel positioning.
- Additional OpenGL-style blend modes (add, multiply).
- Anti-aliased raster fonts (identical appearance on all OS/JRE combinations).
- Dirty rectangles allow low processor usage.
- Compatibility: No need to worry about Windows timers, Java Sound bugs, Java2D bugs, or Mac BufferStrategy weirdness.
- Smooth applet startup experience.
- Small size: 300KB. Typical apps compressed with ProGuard are between 80KB - 150KB, and using pack200 for Java 6u10 compresses even smaller.
- PNG, JPEG, WAV and Ogg Vorbis support. BMP, GIF, and SVG files are automatically converted to PNG.
Comparison| Feature | Plain Old Java Applets | JavaFX Applets | PulpCore | | Fast startup times | Maybe | No | Yes | | Run without any "Trust" popups | Yes | No | Yes | | Pixel-for-pixel identical appearance across platforms | No | No | Yes | | Good sound support, compatibility | No | ? | Yes | | Easy, consistent asset loading (images, fonts, sounds) | No | Yes | Yes | | Declarative API | No | Yes | Yes | | Easy animation | No | Yes | Yes | | UI components (TextField, Button, etc.) can be scaled, rotated, and animated just like regular sprites. | No | Yes | Yes | | Automatically works with modern browsers' full-page zoom | No | No | Yes | | Easy UI component theming with SVG | No | Yes? | Yes | | Easy deployment & splash screens across all platforms | No | Yes? | Yes | | Blend modes not found in Java2D | No | Yes, but not per-Node | Yes | | Anti-aliased raster fonts | No | No | Yes | | Good Mac compatibility | No | Yes? | Yes | | Intelligent dirty rectangles | No | Yes | Yes | | Easy-to-use image filters | No | Yes | Yes | | Fully hardware-accelerated graphics | Windows with Java 6u10 only, with the right drivers | Windows with Java 6u10 only, with the right drivers | No | | AWT/Swing | Yes | Yes | No | | Vector graphics | Yes | Yes | No | | Component Layouts Managers | Yes (Swing/AWT) | Yes | No | | Works right now, today | Only if you know how to code around the bugs | ? | YES |
Drawbacks- PulpCore is not a game framework - there are no tilemaps, physics, path finding, collision detection, or other 2D game technologies.
- There is not a full set of UI components (no drop-down menus, for example)
|