dop2000's Forum Posts

  • What's so special about the stars in Outer Wilds? If you want some specific effect, you need to post a video demonstrating it.

    Otherwise you can simply make a tiled background with stars and maybe put it on a layer with parallax.

  • The fact that it works if you move the event out of the "On Timer" trigger is not very helpful, because in this case the event will be run on every tick.

    The object being created is what sets all this off, so it's creation frame has been well finished by the time the character gets to the alarm

    So the bld03B... instance is not created in the same tick when the timer is triggered?

    Is it in the same container with the chMiner object? Or is it a part of some hierarchy?

    Is the whole "On Timer" event nested under some other events which may pick a different bld03B instance?

    Try adding "System Pick All bld03B" as the first condition in that sub-event, maybe it would help.

    Also try adding this log to the parent event:

    Browser Log "bld03B Count:" & bld03B.Count & " picked: " & bld03B.PickedCount

    If this doesn't help, I'm out of ideas. I'm sure there is an explanation why the instance is not picked, and it probably has nothing to do with the timer.

  • If the second event on your screenshot doesn't work, it means that either the targetUID is wrong, or the toolmaker instance with that UID doesn't exist, or can't be picked for some reason.

    It isn't in a container with the chMiner by any chance, or maybe it's created in the same tick? This would explain why it can't be picked.

  • Put this debug logging into the parent event, just after the fcnKilnworkerTakeMetalToToolmaker function call:

    Browser Log "chMiner UID:" & chMiner.UID & " target UID:" & chMiner.myBuildingTargetUID

    Then run the project in Debug Mode, find this message in the browser console, pause the project and check instances with these UIDs.

  • These are two different ways to make a snapshot:

    1. System Snapshot - it can grab the whole screen, or you can specify the area. You don't need Drawing Canvas object for this method. See this post:

    construct.net/en/forum/construct-3/general-discussion-7/canvas-snapshot-layertocanvas-168819

    2. With Drawing Canvas - you need to paste all objects onto the canvas first. Then execute "Drawing Canvas Save Image" action.

  • Set Interactive=Off on other layers.

  • With the result like that you don't really need the dictionary. You can access the same data from JSON.

    For example:

    JSON.Get("Skills.Double Strike.Mana")

    will return the same value as

    Dictionary.Get("Skills.Double Strike.Mana")

  • It's very easy. Set the origin image point in the Gun sprite:

    Add Mouse object and this event:

    On Every Tick:
     Gun set position to Player
     Gun Set angle toward position (Mouse.X, Mouse.Y)
    
  • The easiest way is to do this in external editor and import the image with rounded corners.

    You can also use a mask object (for example 9-patch) with rounded corners and a blend mode. Check out the Blend Modes example in Construct 3 templates.

  • If you already installed JDK, you should have keytool, and generating a keystore is literally just one command.

    keytool -genkey .....

  • I don't quite understand the issue with Solid, but here is a simple way to z-sort objects in such kind of game:

    howtoconstructdemos.com/z-sorting-in-an-isometric-view-game

  • I don't understand what do you mean by "misses the correct amount". You should probably post your code or the project file.

    Usually if you need to pick one instance, for example, overlapping a player you can do something like this:

    Player Is Overlapping Block
    Block pick nearest to (Player.x, Player.y)
    
    or 
    
    Player Is Overlapping Block
    Block Pick Top Instance
    
    or 
    
    Player Is Overlapping Block
    System Pick Random Block Instance
    
    
  • If you haven't used that keystore in a published game, it would probably be easier to create a new one with Android Studio or keytool. There are plenty of guides online.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 1. Use "System is between angles" condition and compare StickOut.a variable, not the sprite angle.

    System StickOut.a Is Between Angles 337.5 and 22.5

    2. You can easily limit the distance, for example:

    StickIn Move min(StickOut.d, 200) at angle StickOut.a