Release: 0.11.1 - Pixel-level intersections, back buffers, more examples

1 view
Skip to first unread message

David Brackeen

unread,
Mar 13, 2008, 7:58:51 PM3/13/08
to PulpCore
As always, links to downloads and change log:
http://code.google.com/p/pulpcore/downloads/list
http://pulpcore.googlecode.com/svn/trunk/CHANGES

If you haven't updated to 0.11 yet, here's the upgrade guide:
http://code.google.com/p/pulpcore/wiki/UpgradeGuide

Two new examples are in 0.11.1: Flashlight and Images. Also the
Widgets example has been updated to use all SVG theming. Check them
out:
http://www.interactivepulp.com/pulpcore/

This release has a sprite.intersects(sprite) method for doing quick
collision tests. It won't allow all the neat-o features of something
like Phys2D, but it offers easy pixel-level collisions for things like
simple 2D shoot-em-up 2D games. See the Images example.

Also this release lets Groups have a back-buffer, so you can do
Photoshop style masking (see the Flashlight example) or other effects.
Lots of possibilities here, and I haven't even begun to explore them
all.

Enjoy!

Francis De Brabandere

unread,
Mar 14, 2008, 4:20:19 AM3/14/08
to pulp...@googlegroups.com
flashlight: Oops, a download error occured
+ spelling: occurred instead of occured :-)

Thumbs up for the great new features!

--
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

John C. Turnbull

unread,
Mar 14, 2008, 5:28:03 AM3/14/08
to pulp...@googlegroups.com
> flashlight: Oops, a download error occured
> + spelling: occurred instead of occured :-)

occurred is correct :-)

-JCT

Francis De Brabandere

unread,
Mar 14, 2008, 11:58:42 AM3/14/08
to pulp...@googlegroups.com
added two words to make it clear :-p

+ spelling: should be occurred instead of occured :-)

--

David Brackeen

unread,
Mar 14, 2008, 12:48:39 PM3/14/08
to pulp...@googlegroups.com
That misspelling had not occurred to me :)

Was the download error just temporary?

Francis De Brabandere

unread,
Mar 14, 2008, 12:50:09 PM3/14/08
to pulp...@googlegroups.com
I've tried a few times today and i'm still having it
(ubuntu 7.10/Java 1.6.0_03)

David Brackeen

unread,
Mar 14, 2008, 12:56:05 PM3/14/08
to pulp...@googlegroups.com
Are the others working out okay?
I've tested on Mac + Win, but I don't have a Linux box to try out.
My site is running a little slow right now - Sketch got StumbleUpon'ed. Not sure if that's causing problems.

Francis De Brabandere

unread,
Mar 14, 2008, 12:57:44 PM3/14/08
to pulp...@googlegroups.com
Hmm, must be a local problem, milpa works but all other demo's won't.

Francis De Brabandere

unread,
Mar 14, 2008, 1:01:06 PM3/14/08
to pulp...@googlegroups.com
yep, after clearing my java cache and restaring firefox they work again

On Fri, Mar 14, 2008 at 5:57 PM, Francis De Brabandere

David Brackeen

unread,
Mar 14, 2008, 1:03:45 PM3/14/08
to pulp...@googlegroups.com
Oh ok. I don't have versioning set up on the examples, so sometimes there may be errors when updating. However Flashlight is new so I don't think that's the problem.
I really need to get an Ubuntu box I guess!

It might be related to a weird 1.6.0_03 + FF bug:
I had a workaround on Windows, but it sounds like that workaround doesn't work on Ubuntu.

Francis De Brabandere

unread,
Mar 14, 2008, 1:06:38 PM3/14/08
to pulp...@googlegroups.com
Hehe that was to fast, the first one I open works, the others won't:

