disperse

LD24

Hmm

I’m considering joining this competition (my first) but, with an expecting wife and 4 1/2 year old son I don’t have much time.

I’ll plan on setting the bar very low with the hope of actually completing something.  I’ll see if I’m inspired by the theme choice.

:-(

Tags: pulpcore

First screenshot…

…hope it’s not the last.
Good night all, and good luck!

Drawing a block of text in Slick Java

This was easier than I thought, but if anyone else has a need for this here is the code:

import org.newdawn.slick.Font;
 import org.newdawn.slick.geom.Rectangle;
 import org.newdawn.slick.geom.ShapeRenderer;
 
 public class TextBox {
 
     private float x;
     private float y;
     private float width;
     private String text;
     private Font font;
     private Rectangle rectangle;
 
     private String drawText;
 
     public TextBox(float x, float y, float width, String text, Font font, float margin)
     {
         this.x = x;
         this.y = y;
         this.width = width;
         this.text = text;
         this.font = font;
 
         // Break the text into words
         String[] wordArray = text.split(" ");
         drawText = "";
         String curText = "";
         for (int i = 0; i < wordArray.length; i++)
         {    
             if (font.getWidth(curText + " " + wordArray[i]) > width)
             {
                 drawText += "\n";
                 curText = "";
             }
 
             drawText += wordArray[i] + " ";        
             curText += wordArray[i] + " ";
         }    
 
         rectangle = new Rectangle(x-margin, y-margin, width + (margin * 2), font.getHeight(drawText) + (margin * 2));
     }
 
     public void draw()
     {
         font.drawString(x, y, drawText);
         ShapeRenderer.draw(rectangle);
     }
 }

Edit: There was a bug in the code that I fixed above. I guess it wasn’t so easy after all…

YAIFP

So, I failed.  I only had about 15 hours altogether to put into the project.  Probably another 5 hours or so would have done it. I could possibly submit it for the Jam but I think I need to take a break from it and come back to it fresh.

I’m looking forward to taking some time tomorrow to see what others came up with.

LD26

I am {maybe} in.

I’ll take a peek at the theme and then mull it over tonight.

If I do take part I’ll be using rot.js (http://ondras.github.io/rot.js/hp/) to make a HTML5 rogue-like.  My editor is Vim.

I poked around with rot.js a bit this evening and here is the test code I’ve written:

https://docs.google.com/file/d/0B8VrIcfvjiTYd1ZkZy04cWZaZ2s/edit?usp=sharing

I’ve participated twice before and didn’t complete a game either time but I don’t regret the time spent; it is always a learning experience.

 

 

 

LD33

New artist

So, now I’m doing the Jam, my 7-year-old son has been working on art for the game all morning.  Here is the title screen:

title-screen

Whoops!

Making those trees physics objects didn’t work out how I’d planned…

oops_480

Done!

So, I’m done. I was going to take a few hours and do the compo (Glorious Trainwrecks style) but my 7-year-old son took an interest in the process and ended up creating all the art assets for the game. The compo became a jam and I ended up spending probably around 12-18 hours over the weekend pulling together a complete game with original art, music, and sound effects.

The gameplay is basically Pac Man, but it’s short, no download necessary, and Henri’s art is great! Try it out, and best of luck with your games.

LD35

My base code

I forked sjrd’s scalajs-phaser-demo to have a starting point with scala.js and phaser. I didn’t have as much time as I wanted to work on it but implemented basic audio functionality and proved to myself that adding the phaser bindings for scala.js is easy enough to do as needed. Here’s the repo for anyone who might be interested:

https://github.com/disperse/ld-35

LD36

We’re IN!

It’s been a year since Henri and I participated in Ludum Dare 33 and we’re excited to give it another try.

Our last entry Cursed was very simple but saved by the strength of Henri’s art. This year I’m hoping to match the quality of the art with more interesting gameplay.

I’ll be using IntelliJ IDEA, the Phaser HTML5 game framework, and Audacity for music and sound effects.

Henri will be using either an Intuos Draw tablet with Photoshop or an iPad Pro with Adobe Sketch for the art.

My base code can be found here.

Day one progress

Enjoy a pug in jumping boots scaling a tower:

day_1

Comments

MiniBobbo
28. Aug 2016 · 03:02 UTC
I’ve been sitting here for a few minutes now just watching this pug endlessly climb this tower. I don’t have time for this!

LD 40

We're super excited to participate in the Jam!

wayne_loop.gif

I'm excited to be coding in Phaser and perhaps doing music and sound effects in Audacity.

My son Henri (10) is excited to make pixel art using Pixaki.

Wayne (5) is just excited.

5 hours in...

I was able to put 3 hours in last night and another 2 today. We're doing a twin-stick shooter with same-screen coop and I have a working prototype using gamepads. All placeholder art at this point:

twin_stick.gif

Coop camera

I had to solve the issue of a camera for two players. I ended up creating an invisible box that the camera follows that interacts with the players as a physics object. This will allow player 1 to drag player 2 along with them. It works pretty well but any suggestions would be welcome.

Henri created some music for the game in GarageBand and started on the pixel art. I need to start working on some gameplay elements.

coopemcamera/emshort.gif