toxicfork

LD20

My First LD!

Hello, I’m going to participate in LD 20, pretty excited! 馃槢

I will be using:

Engine: Unity3D

Graphics: Paint.NET

Sounds:聽http://www.bfxr.net/ (wav generator)

2D Tile Engine!

Yay!

Just a few demos using only 10×10 tiles:

How it happens:
A 10×10 tile is created using a boolean array:

for(int i=0;i<10;i++){
 for(int j=0;j<10;j++){
 tiles[i,j] = (Random.Range(0.0f,1.0f)>=0.5f);
 }
 }

Then each tile checks its surrounding tiles and records the environment status into a flag:

byte getFlagsForTile(int i, int j){
 byte result = 0;
 int curPos = 0;
 for(int k=-1;k<=1;k++){
 for(int l=-1;l<=1;l++){
 if(!(k==0&&l==0)){
 if(hasTile(i+k,j+l))
 result|=(byte)(1<<curPos);
 curPos++;
 }
 }
 }
 return result;
 }

Based on this flag system:

So if the flag’s first bit is 1, that means there’s a tile on the lower right of this tile.

Using the flag as a guide, the tile can then pick its graphics from this sprite sheet:

 

That’s it … also I will use the flag information to generate collision.

Comments

snowyowl
30. Apr 2011 路 12:49 UTC
Wow. That is an awesome sprite sheet.

LD22

In!

I couldn’t complete my entry last time, so hopefully I’ll have a chance in this one (perfect timing, it starts right after聽 my semester ends!).

 

Engine: Unity (C#)

IDE: Visual Studio 2010

SFX: http://www.bfxr.net/

GFX: Photoshop + paint

Git

LD23

I鈥檓 in

I’m entering, I tried twice in the past but couldn’t complete in time, hopefully third time is the charm!

Actionscript 3, paint .net, bfxr.

5:41 GMT update

I have decided on an idea (a cat in a house, where the house is the “tiny world”)!

I decided to use box2das3 (actionscript 3 port of box2d) for collisions.

Had some troubles with 2d animation software. I thought ASEPRITE had onion skin… apparently it didn’t. I had to use Paint.net and set layer transparencies manually instead. It is hard to animate things this way, though. Graphics Gale just doesn’t have the brushes that I need.

Player character with idle animations (and a broken walking animation).

You can find the source here:聽https://bitbucket.org/toxicFork/ld23/ !

End of day 1!

Added animations for the cat! Also, cleaned up some physics bugs. I didn’t have much time the second half of the day to do other things, but tomorrow will be more productive! You can find the source here!

Current state of the game: http://dl.dropbox.com/u/11809018/LD23_DAY1_END.swf

LD24

I鈥檓 in!

Fingers crossed on completion this time 馃榾

Using:

  • Unity 3D 3.5
  • Gimp
  • BFXR