ownload
java.io.IOException: Connection Error
at A.e(Unknown Source)
at A.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.security.AccessControlException: access denied
(java.net.SocketPermission 66.98.190.41:80 connect,resolve)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
at java.security.AccessController.checkPermission(AccessController.java:546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkConnect(SecurityManager.java:1034)
at java.net.Socket.connect(Socket.java:513)
....

On Fri, Mar 14, 2008 at 6:01 PM, Francis De Brabandere

Eric Berry

unread,
Mar 14, 2008, 1:11:32 PM3/14/08
to pulp...@googlegroups.com
This is off topic, but I've had great success testing various platforms with virtualization.

If you're on the Mac. Parallels is awesome (http://www.parallels.com) it's how I do all my browser compatibility testing at home. It's also not very expensive $80.

VMWare fusion (http://www.vmware.com/products/fusion/) is also very good, and cheaper at $60.

I use VirtualBox (http://www.virtualbox.org/) at work to test against linux distros (that is, I'm on windows testing linux), it's free which makes it nice. :)
--
Learn from the past. Live in the present. Plan for the future.
11101000

David Brackeen

unread,
Mar 14, 2008, 1:22:47 PM3/14/08
to pulp...@googlegroups.com
Yeah that sounds exactly like the bug I linked to - the first one always works (in PulpCore's case) and the others fail.

My workaround in code was:
if (CoreSystem.isWindows() && isMozillaFamily() && isVirtualHost()) {
    enableLiveConnect = false;
}

Oops. I'll have this workaround fixed on Linux in the next version.

Eric - thanks for the links. I rely on Parallels almost everyday. Virtualbox looks very interesting - which would you say is better for an Ubuntu distro?


Eric Berry

unread,
Mar 14, 2008, 2:13:20 PM3/14/08
to pulp...@googlegroups.com
Eric - thanks for the links. I rely on Parallels almost everyday. Virtualbox looks very interesting - which would you say is better for an Ubuntu distro?

:) Parallels Rocks!

I use Parallels at home on my mac and it runs Ubuntu quite nicely. You can't use any 3d stuff - so no eye-candy, but everything else works perfectly. I haven't upgraded to the latest version but I remember seeing somewhere that it has an Ubuntu option now instead of using debian.

I use VirtualBox at work because I'm on windows and they won't buy me a license for VMWare. Ubuntu seems to run just as well in VB as in Parallels, except some features aren't available. For instance, VB only lets you bridge the network interface instead of conjuring up a new one, but it doesn't seem to affect anything.

I'll admit I haven't had time to upgrade and try the latest releases of either so I'm not sure of recent improvements, but for every day use they seem to be pretty equal.

David Brackeen

unread,
Mar 14, 2008, 8:29:26 PM3/14/08
to pulp...@googlegroups.com
OK it took me 4 tries to install Ubuntu onto Parallels. And then another 3 tries to install Java.
For anyone interested, I had to use these setup instructions.

1. Set up the virtual machine, and don't use more than 512MB of RAM (it will give hardware errors on install)
2. Use this trick if the Live CD hangs:
And this trick to fix the display for installation:

Installing Java is also difficult - I couldn't get it to work with the package manager, but the command-line install was fine:
No extra steps required to setup FireFox.

Whew!

Eric Berry

unread,
Mar 14, 2008, 8:41:18 PM3/14/08
to pulp...@googlegroups.com
OH man! Gees, I didn't have these issues with 7.04 (Fiesty), I wonder if it's something with 7.10 (Gutsy).

Sorry David, didn't know there was going to be that many issues. :(

Thanks for sending those links, looks like when I do upgrade I'll need them - or maybe I'll try VirtualBox for the Mac.

Seth Hetu

unread,
Mar 14, 2008, 8:45:11 PM3/14/08
to pulp...@googlegroups.com
Step 3) is actually an oversight in Gutsty (it happens on my hardware,
not just in your VM). And you might consider "apt-get install" for
anything you need (a lot of users prefer it to Synaptec).

So what's the result of running Pulp Core? Same bug.... or no?

-->Seth

David Brackeen

unread,
Mar 14, 2008, 8:48:54 PM3/14/08
to pulp...@googlegroups.com
Yeah it looks like the same issue that was previously fixed on Windows. Sun's plugin, 1.6.0_03 or later, FF. It will be fixed on Linux in the next version.

P.S. yup, apt-get install was a lot easier.
Reply all
Reply to author
Forward
0 new messages