randomly's Recent Forum Activity

  • Sounds like the issue is the TiledBackground's Hotspot.

    Try to set it to "Top".

    Here is an example .capx if you still struggle.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Follow the tutorial again, but remember:

    Always replace width by height, since you don't want to increase your loading bar's width, but its height.

    Also, remember that your TiledBackground has to be scalable upwards and not sideways, like a regular loading bar.

    I you still struggle, I will provide a .capx.

  • You will need to provide more details what you want to have as a result to get more responses.

    • How advanced are your 3D program skills?
    • Are you already familiar with a specific 3D program and want help for that specific program?
    • What 3D style are you trying to achieve? (Low-Poly, Voxel, Normal)
  • Basically, you have to refresh the Monster's target coordinates regularly.

    Do this by using the following conditions/actions:

    Every X seconds
        -> For each Monster
             -> Set angle toward Player.X, Player.Y[/code:1f1o89sc]
  • Please check this:

    • Do the .scon and .scml files have the exact same name?
    • Do you have the latest version of the plugin? (Download)
  • Problem Description

    (Just a minor bug, since it's only possible to occur in Win 7 and if C2 is in the Start Menu, but nonetheless, it has a crash as a result.)

    When opening a template, closing the template, opening it up again and trying to open another template, C2 stops working.

    Attach a Capx

    The only .capx needed is already included in each C2 release as a template.

    Steps to Reproduce Bug

    • Open C2, don't open any existing project
    • Go to File, New and choose any of the templates.
    • Close C2, no need to save anything
    • Click the Windows Icon in the bottom-right corner to open the Start Menu
    • Click the little arrow next to the C2 entry to see the most recently opened projects
    • Click on the template .capx that you just opened
    • When it has finished loading, repeat Step 1 with the same template

    Observed Result

    This should result in a crash of C2.

    Expected Result

    Obviously, no crash.

    Affected Browsers

    Not browser-dependant.

    Operating System and Service Pack

    Windows 7, SP1

    Construct 2 Version ID

    beta r243

  • If I understand you correctly, you want to save your maps to the desktop, right?

    If that is the case and since you are on Windows anyways (and not a mobile device), I recommend using the NW.js plugin with which you can save files directly to a location that you specify.

    The LocalStorage plugin is more useful for savegames than for actual filesaving.

  • Could you give more details to the "C/sec" process?

    • What do you want to calculate?
    • What is C?
    • What does C depend on? Does it increase when you buy more B?
  • There are two main ways:

    A) If the movement coordinates (Start and End) are always the same:

    Set X to: Self.X + 50 + 100*[(Self.X-Start.X) / (Target.X-Start.X)][/code:34ho81xw]
    (replace 100 by the number that should be added extra when the Sprite almost reached the target)
    
    [i][(Self.X-Start.X) / (Target.X-Start.X)][/i] calculates the movement progress of the Sprite (0 at the beginning, 1 at the end) and multiplies it with [i]100[/i].
    That way, the extra value gets higher, the more the Sprite has moved.
    
    Again, this only works [i]if the Start and End values are known and set each time[/i].
    
    B) Use a plugin, for example [url=https://www.scirra.com/forum/behavior-litetween_t70700]LiteTween[/url].
  • Hey rexrainbow

    Got a problem with the "Pick neighbor" condition.

    I have a click event on a chess, that should mark all neighbors by creating a Sprite on them.

    Tried pretty much everything I can think of, but the Sprite creation doesn't even trigger which means that the "Pick neighbor" condition results in no picked items.

    Here is my project .capx, I hope it is visible what I'm trying to do and where the problem is.

    If there are issues with it, just PM me.

    Thanks.

    Download .capx

  • This depends on whether you need to treat the projectiles differently.

    I guess that each projectile will have different effects on impact.

    If that is the case (instead of just graphical differences), I would highly recommend that you use several Sprites since that will make it easier for you to treat them differently in events.

  • As far as I know, that isn't possible, since expressions aren't strings.

    If you would load the expressions from a variable, C2 would load them as strings and not as expressions.

    If you only want to simplify your "fc_callDialog" function, you could do the following:

    • Add a function, you could call it "getDialog"
    • Add an action "Function.Set return value"
    • Insert your expression in the field
    • Now, in your fc_callDialog function, set the text to "Function.Call("getDialog")"

    This won't make the whole process less complicated, but it will keep the mess in the fc_callDialog function to a minimum.

randomly's avatar

randomly

Member since 26 Sep, 2016

Twitter
randomly has 1 followers

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies