Game Development Community

Pumpkin Chop released on Xbox Live Indie Games

by Matt Mitman · 10/19/2009 (12:55 pm) · 11 comments

www.chemeleon.net/pcLogoWhite.jpg

Pumpkin Chop is a 3D Pumpkin Carving simulator that allows complete freedom when carving by using freehand tools rather than limiting you to preset cookie cutter shapes. After you've carved your masterpiece, theres two 3D Showoff scenes with automatic camera movement so you can display them to all the world (or whatever part of the world you can fit around your tv anyway)


www.chemeleon.net/pc_shot2.jpg

The carving is accomplished by generating an alpha mask for the cutout areas, and applying that to the pumpkin. Rather than be just the outer surface, the pumpkin has a bunch of shells and slices inside it, with a shader that generates color based on position rather than normal. When you remove the alpha parts from it, exposing these inner shells, they give the illusion that they're solid.

I didn't want to have to deal with projecting rays and calculating which triangle it hits and what exact point it intersects on it, so I went with a far simpler, and somewhat more unique, method of determining the 3d coordinate of the cut cursor. In the carve mode, whenever the camera is moved, I render both the pumpkin's depth and its uv coordinates to render targets. Then when the user adds a point to the carving, I can use the information from these two buffers to determine its world position (by unprojecting from screenpos with that depth value) and what the exact uv coordinate is.

Triangulation is far simpler in 2D, so when generating my poly to triangulate, rather than use the world positions, I use those uv positions, which automatically gives me a perfect flat representation of the shape. Then I just triangulate that and fill the triangles black on a white background to get my alpha map.

www.chemeleon.net/ggSlices.jpg

Pumpkin Chop is just 80 Points on Xbox Live Indie Games (about $1) so you really have no excuse not to buy something this cool. Or you could at least try the demo. It allows everything except saving (unless you buy it) and has an 8 minute time limit. Don't have an Xbox? They've dropped in price lately, go buy one so you can pick up Pumpkin Chop ;)

www.chemeleon.net/pc_shot3.jpg
www.chemeleon.net/pc_shot4.jpg

#1
10/19/2009 (3:21 pm)
Excellent work. I think I'll pickup a copy for our Halloween party. I think those who get squeamish carving the real thing would enjoy it.
#2
10/19/2009 (4:20 pm)
Did you make this game with Torque X 3D?
#3
10/19/2009 (5:12 pm)
Awesome! I've wanted to build something like this for years! Awesome concept, awesome looking implementation, and I'm definitely picking this up tonight.

Do you have any plans to implement pumpkin sharing?
#4
10/19/2009 (5:19 pm)
@Chris: Torque X 3D is the only one that ports to xbox.(Indie Wise, Don't Forget Torque360 for microsoft deveolpers)

This sounds like one of those games that would make millions on the iphone... ;)
#5
10/19/2009 (6:39 pm)
This is actually just pure XNA, no torque involved this time.

I decided to leave out pumpkin sharing since networking would open up all sorts of other possible crashes that I had no experience dealing with, and was concerned I may not have made it through peer review in time because of that. Might add it in a future update for next year or some such though :)

Tim Newell (programmer at MGT) actually did an iPhone version of the app that came out a few days ago, he talks about it a bit in his blog a few down from this one.
#6
10/19/2009 (7:48 pm)
Awesome =)
#7
10/20/2009 (11:42 am)
Sales figures for the first day just showed up... 201 copies sold and 2530 trial downloads :)
#8
10/20/2009 (2:57 pm)
It's a very cool app. Nicely done.
#9
10/20/2009 (6:36 pm)
Alright, I was just wondering if someone was actively working with Torque X 3D and getting software that looks as good as yours out on LIVE.
#10
10/20/2009 (9:58 pm)
Congrats - it looks nice! I wonder if the number of sales goes up on the weekends.
#11
10/21/2009 (4:18 pm)
Thanks Kevin. Good luck with your Minigolf game as well :)

I'll probably post the sales stats after a week or two.
#12
11/01/2009 (9:32 am)
Congrats Matt... your another stepforward to buying me that 3D printer!