Frictional Games Forum (read-only)
[WIP] Snake: The Dark Descent - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+--- Thread: [WIP] Snake: The Dark Descent (/thread-11112.html)

Pages: 1 2 3


RE: Snake: The Dark Descent - flamez3 - 11-03-2011

Hahahahhaa, finally I get what your talking about now XD Nice work!


RE: Snake: The Dark Descent - Brute - 11-03-2011

First Tetris TDD and now Snake TDD? Big Grin
I Heart this community!



RE: Snake: The Dark Descent - palistov - 11-03-2011

The animation is simply an infinitely loop; a function which calls itself on a timer. The timer's duration is a global variable so I can change it with power ups and such, or simply to debug by watching it slowly.

Since the grid consists of 800 units, it's not very efficient to use a for loop or to try and track which grid units should be lit/unlit and other data. The data structure would be huge...I tried that approach but I ended up with an 800 member array, and each member was an array of 7 or 8 variables (direction, lit/unlit, and some more variables I can't think of off the top of my head). Instead, I just activate the grid light which is the snake's head position, and create a timer whose duration increases as the snake's length increases, which in turn deactivates the grid light. It's really quite a simple approach, and makes checking for the snake's head-to-body collisions fairly simple.


RE: Snake: The Dark Descent - RawkBandMan - 11-07-2011

Is it weird I thought Snake meant that guy from Metal Gear Solid?



RE: Snake: The Dark Descent - palistov - 11-07-2011

Haha RockBandMan, that would be called Metal Gear: The Dark Descent.


RE: Snake: The Dark Descent - Juby - 11-07-2011

(11-07-2011, 08:18 AM)palistov Wrote: Haha RockBandMan, that would be called Metal Gear: The Dark Descent.
Ahem

Metal Gear Solid 5: The Dark Descent

Wink


RE: Snake: The Dark Descent - palistov - 11-07-2011

Haha. But I mean, if you think about it....Amnesia has a MGS feel to it. Except in Amnesia you can't kill the grunts if they spot you >_>


RE: Snake: The Dark Descent - Arvuti - 11-07-2011

(11-07-2011, 07:01 PM)palistov Wrote: Haha. But I mean, if you think about it....Amnesia has a MGS feel to it. Except in Amnesia you can't kill the grunts if they spot you >_>


Uh..Amnesia has a MGS feel to it ? I don't really see how amnesia has anything to do with MGS. Calling a game like Deus Ex Human Revolution a game what has MGS feel to it, sure I agree with that but amnesia..Uh my brain hurts now.


RE: Snake: The Dark Descent - Tanshaydar - 11-07-2011

Actually it has nothing to overthink. You just hide, I'm sure you are able to see this.


RE: Snake: The Dark Descent - RawkBandMan - 01-16-2012

Progress Report?