Skip to main content

One month after...

The lack of posts on this blog is due to some furious bug fixing. During this past month I submitted to the App Store:
-PewPew 2
-PewPew 2 Lite, but I removed it from the app store immediately because I had actually uploaded the full version, instead of the Lite version...
-an update to PewPew 1 to notify everyone about PewPew 2
-an update to PewPew 2 because PewPew 2 was crashing when the score table was full, and because the iPad version simply did not start. It got rejected because the game did not support correctly the orientations of the iPad...
-a second update to PewPew 2 to fix all the issues I was aware of at the time (it got accepted).


At the moment, there seems to be no bugs left on the iPhone, but the iPad version sometimes crashes when validating a score, or when editing the name... It will get fixed!

While waiting for Apple to approve the various updates, I worked on the campaign. In the next campaign, you'll fight the "Boss" once more. This time however, it's going to be a bit harder to defeat him (some cannons/turrets will accentuate the chaos).

Recently, I have been working on a new Infinity game mode called "Symbiosis". You control 2 ships of different colors, much like in the xbox 360 game Schizoid. The blue ship will be invincible to blue enemies, and the red ship will be invincible to red enemies. For now, the ships are linked with an electric field that destroys enemies. The electric field is also a spring, so one ship can drag the other ship.


Don't mind the graphics, I am only testing the gameplay.

I am far from having the gameplay done, and I am not even sure yet this game mode will ever be included in PewPew 2. Controlling two ships at the same time is really really hard, and that's why I added the spring between the ships: it helps keeping the two ships close. Still, I am persuaded that this game mode has potential.

Comments

Popular posts from this blog

PewPew Live's look in a nutshell

Occasionally someone will asked how I obtained the PPL look. In a nutshell: Draw everything with lines, including the text and the various icons. It's a lot of work, but besides looking unique it creates a consistent appearance which is a thing that a lot of indie games struggle with. The lines are screen-space projected lines with miter joins. Draw the lines with additive rendering. This means that if a red and green line overlap, the overlap will be yellow. There are a few things not drawn with additive rendering (like the background of buttons to improve readability), but they are exceptions. Add bloom. There's lots of different bloom implementations. Nowadays I use a bloom that is similarly to the one in  blender's eevee . If you see banding, use dithering. Optional: Add even more post-processing like (very slight) chromatic aberration, lens dirt, scan lines, curved monitor, and vignette. No post-processing, just lines Bloom! Ignore the missing bloom at the top All the...

A general state rollback technique for C++

I wanted to write this post for a while. It describes a C++ technique to implement rollback in the context of multiplayer games that I feel is quite interesting and useful. The tl;dr is: don't bother serializing individual objects, just rollback all the memory. Rollback-based multiplayer I've been working on a multiplayer version of PewPew, and for reasons that are outside of the scope of this post, I chose to implement multiplayer with deterministic lockstep and rollback. The basic idea behind rollback-based multiplayer is that the inputs of players are replicated to all the players. Whenever a player receives the inputs of another player, the state of the game is rolled back to the point where the input happened and fast-forwarded back to the present so that the state shown to a player takes into account the inputs of the other players. Because history is being re-computed, some events get undone. For example, it's possible a player saw themselves taking a bonus, but aft...

Ridiculously cheap depth of field effect for lines

I'm working on PewPew's sequel, for which I've revamped the graphics. Instead of drawing lines directly using OpenGL, each individual line segment is made up of two triangles whose vertexes are computed with shaders. Getting lines in 3D space to be properly displayed on a 2D screen is not trivial. In PewPew's sequel I use the screen-space projected lines, a technique very well described in the  Drawing Lines is Hard  post. The upside of drawing the lines yourself is that you are fully in control, which allows you to implement nice things such as joints, perspective, and even simulate depth of field. https://en.wikipedia.org/wiki/Depth_of_field Usually depth of field (DoF) in video games is implemented using a post-processing step that blurs the pixels with an intensity that is a function of the depth of the pixels. When we are rendering lines, we can approximate DoF directly when rendering the lines by having the vertex shader increase the width of lines and r...