Quick Programming Tip: Get Overlapping Area Between Two AABBs.

Quick Programming Tip: Get Overlapping Area Between Two AABBs.

Another Quick Programming Tip comes today. Since I searched through google how to get a the box generated by two overlapping AABBs and found nothing, I found the answer myself and thought it would be good to share it here, so here it goes!

The Question:

You got two AABBs, you know they intersect, and you want to find this inner area, how would you proceed?

2015-04-29 20_16_02-Blender
Continue reading →

Share this:
RTS Movement and Basic Behaviors on Unreal Engine 4

RTS Movement and Basic Behaviors on Unreal Engine 4

For the past 3 years that I’ve been exploring the world of Entity-Component systems, I still find Unreal Engine’s approach one of the most solid ways of handling input and character controlling, however, it is kinda hard to imagine a game that’s not a FPS or an Action game modeled around it, since it seems that’s what it was built for. Since very often I see the argument that Unreal is not good for games that are not FPS, in this article I’ll walkthrough how to setup an RTS/RPG controller system for Unreal Engine 4.

Continue reading →

Share this:
Coding top-down movement with Box2D (and a new project)

Coding top-down movement with Box2D (and a new project)

Sometimes you decide you want to code a specific game genre once in your life, and until you develop something like what your mind pictured, you’ll be a slave of your mind. Nothing more will be done until you fulfill your inner gamedev wishes!

That’s the story of me. I always loved Top-down action games. Be it an ARPG like Legend of Zelda series, a brawler like Super Bomberman or a car stealing nirvana like PlayStation 1’s GTA 2, I love’em all. Instigating, I never tried to code one… Until now.

Continue reading →

Share this:
How To Generate Procedural Racetracks

How To Generate Procedural Racetracks

This post’s been featured on Gamasutra!

The amount of procedural games nowadays is very big. From Minecraft to Canabalt, the replayability that this form of random game gives is very appealing to a lot of players; And to developers too, that sometimes doesn’t have enough time or skill to create levels good enough to keep players entertained for long time spans.

Subjects like procedural terrain and procedural events are well covered in a lot of sites in the web, some other subjects are covered in PCG wiki and some other forums. Even though, if you want to create some new type of procedural content, you have to venture and empirically test methods to create this content. We’ll treat here my adventure on creating procedural racetracks.

Continue reading →

Share this: