Thursday, August 27, 2009

Survey results

I had exams, so I could not really work on PewPew, but now I am back. Let's take a look at the survey results.
There were 46 responses, and I started having responses only minutes after I posted the link on touchArcade's forum. One cool thing is that they appear in real time, in a spreadsheet. Well done Google.
And wow, I can actually copy paste the generated summary into this post.
Here we go:


The game modes are pretty even, though it would appear you like shooting more than dodging.

What is your favorite game mode?

What is your least favorite game mode?


I find the music excellent, and you seem to agree. That's good because the composer is not cheap, he earns 50% of the profit* made with PewPew. The soundtrack is available for free by the way.

How would you rate the music?
Very poor
Excellent


Ah! Google is not perfect after all, they messed up the parsing! That's about all we learn from this question, because I already knew that I am good at making a game balanced.

The difficulty of the "Assault" mode increases:



The difficulty of the "Chromatic Conflict" mode increases:



And now, the most important information I got: it appears you guys prefer a new game mode over online scores! That really really surprised me.

What would you prefer in the next update



In fact, I was planning on releasing an update with the only new thing beeing onlines scores, but that made me change my mind. So yeah, this survey was useful.
Also, I was thinking about doing a game mode that involved dropping bombs, but since you like shooting so much I went in a different direction... that I have yet to find.

Finally, I got a lot of interesting/passionated comments in the form. I'll talk about all the improvements I did for PewPew 1.2 in a futur post.
Thanks everyone.

* that amounts to exactly 0€

Tuesday, July 14, 2009

Survey time

I am currently working on the update, and I'd like to have a bit of input from the players.
It's totaly anonymous and very quick (7 questions).

Friday, July 10, 2009

Volumetric Lines

I first started programming PewPew on Linux, with portable librairies (OpenGL/SDL/libcurl). Of course, I had the iPhone/iPod touch in mind, so I designed the gameplay and the UI accordingly.
After a month or two (once I payed for the $99 for the SDK), I migrated to Xcode and the iPhone OS. I'll write a post about that later because it was not as simple as I imagined it would be.
A week ago, I migrated the code back to Linux, and this time it only took a couple of days :) The goal was to make PewPew prettier by giving the lines a glowing look (like geometry wars) by using the infinite power of my computer (compared to the iphone anyway).


Perfection.

Naturally, at first I failed :-)
My first idea was to draw the lines multiple times, with different width and different transparencies. Here's what it looked like:

Not perfection.


Okay so that was ugly, but it had to be done. The second idea was to use pixel shaders. A pixel shader is small routine executed on the graphic card, that is applied to every pixel drawn. In this case, the shader would blur the screen.
And then I remember that activating motion blur in Crysis made the game run at 10fps...

So I got a third idea, where every line drawn would actually be a streched texture. However, a problem would arises when you would look at the line along its axis: you would only see its profil. By searching a bit (actually, a lot) on the internet, I found out that this problem has been solved, and has a name: Volumetric Lines.
I won't go into the detail of the technique, there is some code here. However I will say that his implementation kicks ass, because he actually use the GPU to process the orientation of the texture (using a vertex shader). Here are some glorious screenshots:





This time, the screenshots are made under OS X, and with the iPhone's screen resolution.

Transparency is not yet working, but that should be easy to correct and I think that using mipmapping will reduce the aliasing (and thus make thinner lines possible). Also, the vertex shader has the additional effect of messing up the tab polygon. hehe.

Overall, I am pretty happy of the result. BTW, it might be possible to run this on the iPhone 3GS at a descent frame rate... To be followed?

Saturday, July 4, 2009

Let there be PewPew v1.1

PewPew v1.1 is finally out. I have not received any crash report (yet?), so the update code seems to work well.
Also, it seems that people appreciate the new game mode =)

Wednesday, June 24, 2009

Review!

First of all, I am happy to announce that App of my Eye reviewed PewPew:
[...] the biggest praise we have for this game is it’s controls, which are very responsive and just feels great overall. If not THE best controls that we’ve ever had in an iPhone game, definitely one of the best. Other publishers/developers should take note. A must-have app for every level of gamer and amazingly, it’s free.



Secondly, last Friday (the 19th), I submitted an other update. Let's hope Apple will validate it more quickly than the last one I submitted!
The most important changes in the new version (PewPew v1.1) are that:
  • The difficulty increases more slowly in the Assault mode.
  • Because the gameplay changed a little bit, the replays you did are incompatible: you will not be able to watch the replays you made in PewPew v1.0. I am sorry, but it was just too complicated to maintain compatibility.
  • I finally added a new mode, Chromatic Conflict. In this mode, you can change the color of your ship. Depending on the color of your ship, you can destroy certain enemies.
  • During the replays, you can stop the rotation of the camera, and fast forward.
Edit: and I forgot to mention that PewPew v1.1 allows you to listen to your own music.

Tuesday, June 16, 2009

Update cancelled!

Okay, so I submitted the update two weeks ago, and it is still "In Review". I had not realized my update was so big it required 2 weeks of attention.

So I canceled the update, because right after it would have been accepted it, I would have submitted a new one, and I am pretty sure Apple wouldn't have appreciated it.

Tuesday, June 9, 2009

Forcing xCode to update the bundle

When you modify some of your ressources files in a xCode project, the bundle does not get updated until you modify some port of the code (or do a rebuild all, which takes a while on bigger project).
So here's my (ridiculous) work around:

mac:~ jyaif$ while [ 1 ]; do touch /Users/jyaif/PewPew/Resources/data/boo; rm /Users/jyaif/PewPew/Resources/data/boo; sleep 5; done

In other news, I am still waiting for my update to get approved. I suspect Apple takes this long, to discourage devellopers from updating their apps too often, as this would force them to hire one or -god forbid- two additional testers. In totally unrelated news, I installed and tried the Android SDK :o

Announcing PewPew and PewPew 2 Remasters

PP (PewPew) and PP2 (PewPew 2) haven't been compatible with modern devices for a couple of years now as I focused on PPL (PewPew Live), ...