Gamemakers

For People Who Create Games.

52 notes

unmanuel:

Ahhh… Palette Swaps.
I’m leaving some Java snippet below. It takes an image containing red pixels (e.g., Ermac’s sprite sheet) and adjusts the hues of these pixels to match the given one.
void colorear(BufferedImage image,int n_hue) {                int c,r,g,b;        int w = image.getWidth();        int h = image.getHeight();                float hue = n_hue / 360f;        float hsb[] = new float[3];                for(int j = 0; j < w; j++)            for(int i = 0; i < h; i++) {                                c = image.getRGB(i,j);                                b = c & 255;                g = (c » 8) & 255;                r = (c » 16) & 255;                                if(r > 0 && g == 0 && b == 0) {                                        Color.RGBtoHSB(r,g,b,hsb);                    image.setRGB(i,j,Color.HSBtoRGB(hue,hsb[1],hsb[2]));                }            }}

unmanuel:

Ahhh… Palette Swaps.

I’m leaving some Java snippet below. It takes an image containing red pixels (e.g., Ermac’s sprite sheet) and adjusts the hues of these pixels to match the given one.

void colorear(BufferedImage image,int n_hue) {
        
        int c,r,g,b;

        int w = image.getWidth();
        int h = image.getHeight();
        
        float hue = n_hue / 360f;

        float hsb[] = new float[3];
        
        for(int j = 0; j < w; j++)
            for(int i = 0; i < h; i++) {
                
                c = image.getRGB(i,j);
                
                b = c & 255;
                g = (c » 8) & 255;
                r = (c » 16) & 255;
                
                if(r > 0 && g == 0 && b == 0) {
                    
                    Color.RGBtoHSB(r,g,b,hsb);
                    image.setRGB(i,j,Color.HSBtoRGB(hue,hsb[1],hsb[2]));
                }
            }
}

4 notes

Troll-o-Paddles needs audio developer

pctroll:

English and Spanish content. Contenido en Inglés y Español.

English:

Troll-o-Paddles is a humble game I developed with another friend. We need an audio developer in order to do what he/she does best and help us with the project. The game is a metal-stylish version of Pong. Your name will appear on the credits screen, README file and any website we upload the game to, in order to share it with friends and/or fellow game developers.

You can download the game from here: http://bit.ly/gZyaLN

We need the following audio files:

  • Title screen / Credits screen background music (something like Schism intro will suffice, but it’s up to you). It’s the same for both screens.
  • Main screen background music (something like Godsmack or such).
  • Metal clash for collisions.
  • 2 game-over riffs. 1 win, 1 lose.

Important: Original material only. We’re not selling the game, but it’s supposed to be shared across the web with friends and fellow developers as stated above.

pctroll [@] gmail [dot] com

Español

Troll-o-Paddles es un humilde juego que un amigo y yo desarrollamos. Necesitamos un sonidista que haga lo que sabe hacer mejor y nos ayude con el proyecto. El juego es una versión “metalera” de Pong. Tu nombre aparecerá en la pantalla de créditos, el archivo README (LEEME) y cualquier sitio web donde lo subamos para que amigos y otros desarrolladores lo puedan descargar.

Se puede descargar desde aquí: http://bit.ly/gZyaLN

Necesitamos los siguientes archivos de audio:

  • Música de fondo para las pantallas de título y créditos (algo tipo el intro de Schism, pero queda a tu elección). Es el mismo sonido para ambas.
  • Música de fondo para la pantalla principal de juego (similar al sonido de Godsmack).
  • Sonido de choque de metal para las colisiones.
  • 2 riff cortos para el final del juego. 1 para ganar y 1 para perder.

Importante: Sólo material original. No estamos vendiendo el juego; pero lo compartiremos vía web con amigos y otros desarrolladores vía web, como se mencionó anteriormente.

pctroll [@] gmail [dot] com

(Source: pctroll)

Notes

If you want to develop games, nothing is stopping you. You can find the time. You don’t need a big budget or fancy tools. You don’t need a team of specialists. You don’t need years of training. All you need is the will to make it happen.
Jay Barnson on “How to build a game in a week from scratch with no budget” (link). (via pctroll)

(Source: pctroll)

Notes

Less Talk, More Rock

pctroll:

An interesting article about game design that is somewhat being left behind by modern commercial approaches.

1. Get the idea.
3. Work on it!.
2. Make decisions.

…proceed from 1 to 3 to 2. Go right from the inspiration — the vision — to actually making it. Don’t think it through. Don’t talk about it. Don’t plan it. Dive in and start making it happen. If you do that — if you can start rocking — you’ll get some momentum, and when you have some momentum then the project has a chance, because now you’re into it. It’s going somewhere, it’s tangible. Sure, you’ll still run up against problems to solve and decisions to make, but you’ll approach these in the moment and solve them in the moment. You’ll solve them so you can keep moving.

(Source: pctroll)

2 notes

The Ren'Py Visual Novel Engine

Ren’Py is a visual novel engine that helps you use words, images, and sounds to tell stories with the computer. These can be both visual novels and life simulation games. The easy to learn script language allows you to efficiently write large visual novels, while its Python scripting is enough for complex simulation games.