Asmodean's Forum Posts

  • You could try inliner I've tested it with a very small project and it seems to work.

    github.com/remy/inliner

  • He's not trolling. Construct has Typecasting. It will automatically convert from one type to another.

    If you set a number variable with a string you will get the number. if the string is a number, otherwise you get NaN (Not a Number). In a text variable you can store what ever you want.

    Number variables are always float. Int is the same as floor you need this only if you want no decimals.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • It should be this one:

    drive.google.com/uc

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have three:

    One from you and Donelwero: NormalMap Extended (I think that needs another image),

    from ChrisbRobs: normal_map, only one Image but that looks more like bumpmapping.

    and from GamesWarp: Normal Mapping, only one image and with light effect.

  • Construct does type casting. If you put a string, which is a number into a number-variable, it will be a number. If it's a string and you try to put it into a number-variable you get a NaN (not a Number). You can test your variable if it's a NaN. So you only have to put the return value in a number-variable an look if it's a NaN. If it's a NaN it is a string otherwise a number.

    Something like only her comes the string from a Textbox:

    Global number myNumber = 0

    + Button: On clicked

    -> System: Set myNumber to TextBox.Text

    + System: myNumber is NaN

    -> Text: Set text to "String"

    + System: Else

    -> Text: Set text to "Number"

  • The easiest is if the player bounces only upwards.

    Make a second ImagePoint on your enemy (Image Editor, second icon from bottom on the left, in the image point window press the plus icon) and place the ImagePoint on the top of your enemy (8 on the Numpad).

    You need 2 events:

    + Player: On collision with Enemy

    + System: Player.Y < Enemy.ImagePointY(1) -> Player: Simulate Platform pressing Jump

    If you don't want that your player jumps as high as the normal jump you can use vectorY:

    + Player: On collision with Enemy

    + System: Player.Y < Enemy.ImagePointY(1) -> Player: Set Platform vector Y to -250

    Be aware that the value of vectorY has to be negative.

    The second ImagePoint isn't really necessary. You could also use the origin ImagePoint, but you can get funny side effects if the origin ImagePoint is not in the middle of the Sprite.

    If you use the origin you need only Enemy.Y

    I assume that your player has the platform behavior and the enemy the solid.

  • Does your enemy has any behaviors like platform or solid? Do you want the player only bounce upwards on the enemy or should it also bounce to the direction it moves?

  • arrasia

    construct.net/en/forum/construct-3/plugin-sdk-10/paid-plug-in-conversion-135327

    But for the C2 runtime in C3 only, not for the new runtime version.