Skip to main content

My experiment with a blog for Cuba

A few months ago (november, 2014, if I my memory serves well) I started an experiment: a blog for Cuba, in a cuban platform. You could say that why do I invest time in that, if I already have this and another blog, that I cant barely keep updated weekly. Well, the answer is simple: I always wanted to have a blog in a cuban site, it is my country and I feel that it is the right place to have my content.

But also there are practical reasons. The cuban public lacks internet, a few lucky ones have full access, but a large group (which compared to the amount of disconnected people, is also insignificant) has a limited access to .cu domains. Whatever news I post here, you can read them earlier in the specialized websites. Reviews? I buy new hardware every 2-3 years. Im forced to write about my personal projects, and perhaps my opinions about important events.

The cuban reader is different. Cut from the outer world, it has no access to news or reviews. They need a bridge, somebody who brings them those news to an accessible place, in this case, the new blogging platform. Thousands of new blogs have fluorished, about religion, politics, technology, musics, celebrities, everything. Some of them dont go beyond the sample Wordpress post, but others gather a dedicated community.

In my case, my blog has quickly reached an important number of followers: I receive around 20-30 daily visits with peaks of 100 or more, and an average 2-3 comments per post, surpassing my first blog in Blogger,which has less than 20 comments in its 6-7 years online. It is incredible that a local community of a few thousand people are more willing to participate than a worldwide one of millions.

I cant say how much will it last. This blogging platform is not controlled in any way by the goverment and some people are exposing some divergent criteria. Im sure that if at some point it becomes a political liability, the officers in charge will pull the plug to protect themselves. In the meantime, the cubans are enjoying their own little fake internet.


Popular posts from this blog

Unity3d isometric camera tutorial

I had pending this since a month ago, so Im forcing myself to post it today. The goal is to provide a fully functional isometric like system that you can use with few or none modifications in your own game. So, lets get started.

Start Unity3d and in your scene, add an empty GameObject, we will call it target. Create a camera object and drag it to target to make it child. The result looks like this:

Now select Camera and set the values to this:

For a true isometric like feeling, ortho projection is essential. You could use perspective, but it is not the same. Play with Size to suit your needs (we will be using this later, when implementing zoom).

Now, lets create an script named CameraController, or whatever, and drag it to target GameObject. Lets implement scrolling, the easier part: go to Update() and add the following code:

if (Input.GetKeyDown(KeyCode.W)) {
            dir = UP;
        } else if (Input.GetKeyDown(KeyCode.S)) {
            dir = DOWN;
        } else if (Input.GetKeyD…

TPS with free look tutorial, version 2 (and bugs)

After working a bit to improve the third person camera system I mentioned a couple of days ago, I found a few problems that I could fix, and other I cant. Here is the updated code:

public class PlayerControl : MonoBehaviour {

    public GameObject pivot;
    Animator anim;
    int direction = 0;
    int FORWARD  = 1;
    int BACKWARD = 2;
    int LEFT = 3;
    int RIGHT = 4;

    // Use this for initialization
    void Start () {
        //cam = gameObject.GetComponent<Camera> ();
        //Cursor.visible = false;
        //Cursor.lockState = CursorLockMode.Locked;
        anim = gameObject.GetComponent<Animator> ();

    // Update is called once per frame
    void Update () {
        Vector3 rot;

        if (Input.GetKeyDown (KeyCode.W)) {
            direction = FORWARD;
        } else if (Input.GetKeyDown (KeyCode.S)) {
            //go back
            direction = BACKWARD;
        } else if (Input.GetKeyDown (KeyCode.A)) {
            direction = LEFT;
        } …

Tutorial: building a modular character

Building character models with body parts have been an obsession for me in the last weeks. I have googled, asked, googled, and asked again, played with Unity3d editor, tested code, and so on. You can see the result of my work in the previous post. First of all, I have to say that what I achieved is mostly derived from this thread and the sample posted there. My code is a copy&paste of that sample. Also, you can find a more extense solution in this forum thread.

First, lets start with the model, which obviously, is divided in the required sections. Lets say we have head, torso and legs. Each part must be exported to a separate fbx file, but it must include the skeleton. Then, export the skeleton without geometry to another fbx.

Im going to assume that you want to instantiate all components, and even player, at runtime, from a  C# script (no Unity editor involved, except for creating prefab an position marker), so, we will place the sections, the skeleton and everything…