Wastrel's Forum Posts

  • This plug-in has been converted to the C3 format, and is available on the addons gallery.

  • HayateX The switch-case plugin has been converted to C3 format. It is in the addon gallery.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • HayateX hatsantos I will look into converting the plug-in to the C3 format.

  • UpendraWatwe, i have updated the plugin and example links on the SwitchCase Plugin topic. Let me know if you can't get it to work.

  • Rik Marshall, sorry for the long delay. I have modified the OP with updated links to the plug-in and the example.

  • You can use the mid(text, index, count) system expression. Maybe something like:

    mySite = mid(fullURL, find(fullURL, "."), len(fullURL) - find(fullURL, "."))[/code:o51t7t2h]
    
    I didn't test it, so you may need to adjust the numbers in the index and the count. You can check whether the URL contains [url=http://]http://[/url], [url=http://www.]http://www.[/url], etc., using the [b]find(src, text)[/b] expression.
  • Nice example, zatyka!

  • Thanks I guess i shouldn't have assumed everyone knows how to use regedit.

  • Does the website seem really slow lately? Searches, opening forum threads, and the manual have all been very laggy for me for more than a month.

    I've cleared my cache, tested from multiple Interweb connections, and tried with IE, Chrome, and Firefox, so I am assuming it's not me.

  • I started working on a behavior tree plugin quite a while ago, but finally gave up because of various issues. The biggest issue i had was dealing with game states, and the complete lack of structure in the variable stack of objects. The variable stack, specifically instance variables, are not hard coded at design time, so when you have more than 1 instance variable in an object, there is no way to reliably reference that variable at run time.

    Perhaps things have changed, or perhaps i was just ignorant of how to effectively access the variables, but i finally gave up. I'm sure rexrainbow would have some useful input into this, since he's created a Finite State Machine plugin.

  • I finally figured out how to solve this issue, and I thought i would update this post, in case it is of use to someone else in the future.

    I had to change a setting in the AMD Control Center: In the Start --> Desktops and Display --> HydraVision --> Desktop Manager section, under Dialog Control, disable Dialog Re-positioning.

    Thanks to for a push in the right direction.

  • lahssoo, try it again. It works with the latest version of C2.

  • , good catch! I only have this issue on my laptop when I have multiple monitors attached. I guess I have never tested for the issue when the laptop was on its own.

    So that narrows the issue down to the multi-monitor driver. Do mind if I ask what version of Windows, and what video card you're running?

    Thanks!

  • Ashley, any ideas?

  • In any project on my Windows 8.1 laptop, when I select an option that requires a pop-up window (object selector, color selector, etc.), the pop-up window always gets spawned in the center of the screen. The pop-up window positions aren't even being set within a session. For instance, in the sprite editor, if I move the color selector pop-up window, then select image points, then go back to color selector, it still spawns in the center.

    Example: Pop-Up Window Issue Example

    This is using C2 V168, but it happens with older versions too.

    I have tried everything i can think of, including:

    • reset dialogs
    • uninstall and re-install C2
    • uninstall C2, clean all references to C2 off of the hard drive (including AppData) and in the registry, then re-install C2
    • Uninstall all applications installed on the laptop since the issue started

    Nothing helps. I know this is not a C2 issue, because it works fine on other PCs. I was just wondering if anyone has any insight into registry setting--or whatever is causing this--which I can look at to resolve the issue.

    I'm sure that the pop-up window spawn location is set somewhere in the registry, and I'm thinking the key is either corrupt or somehow got set to read-only, but I can't figure out where to look.

    Any and all suggestions are welcome.

    Thanks!