Page 1 of 1

Santacid

Posted: Mon Dec 30, 2013 8:52 pm
by Dattorz
This is a game I made for the Glorious Trainwrecks Sekret Santa event.

You need LOVE 0.9 to run this. You also need shader support, because it features shader-based gameplay! Yes, that is a thing.

Image
Image

Christmas is almost here, but everyone is all drunk and hungover from the Christmas Eve Eve Party that happened last night! Can Santa deliver his gifts before Christmas morning?

This game is split into three parts:

Level 1: Santa.Slide: Help guide Santa around his house to retrieve the missing pieces of his naughty/nice list! He can only move into a straight line until hitting something!
Level 2: Superdrive: Power up Santa's sleigh! Calibrate the visual so that the left half matches the right half!
Level 3: SSSanta: Deliver presents to the correct houses before morning comes! Just remember that you can only turn counter-clockwise! Watch out for those magic mushrooms!

Download: http://dl.dropboxusercontent.com/u/4416 ... tacid.love
(Linking directly to the file on Dropbox because it's 2.7 MB too large to attach)

Re: Santacid

Posted: Mon Dec 30, 2013 11:32 pm
by iPoisonxL
I love this, oh my god.

EDIT: I'm stuck at the 3rd part of Level 3...

:(

EDIT: Nevermind.

Re: Santacid

Posted: Tue Dec 31, 2013 12:00 am
by DaedalusYoung
Fun game :)

I encountered a bug, in the Snake-level, after having eaten mushrooms, when the game changes to the text, from then on the top half of the screen is black.
Using Mac OS X 10.8.5, Intel Iris Pro 1024 MB graphics card.

Re: Santacid

Posted: Tue Dec 31, 2013 12:08 am
by Dattorz
DaedalusYoung wrote:I encountered a bug, in the Snake-level, after having eaten mushrooms, when the game changes to the text, from then on the top half of the screen is black.
My Klua engine uses a scissors rectangle to create black bars so that it can maintain aspect ratio when scaling. For some reason, when I draw to a Canvas, the scissors rectangle breaks, even when I don't use scissors on the canvas. I tried to fix the issue by forcing the scissors off when the tile grid is drawn, and keeping it off even after disabling Canvas drawing. It seems like it might be a bug in LOVE? Or maybe an issue with the Intel drivers? I should put together a test app to see if this is the case.

Re: Santacid

Posted: Tue Dec 31, 2013 12:15 am
by DaedalusYoung
My screen resolution is 1920x1080, the game is the same aspect ratio, so maybe the scissor bugs when feeding it values of 0? :/

I must add that toggling fullscreen off and back on fixes the issue immediately.

Re: Santacid

Posted: Tue Dec 31, 2013 12:36 am
by Dattorz
I don't store any state regarding resolution so it sounds like a LOVE issue.

The bug seems to be related to the size of the canvas, which I have at 1280x720, the same resolution as the game's "reference" resolution. If the window is sized to any other resolution (and thus affecting the clipping rectangle), the bug occurs. I did notice that the bug occurred even after switching between Scenes (weird). So it looks like the bugfix I did initially only fixed the issue for the SSSanta scene, because I disable the scissors on that scene and not other scenes (scissors gets cleared and set again each frame of the gameloop).

Edit: BTW, I am really thankful that LOVE 0.9 introduced love.graphics.origin() (and allowed it to be pushed/popped as part of the transformation stack) because without it the Canvas I used for the mushroom effect would break when scaling to other resolutions.

Re: Santacid

Posted: Tue Dec 31, 2013 1:57 am
by slime
Can someone make a .love which reproduces the issue as simply as possible? I had thought I'd fixed some issues related to scissors combined with Canvases for 0.9.0, but maybe something else got broken in the process.

Re: Santacid

Posted: Tue Dec 31, 2013 3:07 am
by Dattorz
I created a new issue on the bug tracker: https://bitbucket.org/rude/love/issue/8 ... ks-scissor

Re: Santacid

Posted: Tue Dec 31, 2013 1:41 pm
by BozoDel
I love and hate this game at the same time.

I don't think the 3rd level bug is an Intel issue, I'm getting it on an Nvidia card.
EDIT: It can be fixed by toggling fullscreen.

EDIT: But mostly love!