Santacid

Show off your games, demos and other (playable) creations.
Post Reply
User avatar
Dattorz
Citizen
Posts: 66
Joined: Sat Oct 27, 2012 12:32 am
Contact:

Santacid

Post 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)
User avatar
iPoisonxL
Party member
Posts: 227
Joined: Wed Feb 06, 2013 3:53 am
Location: Australia
Contact:

Re: Santacid

Post by iPoisonxL »

I love this, oh my god.

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

:(

EDIT: Nevermind.

Code: Select all

      L
    L Ö
    Ö V
L Ö V E
Ö B E
V E
E Y
Website
User avatar
DaedalusYoung
Party member
Posts: 413
Joined: Sun Jul 14, 2013 8:04 pm

Re: Santacid

Post 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.
User avatar
Dattorz
Citizen
Posts: 66
Joined: Sat Oct 27, 2012 12:32 am
Contact:

Re: Santacid

Post 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.
User avatar
DaedalusYoung
Party member
Posts: 413
Joined: Sun Jul 14, 2013 8:04 pm

Re: Santacid

Post 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.
User avatar
Dattorz
Citizen
Posts: 66
Joined: Sat Oct 27, 2012 12:32 am
Contact:

Re: Santacid

Post 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.
User avatar
slime
Solid Snayke
Posts: 3170
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Santacid

Post 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.
User avatar
Dattorz
Citizen
Posts: 66
Joined: Sat Oct 27, 2012 12:32 am
Contact:

Re: Santacid

Post by Dattorz »

I created a new issue on the bug tracker: https://bitbucket.org/rude/love/issue/8 ... ks-scissor
User avatar
BozoDel
Party member
Posts: 164
Joined: Fri Nov 01, 2013 10:28 pm

Re: Santacid

Post 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!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest