blurymind's Recent Forum Activity

  • the problem is that both enemies are the same object and I dont know how to tell construct to compare their instance variables.

    How would you do it with animation frame condition instead of family? :)

  • amily Alert mode = 4

    I cant access the enemy object variables through the family.

    They are not listed in the

    "compare instance variable" condition found in the "enemies" family.

  • Hi, sorry if this is a noob question.

    I am trying to make a stealth game in scirra and sort of got stuck at implementing a feature where an enemy discovers another enemy that is dead.

    My enemy object uses line of sight behavior to see things.

    Their movement behaviour is determined by an instance variable which they all share -alertMode.

    Alert mode=0 - enemy is inactive

    =1 - enemy is patrooling

    =2 - enemy is alret and attacking

    =3 - investigating/ alert- looking for player

    =4 - enemy is dead (you need to hide the body)

    So we have two instances of the same object - enemy.

    One has alert mode=1 (patrooling), the other is dead (alert mode 4)

    How do I tell the patrooling enemy to change their alert mode to 3, when they have line of sight to a dead enemy (4).

  • spriter already has some support for construct 2.

    Spine has a nicer ui, but it's way more expensive for the pro version, and its limited in exporting

  • this is fantastic! And in so few lines of code too! Well done. You should put it up as a tutorial.

  • makes me wonder how they did it in Stealth bastards. Maybe whats visible is a shader. But whats happening under the hood is the engine is drawing a colision object based on angles.

    What I really need in order to use a shadow as a condition is a dynamic colision polygon, that mimics the shape of the shadow drawn by the shader

  • It's not good enough for the type of Game I want to use it in.

    The only shadow hacks that are half useful on construct 2 are here

    scirra.com/forum/another-waste-of-time_topic83212_post485669.html

    the guy is not happy with his solutions yet either.

    I think shadows should not only be a graphics shader. They should be a behavior (condition) that can affect gameplay.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I guess that sconstruct 2 will never be able to produce a game such as stealth bastards (made with Game maker Studio)

    stealthbastard.com

    I should look into learning game maker then?

    yoyogames.com

    youtube.com/watch

    their licenses are a bit more expensive though

  • hi and thank you for this. :) keep up the great work.

    Maybe one day someone will implement proper shadows as a plugin. Until then this is the best place in the entire forum on doing a hack.

  • RamPackWobble

    Can you share with me the Line of sight hack to get this flashlight effect? I would much appreciate it.

    Without a capx file I have no idea how you did it exactly

  • I just found out that construct 1 has some features that are not available in construct 2:

    sourceforge.net/apps/mediawiki/construct/index.php

    Would it be possible to port this behavior to construct 2? Currently this is a commonly requested feature and people have found multiple dirty hack ways to do an implementation. But the implementations are not ideal.

    I want to be able to use as a condition IS PLAYER OVERLAPPING SHADOW.

    The CANVAS plugin approach simply draws the shadows. You can not use the shadows as a gameplay mechanic (for stealth or health)

    There is another dirty hack that is too expensive on the cpu- using the LINE OF SIGHT behavior combined with lots of shadow pixel sprites.   <img src="smileys/smiley5.gif" border="0" align="middle" />

    It's hard or impossible to do a stealth game without this key feature.

    This is a really old request- since the c1 days old:

    scirra.com/forum/shadow-caster-check-if-object-is-under-shadow_topic39489.html

    69.24.73.172/scirra/forum/viewtopic.php

    there are many more threads with no propper solutions

    If there is a math wizard on this forum, please make the world better for everyone. Have a look <img src="smileys/smiley4.gif" border="0" align="middle" />

  • how about if you want to make the dynamic drop shadows a gameplay mechanic, similar to

    stealthbastard game

    Whats the simplest way to achieve that in construct 2?

blurymind's avatar

blurymind

Member since 6 Dec, 2013

None one is following blurymind yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies