Monday, May 27, 2013

Vertexes demo

Well, I got the drawing itself sorted out, as you can see:
It behaved exactly as I wanted it to behave, so minimum effort on this part.
The hard part now is calculating the grid nodes to draw the texture at.

Quick break

No, I'm not dead.
I was very busy last week so I didn't get to work on  Clockwork Wanderlust.
I used the weekend to take a bit of a break to recover some energy, and I think I can continue work this week.

Saturday, May 18, 2013

New team member

We're adding "eurooma" to the testers.
There's not much to test right now, but as soon as version 0.1 is done I'll start needing them.

Friday, May 17, 2013

Linkthrough

I found a nice blog which focuses on Game Maker.

I use Game Maker to build my prototypes in because it is so fast and easy to use.
The syntax is very similar to Java's syntax, so I can copy over my code for the most part, I'll only have to re-optimize it.

If you are interested in Game Maker, do check out this blog.

Isometric view: Solution?

It occurred to me that, if normally the square on which the texture is drawn can't be transformed properly, why couldn't I simply make a primitive?

So I'll research using primitives for my isometric view now.
Here's what I understand so far:
(Fixed as of May 27.)

Notice the 2 triangles (ABD) and (BCD) the primitive gets split up in.
This way it is easy for the computer to draw the shapes.

Now I can have my texture:
And map the texture to the primitive as follows:
(WA), (XB), (YC), (ZD)


Can you imagine a field full of those?
This is how it looks:


Not bad at all. The texture is a bit blurred, but I will scale it down in the final game instead of making it larger, which will reduce the blur but hopefully retain the feel of the texture.

But all we have now is still a grassy plain, without any hills whatsoever - I'll have to add an extra dimension to my array soon, and recalculate the drawing height. Wish me luck.

Isometric tutorial

During my quest to research isometric views that can rotate, I found this:

It's very clear and understandable, and describes almost exactly what I mean, drastically reducing the research that I still have to do.

Thursday, May 16, 2013

Build 1: Testing the isometric grid & explanation

So I managed to get some plain isometric game mechanics going.

This is just a quick tech demo, nothing extraordinary, but I plan on using the mechanics in the final game.
(which will be cross-platform btw, since I noticed there is one guy with linux viewing this blog as well. Blame Google's statistics.)

Meet L.A.G (Long Arms Guy).

It is a quick and ugly stick figure, but it's great for quick testing, since only enough effort to make things clear needs to go into the game.

LAG can move in eight directions on the grid of isometric tiles.
(The tiles themselves are isometric. I am still looking for a way to render square tiles transformed properly)

The fun thing is, if you try and control the prototype, the floor seems to move and LAG seems to stand still.
That's kind of right as well. The tiles move on screen, whereas LAG stays invariably in the center.

Now here's what's special: LAG is actually moving along a grid of square tiles, in the normal eight directions, whereas he seems to be moving along the isometric eight directions.

Here's the difference to illustrate my point:



And the grid is not even really a grid - it's merely an array of values, filled with "1"s to indicate grass:
[1][1]
[1][1]

So in fact, LAG is not moving along an isometric grid, but along indices in an array.
And still, it's displayed on the screen like it's walking through a proper (if a bit abstract) 3d world, all in less than 30 minutes of work.

As you can see, the development of the mechanics is going smooth.

Isometric view

I'm running into some trouble when making the isometric view.
I'll try to explain my problem.


I have an original image. It's a square 32x32 tile.
I want to rotate it and scale it down vertically for it to be able to fit into the isometric grid.
I want to keep rotating it under different angles before scaling, because I want to smooth 360 degrees turn.

The top example is what I want to happen.
The bottom example is what happens in every tool I tried out so far.

I cannot add transformations to the graphic seperately.
Scaling seems to be prioritized over rotation by default, and I have no idea how to chnage this behaviour.

I'm of course working on a solution, but what I'm trying to achieve here is way more default to process for a computer than having to render an actual 3d view.

I will resort to 3d if I cannot find a way to change this, but either way, the results will not be seen in the final game. Unless you have a slow computer.

Wednesday, May 15, 2013

Clockwork Wanderlust

Welcome to this blog.
It is about a game in development called "Clockwork Wanderlust".

It's a survival RPG sandbox.
Sandbox because everything is destructible and creatable.
RPG because of involved skills and NPC interaction.
Survival because of player restictions.

The game is going to be isometric and it will provide a nearly endless world, the size of the world only being limited to the size of your hard disk.

Current team:
"Gamesaucer", lead developer

"Xemhinor" and "Scheurneus", test panel.

I'll keep you informed.