Asmodean's Forum Posts

  • From the sdk manual:

    an event cannot contain two triggered conditions, and a trigger is always the first condition.

    This means you event(s) looks like that:

    -> Keyboard| On space pressed -> Sprite| set X to 0

    -> Keyboard| On space pressed -> Sprite| set X to 400

    The rest will be ignored and x will first set to 0 then to 400.

  • It works again. Thanks Tom ( I assume it was you who repairs it :) )

  • I have a very strange problem. With my Computer with Windows 7 I get a critical error on contruct.net.

    With Linux Mint or Android in the same network it's no problem. Even with TOR on the Windows 7 Computer it works. Until yesterday it works without problem.

    I have no problem with any other website.

    Critical error

    This should not of happened. Please contact support.

    System.ArgumentException: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer) at C3.Code.Caching.CityCaching.<>c__DisplayClass1_0.b__0() in C:\Construct.net\Source\C3Alpha2\Code\Caching\Cities.cs:line 21 at C3.Code.Controls.Application.Caching.Manager.Manager.Get[T](String key, Func`1 getFromExternFunction, Boolean skipLocalCaches) in C:\Construct.net\Source\C3Alpha2\Code\Controls\Application\Caching\Manager\Manager.cs:line 171 at C3.Code.Caching.CityCaching.GetCitiesInCountry(Int16 countryID, Boolean skipLocalCaches) in C:\Construct.net\Source\C3Alpha2\Code\Caching\Cities.cs:line 26 at C3.Code.Caching.CityCaching.GetCityID(Int16 countryID, String cityName) in C:\Construct.net\Source\C3Alpha2\Code\Caching\Cities.cs:line 50 at C3.Code.Helpers.GeoIP.Functions.GetCityID(Nullable`1 countryID, String cityName) in C:\Construct.net\Source\C3Alpha2\Code\Helpers\GeoIP\Functions.cs:line 81 at C3.Code.Helpers.GeoIP.Functions.LookupIP(String ipAddress) in C:\Construct.net\Source\C3Alpha2\Code\Helpers\GeoIP\Functions.cs:line 33 at C3.Code.Caching.GeoIPLookupCaching.<>c__DisplayClass0_0.b__0() in C:\Construct.net\Source\C3Alpha2\Code\Caching\GeoIPLookup.cs:line 22 at C3.Code.Controls.Application.Caching.Manager.Manager.Get[T](String key, Func`1 getFromExternFunction, Boolean skipLocalCaches) in C:\Construct.net\Source\C3Alpha2\Code\Controls\Application\Caching\Manager\Manager.cs:line 171 at C3.Code.Helpers.SEO.Functions.GetUsersIPRegion() in C:\Construct.net\Source\C3Alpha2\Code\Helpers\SEO\Regions.cs:line 87 at C3.Pages.Master_Pages.Global.Page_Init(Object sender, EventArgs e) in C:\Construct.net\Source\C3Alpha2\Pages\Master Pages\Global.Master.cs:line 54 at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

  • There is a C3-Version. No clue if it works on Android or iOS.

    drive.google.com/uc

  • How can I store two strings in a var and then later grab one of the two strings from that var?

    EXAMPLE:

    Mouse X

    Mouse Y

    var Place = Mouse.X + Mouse.Y

    Set TextA (Place -> Convert -> Mouse.X)

    Set TextB (Place -> Convert -> Mouse.Y)

    ->System| Set Place to Mouse.X & "_"& Mouse.Y

    ->Text| Set TextA to tokenat(Place,0,"_")

    ->Text| Set TextB to tokenat(Place,1,"_")

    tokenat(src, index, separator)

    Return the Nth token from src, splitting the string by separator. For example, tokenat("apples|oranges|bananas", 1, "|") returns oranges.

    I would rather use an array instead of a String if possible.

  • Can you provide a capx? It would be much easier.

  • Maybe it's easier with imagepoints and pin-behavior.

    I made an example. Have a look if it's that what you're looking for:

    drive.google.com/uc

  • Uh, a little problem here: image.noelshack.com/fichiers/2018/23/3/1528290342-sans-titre.png

    Only Character.Angle without 8Direction.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The problem is that when I push my left key the "Stick" is facing left, no problem. But when I released the key it comes back to the right facing.

    Whhhhyyyyy ?

    Because when you're not moving the MovingAngle is 0. Use instead Character.Angle.

    And I recognized that you are using 0, 90, 180, 270 double in the conditions. You have to add 1� in the next condition with the same angle. For example: angle between 90 and 180 and in the next condition 181 and 270. Otherwise it will use the last condition where 180 is true.

  • Maybe your graphic card is blacklisted in chrome. You can test if you're using webgl. Make a Text-Object and set Text to Renderer (without ").

    + System: On start of layout -> Text: Set text to Renderer

    If you don't get webgl your gpu ist blacklisted. In this case type: chrome://flags and set Override software rendering list" to enable.

    Now it should work.

  • Tom can you please at least change the red font color? It's aversive and very irritating.

  • too much whitespace..

    too much scrolling..

    everything is too big..

    too spread out..

    I have the same in Chrome. I have to set the scaling to 90% otherwise everything was way to big and I got critcal errors if I try to post something.

    Edit:And this captchas are a no go.

  • I made a text2speech plugin, that should work on Android (I never tested it). Have a look if the voice quality is sufficient enough for your purposes.

  • The caproj file is only a small part of a Construct 2 Project. You need either the whole folder with all files or a .capx file.

    With only the caproj there is nothing much you can do.

  • I like it, thanks for sharing. It would also be nice, to have all the text from the bot in an xml or json file, for easyier editing but it is ok for me to edit it via notepad. Keep up the good work!

    Thanks. I've done that more as a joke for someone. I thought that maybe someone else have interest in that plugin.

    The problem to make an extra xml or json file for the text is the structure of the program.

    I has to be practical completely rewritten to use xml, json and for a joke that was to much work for me.