Hopeless

PressXtoNotDie

  • Posts: 94
Ah! now I see what you mean, it is a good idea I must say, much easier than creating many different scenes. Just now have to figure out how to implement it. Do i fade the layer slowly depending on sanity, looking like it blends together? or have at fixed points the board change? like at 75% sanity the layer is 50% faded, and 50% sanity 25% layer fade etc. etc.

ipe 369

  • Posts: 1001
I'm not sure, you'll have to test how it looks, because if blending the layers together looks shit, you might want to try a different approach.

PressXtoNotDie

  • Posts: 94
I sort of have an idea, maybe when sanity is sort of low, just randomly have the layer fade quickly, then fade quickly back in, and the rate of this happening goes up the lower the sanity, giving illusion the character is slowly going insane, if you get what I mean. then when low enough, the layer will completely fade.

ipe 369

  • Posts: 1001
Yeah, that's a great idea!!!!!
I think you should also make an engine to represent light, with torches and stuff, it'll make the game creepier. Quite hard to do though.

PressXtoNotDie

  • Posts: 94
I do like the Light idea, I've already made a 'fake' light engine, but the torches and stuff will need a real one. Know if there are any examples here or on stencyl forge?

ipe 369

  • Posts: 1001
naw, or i would have already snatched em up ;)
i could make one but it'll take time and i currently have a deadline for 15 or somethgin days time :/


marcumgames

  • Posts: 178
Very nice i look forward to playing it!
I own Marcum Games

ipe 369

  • Posts: 1001
i've seen that rob, i was thinking of taking a different approach with polygons instead.
Reason being if you want a torchlight you can't have it overlap the other light using your method i think? I'm not sure though...

rob1221

  • *
  • Posts: 9473
Yeah if you need lights to overlap then you'll have to do something else.  I don't know how you would copy certain pixels but ignore others.  So for a transparent circle with a black border, you'd have to find some way to copy only the transparent pixels but ignore the black border.

ipe 369

  • Posts: 1001
Wouldn't just using polygons be easier? and using the draw functions? you could to torchlight and have it set at different lengths/widths etc, that'd be pretty good, i think this game would be great in the dark :D

rob1221

  • *
  • Posts: 9473
You can't just draw a light to override a black actor (the darkness).  You have to delete the pixels of the black actor to be able to see any objects underneath, which requires code.

ipe 369

  • Posts: 1001
No no no no, i don't think you understood me, sorry :P I mean draw the darkness :) I know i can't just draw light ;)

rob1221

  • *
  • Posts: 9473
That sounds even more difficult, and not very flexible.  Maybe I'm not understanding what you're talking about though.

ipe 369

  • Posts: 1001
Ah, yes, more difficult, i think it would be more flexible though. either way, you don't need light for this game, i think the sanity is pretty cool :) it'd be a nice addition though