Appear and disappear effect in WaveEngine

In this article, I’m going to show how to create a cool effect to make the NPCs in your game appear or disappear. One of the issues that you need to resolve when you kill an enemy in your game is how to hide it from your scene. Unless, of course, you want to pile up enemy bodies.

We are going to create a custom shader in WaveEngine for our aim. If you do not already know it, we recommend reading this article before you start.

Follow the steps to create the project effect.

Continue reading Appear and disappear effect in WaveEngine

Nine Patch in WaveEngine

What is Nine-Patch?

A Nine-Patch is an image format that adds extra information on an image file, defining what parts of it should be scaled (and which are not) when the image is rendered in a larger or smaller size. This technique was introduced in the Android SDK and is very useful for creating UI components like buttons, panels, containers, etc.

Using this technique, you can define the background of multiples UI components like panels or buttons with the same image asset. You can also create large panels with a reduced image asset so is very useful for optimizing your project resources.

Continue reading Nine Patch in WaveEngine

What’s new in Wave Engine Saw Shark (2.3.0)

New WaveEngine 2.3.0 (Saw Shark) brings a lot of new features. Although our main new feature is the new Physics 2D engine, we will expose all the new features and improvements of this version.

New Physics 2D Engine integration

WaveEngine 2.3.0 (Saw Shark) includes a native wrapper for Box2D up to 60% faster compared to our last physics engine. Furthermore the new API is faithful to the Box2D API so you can port any Box2D sample to our new WaveEngine API. 

Read this article for more details.

Box2D physics engine

Continue reading What’s new in Wave Engine Saw Shark (2.3.0)

WaveEngine 2.2.1 to 2.3 Cheat sheet

In the last WaveEngine 2.3.0 version has been added Box2D physics engine as native integration. It allows a lots of new physics features and a better performance but it brings many API changes.

WaveEditor has a Upgrader Tool that automatically upgrade your project files to last WaveEngine version but doesn’t modify your source code. So you can find some issues after upgrade your project.

This article brings you a list of common issues and how to solve them:

RigidBody and Colliders

WaveEngine 2.2.1

[code language=”csharp”]
new RigidBody2D()
{
PhysicBodyType = PhysicBodyType.Static
});
[/code]

WaveEngine 2.3.0

[code language=”csharp”]
new RigidBody2D()
{
PhysicBodyType = RigidBodyType2D.Static
});
[/code]

Continue reading WaveEngine 2.2.1 to 2.3 Cheat sheet

Improving performance of my Wave Engine games (2/2)

This article is the second part of how to improve performance of my Wave Engine games. So if you do not know it yet, I recommend you read the first article before you start.

In the first article we showed how Wave Engine´s render works and how many draw calls are need to render entities. In this second article we are going to review two interesting techniques that allow you to reduce the number of draw calls to render your scenes.

Static Batching

This technique allows you to group many meshes on a single mesh so the engine will be able to render multiples entities as one.  But some limitations exist that we need to know before we use it:

  • It is necessary to mark your entities as Static, this means that these entities cannot be translated, rotated or scaled when running your
  • All entities must share the same material instance.

To mark an entity as Static you can set the Static checkbox on Wave Editor´s Entity Details Panel:

Continue reading Improving performance of my Wave Engine games (2/2)

Improving performance of my Wave Engine games (1/2)

In this article we are going to review some graphic concepts that will help you to improve performance of a Wave Engine game. We will make use of Visual Studio 2015 Graphics Diagnostic Tool so if you do not already know it, we recommend to read this article before you start.

Your games performance depends on a lot of factors, in this article we focus on drawing performance and some features you must know if you want to improve it.

Wave Engine’s Rendering System

Wave engine uses Light-Pre pass Deferred Rendering system to represent dynamic lights starting from version 2.0.  This technique is very powerful because allows you to render multiple dynamic lights but it is more expensive than using lightmaps to represent static lights, so you must choose what technique is more appropriate to use for your game.

We are going to research how many “draw calls” are need to draw a simple Entity with texture without dynamic lighting:

Continue reading Improving performance of my Wave Engine games (1/2)

What’s new in Wave Engine Tiger Shark (2.2.0)

Wave Engine Tiger Shark (2.2.0) has been released today. Although we’ve published a 2.1.x version not long ago, we have added important changes in this new WaveEngine version like the Prefab system, which we will discuss below.

Prefab Support

This is a very important feature that allows you reusing entities between scenes and projects. In addition, you can convert any entity hierarchy (and its children) as a prefab easily and instantiate it on your scenes. It’s a more powerful feature than duplicating entities, because it allows you editing all its entity instances at the same time as a single entity.

Prefab

More information on this article

Continue reading What’s new in Wave Engine Tiger Shark (2.2.0)

Graphics Debugging Wave Engine games in Visual Studio 2015

When you are developing a mobile game, it is very important to have good performance. Although mobiles and tables with very powerful hardware exist, you usually want your game to run on the largest possible number of devices.

To achieve this aim, it is very useful to use the new Visual Studio 2015 Graphics Diagnostic tool. In this article we are going to see how to start recording and then analyze rendering and detect performance problems.

Graphics Diagnostic tool

Continue reading Graphics Debugging Wave Engine games in Visual Studio 2015

Wave Engine Game Developer Contest 2016

If you are a developer of indie or professional games, then you can compete alone or in a group in order to win prizes worth up to $15,000. Whether you have a new idea or have already developed a game that you would like to bring to WaveEngine and Windows 10, participate in the contest now which is sponsored by Plainconcepts who will award the best games developed with Wave Engine.

All information is available at Contest website.