pulpcore ported to desktop platform (awt)

33 views
Skip to first unread message

Carlo Salinari

unread,
May 26, 2011, 6:25:35 PM5/26/11
to pulp...@googlegroups.com
Hi,

I made a quick port of some of pulpcore's platform-classes in order to
run the examples as desktop applications (jframe).

(I hope this will make my study of the lib's internals easier.)

you can get the source here:
https://bitbucket.org/carlo_salinari/pulpcore-runtime-desktop-awt

as an eclipse project (I don't use maven).

I included two demos: PulpCoreLogo and BubbleMark (see attachments).

You can see them running pulpcore-runtime-desktop-awt.demo.DemoPlayer
as a standard java application.

Remember to include the pulpcore-applet jar in the build path.

Feedback is welcome!

Cheers,
Carlo

logo.png
bubblemark.png

David Brackeen

unread,
May 27, 2011, 10:10:20 AM5/27/11
to pulp...@googlegroups.com
Looks interesting, I'm sure a few people could find this useful.


--
You received this message because you are subscribed to the Google Groups "PulpCore" group.
To post to this group, send email to pulp...@googlegroups.com.
To unsubscribe from this group, send email to pulpcore+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pulpcore?hl=en.


stemkoski

unread,
Nov 18, 2011, 9:57:31 PM11/18/11
to pulp...@googlegroups.com
Hi Carlo,

Great work!

   - Lee

stemkoski

unread,
Nov 19, 2011, 8:45:23 PM11/19/11
to pulp...@googlegroups.com
Hi Carlo,

Piotr Korzuszek also created something similar - a desktop port for pulpcore.
the projects seem to be similar.  Two small improvements I suggest to your project (based on his) are for the JFrame to be not resizeable, and also to adjust the graphics boundaries so that parts do not disappear behind the JFrame borders and title bar.

Also, a question: running, for example, the BubbleMark demo on with your (or Piotr's) desktop implementation, the framerate is much slower than when BubbleMark is run in a web browser (JFrame 45fps vs Applet 60fps for my system, typically). Do you (or does anybody -- David?) know why this might be?

   - Lee
Reply all
Reply to author
Forward
0 new messages