Twitter widget refresh

I couldn’t find anything in the Twitter Embedded Timelines documentation that would let me set refresh interval so I made my own. At first I thought I could simply reset the iframe’s src attribute, which usually would reload frame’s content. But Twitter’s widget didn’t had src attribute.

I found a solution. It’s really quick and dirty one, but it works. You can get and modify it to your needs. I’ve only tested it with list’s timeline.

Continue reading »

Floating Islands (update 2)

09 - Hr1Z55y

Islands are finally done – for now. I’ve managed to finish this project and pass an exam with the highest grade (It was my project for university). You can check the walkthrough video below.

My job was to use all UDK’s sample content to create something extraordinary with one rule: “Make two paths from point A to point B, one with obstacles”. You can tell that jumping on the rocks supposed to be the harder route, because it requires you to jump. There’s another, much longer route by the stairs.

Continue reading »

Pixel Sprite Generator

pixelspritegenerator

Recently I’ve found this interesting Pixel Sprite Generator. You can create procedurally generated sprites on the fly. It uses ala 2D array of values to draw solid outline, “soft” body or an empty pixel. Provide just one mask and get milions of variations.

I can see it being used in rougelike games, besides procedurally generated levels: enemy sprites, weapons, items, EVERYTHING.

It is written in JS so I couldn’t help but port it over to Haxe!

JS version draws on canvas and Haxe on openfl.BitmapData. Enough talking, go check live example if you’re not yet excited:

Live Example (keep refreshing that thing for new sprites!)

Commits

GrayScale – reflections after game jam

grayscale - after

GameBoy Jam has ended some time ago and my game ranked #7 in the competition. Among ~250 submitted projects I find it as small personal success and I wanted to thank everyone who voted

I’ve had really great time during the jam. Seeing other people’s projects being built step by step was really interesting and empowering experience. I could follow many games progress from the scratch, many of them with different mechanics and ideas. Game jams are one of the best ways to get into creating and finishing your small games and I surely will attend to some of them in the future.

Continue reading »

UDK – Floating Islands.

FloatingIslands1

Step 1: palm trees grow on islands

Floating Islands is a project for studies. We’re limited to use UDK so it’s a little step backward for me. Gaah, that interface The plan is to make 1 level where player needs to go from point A to B directly or by alternative route. See that island on the left? Thats my point B. I’m going to put a lot of floating rocks and lower the gravity a bit for some jump-action.

Performance wise, I’ve discovered that default UDK’s grass isn’t well optimised. Static mesh doesn’t have any LOD meshes and the best way to gain some performance is to force it disappear from the screen somehow (‘m not an expert, but I know some stuff). But I wanted to see more grass in the distance! So I imported this grass into Blender somehow, put 2 planes in the center, fix UV maps and export it back inside UDK. Now just set LOD 1 mesh, tweak some properties and Voila! From 50 to 100 FPS just as it should be. Now the rendering runs much faster and I can still see some grass in the distance Screenshot below:

Screenshot_2zoom