Asmodean's Forum Posts

  • I tried printing it directly from phone to printer using... On Touched Object -> Browser -> Execute Javascript -> "window.print();" .... but nothing at all worked when I tried this method, as if I didn't Touch any object at all... The print options won't show up:(

    Can someone please help me with this issue?

    On which OS and Browser did you tried it? The command isn't supported on all mobil-OS and Browsers.

  • You can use FireFox to look what the cause of the stuttering is. Start your game and press shift+f5 (performance tools) and start the recording, after a short time stop the recording. Now you can see if you have frame drops.

    Mostly it's the garbage collector.

  • Try with:

    System | Every Tick -> Enemy | Set Bullet angle of motion to Angle(Enemy.X, Enemy.Y, Player.X, Player.Y)

    That should work.

    Maybe you have to rename player and enemy into the name of your sprites.

  • In the properties (left side of the editor) of the bullet behavior there is a property 'set angle' set it to 'no' and it wont rotate. You have to click on the sprite with the behavior to get the correct properties.

  • nicklowkcmagic

    set the instance variable to 1 or -1, depends of which direction you want at start. Then change your code to:

    Player | FlipGravity=1 -> Player| SetPlatform gravity to 1500
    Player | FlipGravity=-1 -> Player| SetPlatform gravity to -1500
    
    Keyboard | On space pressed -> Player | Set FlipGravity Player.FlipGravity *-1
    
    [/code:1555fvp9]
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Have you tried after changing the the size of the canvas to use 'scroll to position'?

    You could scroll half the amount you add to the canvas to the left and top. Then you should be on your old position.

  • There is 'set canvas size to' in the System-Actions. That put the new space on the right side and bottom. Don't know if this is exactly what you want.

  • If you use the crop tool in the SpriteEditor, Construct add a 1 pixel transparent border around the sprite. Maybe that is the reason.

    Can you provide an example?

  • I saw a similar topy in the french translation area.

    I personally think to not translate expressions into German.

    This can be confusing in my opinion?

    I would translate it. 'Ausdruck' is a correct translation and a common word in the mathematics and computer science in German. I would translate all words which have a correct counter part. People who switch to there native language do this mostly because they have problems with English so it could be a little confusing for them to still see some words in English.

    What do other german translators think about this?

    Next problem are "ä,ö,ü,ß" and so on in expressions, for instance "CellSize" would be "ZellGröße".

    I'm not sure if this works out well?

    I would translate this too. I wouldn't use CamelCase if it's not really necessary. Zellengröße would be ok, I think.

  • My guess, you need also the 'Access-Control-Allow-Origin' in your 2nd php-script:

    <?php
      header('Access-Control-Allow-Origin: *');
      header('Content-type: text/html; charset=UTF-8');
      $imagesDir = '';
      $images = glob($imagesDir . '*.{jpg,jpeg,png,gif}', GLOB_BRACE);
      echo json_encode($images, JSON_UNESCAPED_UNICODE);
    ?>[/code:5mjr5vv1]
  • There is a Custom movement asteroids example in the start dialog. Type asteroids in the search field when you create a new project.

  • A Text to speech plugin based on mespeak http://www.masswerk.at/mespeak/.

    The quality is poor. This plugin has no conditions only actions and properties

    Language:

    You can choose English, French, German, Portuguese and Spanish to pronounce.

    Voice:

    You can choose between male and female.

    Volume:

    setting of the amplitude of the voice.

    Pitch:

    the voice pitch

    Speed:

    The speed at which to talk (words per minute)

    Wordgap:

    Additional gap between words in 10 ms units ( 1=10ms additional pause between words).

    Any changes need at least one tick to have an effect.

    It won't work to change settings and use 'speak' action in the same event.

    I tested it and it works for me without problem, but I won't guarantee anything.

    Plugin with a very simple example:

    https://drive.google.com/uc?export=down ... PPZXSj-Y1-

    Copy the plugin into \Construct 2\exporters\html5\plugins

  • Well i guess noone has played around with the Shadowcaster in C3 yet or this is expected behaviour

    I had the same problem, but now it works. Could you try to load one of the shadowing examples from the start page and then recreate your example? I have the suspicion that after loading the examples and play with them it works now.

    Or there was an update in the meantime.

  • After you change the text use:

    ...SpriteFont| Set width to len(SpriteFont.Text)*SpriteFont.CharacterWidth("A")

    You should use any character in 'SpriteFont.CharacterWidth'.