NugMan's Forum Posts

  • I'm writing my own quadtree dungeon generator, experiencing problems please help. Second "Parent" sprite refuses to continue loop spawning 4 childs. Heeeelp)

    some notes:

    on any key press system spawns "Parent" sets his position and size.

    next - loop. It must continually loop through the "parents" that spawns "Childs", and through "Childs" to spawn parents on each child to continue loop.

    It must look like parent creates 4 childs in its bounds, then every next child creates 1 parent in its bounds. This new 4 parents creates 4 childs in their bounds (each of them, totally 16 childs) and so on. Sorry for possibly bad English, see signature)

    Here's the cap

    http://www.box.net/shared/rpbxd6r7od

  • Good feature, sign me in petition. Right now have this situation (need 45 degree angle LOS obstacle for wall)

  • Here's preview of my early graphical roguelike prototype.

    Uploaded with ImageShack.us

  • I've downloaded your plugin, great in some sircumstances. Posting just for you to know that it's great. Thanks man!

  • Thank you guys for attention)

    Steven i was using this model at the very first time.

    Yarfapet i am already using such model right now.

    But this is all about LOS using, i'm looking for solution without it atm.

    I had a little play, you sparked an idea

    Well Steven, here's another idea, which gpu consumption goes in geometrical progression (that's why i've dropped it), but in some cases may come handy. Great for precise calculating of visible-invisible area. Here's a cap http://www.box.net/shared/bkjyg0894s

    also you need this effect to work (it flips aplha pixels with opaque ones)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Can't get line of sight to be not too heavy on resources of pc

  • Is there a way? Overlapping with light doesn't include shadows.

  • Inverted shadowcaster can be very useful, is it implemented?

  • I mean FOW like in the strategies. For ex. - i saw enemy's building, but when i don't see this place, i still can see the building, even if it already destructed. And when i see this place again i see that there's nothing left.

    I'm working on this model of fov right now combining LOS and Canvas, still some problems. Maybe anyone already implemented this, and can donate a prototype?

    Added:

    Here's my FOW implementation prototype http://www.box.net/shared/9tzdjybr3c

  • Is there a way to create fog of war? Not just darkening the invisible area, but to see objects that were there at the moment you've seen them?

    Thought about ImageManipulator, but then what if i have 2 sprites on a tile, like enemy and item. Create masks above them for each sprite?

  • There is a way to get your speed back, not to define it, but it will work only if when you exit for ex. water to new surface that 100% identical to one from which you got into the water.

    Something like "if got in water set private variable "oldspeed" to speed, then change speed and if not in water set speed to "oldspeed""

    But it's a crap

  • I don't quite understand. Are you using MessageBoxes to pause the game? Just set the time scale to 0.

    People looking on youtube video, it calls "construct easy pause" or smthg. We need to delete this video)))

    BTW timescale pause will work only if his evens are time-dependant.

  • You have "if in water then anim speed is xxx". Now make "else" with mormal speed defining.

    Or make "if not in water then anim speed is xxx"

  • Oh my... god bless you for this!

  • I found a bug when you copy-paste sprites from one cap to another. This post is just for people who already (i've read those advices about buggy copy-paste from cap to cap) copy-pasted their objects between caps. This is a road too nowhere.

    Known symptom - when you duplicating one of the sprites (i mean creating another instance of it on layout), the other sprite (the other object) disappears from the object bar, but in the project you can see it in it's folder, and all events that involves it are there too.

    Maybe you all already know about it and not doing this mistake, but for those who have their backup that is more or less up to date, i suggest to roll back before it's too late.

    P.S. Sorry if my topic will be considered by someone as flood, maybe somebody will find it usefull.