Following on from the success of the GBAJam21, the GBAdev community has decided to wrap up the year with a relaxed winter game jam. The optional theme is Frozen.
Check it out on Itch.io here.
Based on the last GBAJam that I did, I knew I had to reel in the scope. There were two games that I kind of had in mind.
This summer (NZ) we are on the road travelling around New Zealand in our little car SoyBean. This means that while I have been able to recharge my phone and look at the jam page, I haven't been able to do any programming.
So instead I write code, data structures and come up with ideas the old fashioned way.
I thought it might be interesting to compare one of the functions I wrote psuedocode for, with the implementation code.
gridPosToScreenPos(x,y){
sx = -100
sy = -50
sx+= x * 20
sy+= y * 20
if(horizontal){
sx += (length * 20) / 2
}
if(vertical){
sy += (length * 20) / 2
}
return sx, sy
}
[[nodiscard]] bn::fixed_point gridToScreen(bn::fixed_point gridPos, lro::Orientation orientation, int length)
{
// screen offset
bn::fixed sx = -100;
bn::fixed sy = -50;
// add gridposition
sx += gridPos.x() * 20;
sy += gridPos.y() * 20;
// horizontal luggage's grid pos is at left end
if(orientation == lro::Orientation::Horizontal) {
sx += (length * 20) / 2;
}
// vertical luggage's grid pos is at top end
if(orientation == lro::Orientation::Vertical) {
sy += (length * 20) / 2 - 10;
sx += 10;
}
return bn::fixed_point(sx, sy);
}
Very similar, the only thing I missed was offsetting the width after rotation of the vertical luggage. Neat.
The plan is to keep this up and only turn my laptop on when I absolutely need it.
Well. I have the following working...
The idea is that you are an expertly trained Luggage Retrieval Officer, maneuver luggage in tight spaces to remove misplaced items from the aircraft before take off.
I also made a pretty neat title screen.
Ranked in order of importance..
As a newly hired Luggage Retreival Officer you will have to climb through the ranks, start off retreiving low risk luggage. But eventually you will have to take on bigger more demanding challenges, retrieving misplaced FBI evidence or handling bomb threats in the cargo hold.
Are you up for the challenge?
Play through the bugs and featureless game, first 10 puzzles included.