Sunday 18 June 2017

Game Prototype 18/06/17 - Gource

This is just a quick update, I just recorded a video of the progress on the Prototype using Gource and I would like to show you:





Game Prototype 18/06/17

Sorry for the lack of updates recently, I've been busy studying for the final exams.
This time I've given up on making my on physics system because it is really hard to do something good enough, and it will probably end up really slow. So, instead, I opted by using Bullet Physics. So basically what I've been doing is creating a wrapper for Bullet on my Game Engine. Here is the result:



As show in the video, integrating Bullet on my Game Engine means that I have now collisions working between the player and the terrain (will also be used for projectiles, such as missiles).

You can also see I made some models for the terrain (temporary).
In the next post I will probably have already added a Resource (game resources, not models, textures, etc) system, where I store data about how many Materium, (further explained in the game document) for example, the player has.
This will be essential for the functioning of the Prototype.

Wednesday 14 June 2017

Game Prototype 14/06/17

I have been having some problems lately with the FPS. In a frame, it took 16 ms to render, in the next one, it took 300 ms to render. This was weird because sometimes it didn't even happen. I started commenting every piece of code until it stopped doing that and I ended up finding that glGetUniformLocation was the culprit.

I also created a class structure for the game. For example, I have a BaseUnit class (base class), which MovingUnit and StaticUnit inherit of, and for now, I only have another class, the Player class (inherits from MovingUnit).

So, now we have a player which we can move with smooth camera following and other stuff.

Warning! Programmer Art bellow, viewer discretion is advised.

(I know the model is horrible, but it will have to do for now)



I might add some decorations to the terrain in the next update.

Friday 9 June 2017

Game Prototype 09/06/17

I have moved to work on the Game Logic part, so the new posts will be titled as "Game Prototype <date>". But that doesn't mean I'm not adding more features to the Game Engine, as when I need a new feature I will just add it.

As to what I've been doing lately, I started creating a terrain system. It isn't anything too complicated, the terrain will be just a giant plane with a texture and some rocks and other deco placed on it. The ground will be moon-like, and should look very alien.

Here is the Google Drive document containing info about the game. If you refresh the page you maybe lucky to see new content being added as it isn't finished yet :P.
BTW thanks to my friend Tiago Neves for the amazing formatting XD.

Thursday 8 June 2017

Game Engine 08/06/17

After a week of trying to get CSM (Cascaded Shadow Mapping) working I finally did it. :P

I had a lot of problems finding info about it on Internet because most websites didn't have everything I needed so I had to scavenge a little.

Here is a video of the new shadows:



Now I'll finally start working on the Game Logic. Me and a friend of mine are creating a document containing basically everything the game will have and how it will be. It's a kind of a mix between Supreme Commander and Tower Defence genre but it's played in 3rd person (we have a character).
More info will be released with the document.