Easy Game – Addon for Blender

An Addon By Mpan3 in which you can archieve some nice effects in a very easy way, like reflections, post processing among others.

Video here:


 

Below the author´s description:

Easy Game for Blender Game Engine

Easy Game is a collection of tools that allow you to work faster and more efficiently with the Blender Game Engine. It is made up of two components:

Easy Material

Easy Material creates physically-plausible photorealistic material templates(called uber materials). All you have to do is load in the appropriate textures to fill the slots. No more fiddling with materials and texture settings! The materials created by Easy Material are PBR compatible, so you know they’ll look great in any lighting condition. Easy Material supports Diffuse map, Normal map, Gloss/Specular Map, Light map, and Environment Reflection Map. With the right texture packs, Easy Material can make any solid surface look spectacular! The materials created are useable in the Game Engine as well as Blender Render. Textures not included.

Easy Asset

Easy Asset helps you create common game assets such as first-person camera, day-night light cycle, and post-processing effects with just one-click. This way, you can start a project at turbo speed! The created assets as fully configurable from the Blender Properties Editor or Logic Editor.

Buy here $5,99

Blenderartist thread here

Pixelate Shader – Blender game engine

Some weeks ago was released an addon to make renders like pixel art (pretty neat by the way) and soon in every game development community (in which I’m subscribed) there were people talking about how good is the addon and how much this improves the process of making decent pixel art assets.

Other people who are making games in 3d, were wondering about having something similar to perform 3d graphics with pixel-art look, and then I recalled a 2d shaders that I saw in the blender artist forums, that do something similar.

The shader author is SL_RU, and here is the link to the forum:

http://blenderartists.org/forum/showthread.php?318842-Pixelate-shader-filter2D-BGE

And here is a gif image showing off the shader in action:

pixelize

This image shows different pixel size, wich can be changed in this variable:

float Pixeliz = 5.;

The more high, the more pixelated, look for the full code in the forum link) .If you want to test the shader and don’t know how to add 2d shaders /2d filters on scene, have a look here.

 

Planar reflections in the BGE

After some request about reflection in the Blender Game Engine (BGE) I decided to write a small post about it.

There are three techniques to achieve this effect in the BGE, as far as I know, which are listed below:

  • Shader based (fragment viewport coordinates – GPU expensive)
  • Render to texture (with texture.ImageMirror() )
  • Duplicated and mirrored geometry
So, lets have a look on each method.

Shader based reflections is the method that modern game engines uses to render planar reflections. Martinsh has developed a demo in the BGE that uses fragment viewport coordinates instead geometry UV map , wich according to his description  the reflecting surface size can be unlimited with this method, but take into account that you will need a decent Video Card to run this.

Here is the link to the Blenderartist forums where you can see the Martinsh post about this, with videos and sample files.


Render to texture  module allows us to manipulate textures during the game.

Several sources for texture are possible: video files, image files, video capture, memory buffer, camera render or a mix of that.

The video and image files can be loaded from the internet using an URL instead of a file name.

In addition, you can apply filters on the images before sending them to the GPU, allowing video effect: blue screen, color band, gray, normal map.

bge.texture uses FFmpeg to load images and videos. All the formats and codecs that FFmpeg supports are supported by this module, including but not limited to:

  •  AVI
  •  Ogg
  •  Xvid
  •  Theora
  •  dv1394 camera
  •  video4linux capture card (this includes many webcams)
  •  videoForWindows capture card (this includes many webcams)
  •  JPG

(source & more info)

And watch this video and read the description inthe youtube page (thanks maykon!)

Monster (BlenderArtist forum member) has developed a more friendly module that allow us to manage more easily the video texture module, grab the blend file here with demo and have a look.

More tutorials about this here:

Video Texture ImageMirror: flip

Render to Texture


And the last method is by duplicating geometry and mirroring as simple as that, maybe is not the most fancy method but I think is widely used in mobile platforms due to hardware restrictions and optimizations.

fake_reflections

Grab sample file here

Hope you fin this useful, thanks!

“Need to Knows” about Game Design by Dr. Lewis Pulsipher

Just found this and I thought it would be more a “must know” rather a “interesting” topic for those guys who want to be game designers, and want to make it for a living.

Some points to consider, check the link below to see for yourself!

“Need to Knows” about Game Designby Dr. Lewis Pulsipher

Adding 2DFilters in the BGE

I recieve a request in my youtube channel to make a video showing off how to add Filter 2D in the BGE, although this kind of stuff might sound a bit easy for many people, maybe is not for newcomer people.

On the video you will see that I usually copy the “filter 2d” code from a txt file and then I paste to a text file in the blender text editor, then add a proper name and that’s it, you have a 2d filter, unassigned but you have it there. And of course you can add it from the File/open menu in the same text editor if you already have it as a txt file in your hard drive.

Here is a sample Filter 2D you can use, in case you don’t have one.

If need some more 2d Filters, look for it in the blenderartist forums, or get ir from this sample file

Once getting this file, you can get the 2d filters by opening the file and going to the text editor and copy the code, or by merging them / append into your blend file.

And do not forget the default filters there!

2dfilters

Hope it helps!

Enemy Patrol with Logic Bricks – Blender

Here is a simple example I did to teach some college internship students at work, it was meant to teach them the basis regarding logic bricks and the state machine in blender in a very basic way.

Blend file here

This example was done with three (invisible) points, that represents the red area, wich is protected by “the red enemy“, and if you “the blue player” get into the red area, the enemy will face you and chase you, and if get too close to you (in the red player’s sight area) then it will shoot you, even if you are no longer in the red area…so, very simple, but enough for the newcomers.

And here is the  “game test” that one of them did at the end of the course.

 

Not the nicest video capture (it was recorded with my smartphone ..) but that was one of the students result :)

patrol

FPS template mini tutorial – Blender

This is a small tutorial for the people who are new to the Blender game engine but willing to learn the basis in the BGE. Here you will see how to set-up your First Person Shooter template using logic bricks in blender, wich means no coding.

I'm assuming you already known some blender basis, like object transformation (move, rotate, scale), etc.

Be aware that at this moment the actuator has some issues regarding screen resolution, this cause some malfunction with movements in “X” axis on screen, so at this time I thinks is not very usable.

I’ve wrote about this here.

Grab the blend file here

You can find a more elaborated explanation here,  and another example clicking here.

Feel free to comment if you need to :) FPSMTB

%d bloggers like this: