randomly's Forum Posts

  • Yes, we will need the .capx here.

    Upload the .capx to Dropbox and share the link here.

    ()

  • rexrainbow

    First of all, awesome work with this plugin. Thank you very much.

    Now to my issue: I built an account system using firebaseV3. Everything works fine, users can change their displaynames and password, all good.

    Except the fact that the event "On profile update error" doesn't seem to trigger when the display name that has been entered in the "Update profile" action already exists...

    To test this, I created two accounts in firebase and changed their usernames in my C2 program. And even when I choose the display name that the other account already has, it changes the display name.

    Is that intended?

    I thought that the "Update profile" action would prevent same display names.

    Thanks again!

  • Sorry, I can't really grasp what you are saying.

    Are you saying that you need to combine your message database to the C2 layout?

    I have no experience with PHP, so you'll need to tell me how you access your PHP database and how you receive and send every user's messages dependent on the timestamp..

  • Alright, the problem here is the following:

    • The action Find path only triggers once when you put it under On Start of Layout
    • This means that the path is being calculated only once, being on start of layout

    To fix this, you need to call Find path regularly.

    Don't call it every tick, that would be too CPU consuming. Call it every 1 or 2 seconds, that should work.

  • Sorry about the push out solid behavior.

    I somehow thought that was a vanilla behavior.

    [quote:1i9lbn47]lol, i just thinking to make the cars still on the stage and not in the bottom of controller, so player can see.

    also not overlap the ui element on top. Any idea for this rather than using solid element ?

    Sorry, I don't really understand what you mean here..Could you re-explain please?

  • ramones

    Gotta bump this post.

    Recently created a project which is being exported to NW.js and has some TextBoxes with CSS.

    Now, NW.js apparently saves what I enter in the forms and autocompletes it.

    Wouldn't be much of a issue if autocomplete wouldn't cause this ugly yellow-ish overlay which overwrites my CSS:

    (Up: normal, bottom: autocomplete)

    I tried the javascript way you provided, but that doesn't work. And yes, I set the ID to the same ID as in the javascript.

    When googling, I also found html tags to remove autocomplete, but I obviously can't use that in C2.

    Any new way of disabling autocomplete for Textboxes?

    Thanks everyone.

  • Thanks so much for the update.

    Fixed the biggest issue I had with this plugin.

    Works perfectly for me now, thanks again!

    EDIT: Maybe a suggestion/request for any new version that might be upcoming:

    (Don't know whether that's possible at all)

    Would be awesome if you could add the possibility to change the form type for the multiple input alert, like the textbox. (password for example)

    Thanks again!

  • Or

    you download one of the Tween addons (LiteTween)

  • Alrighty, this seems to be a tough one.

    Following paths from the pathfinding behaviour seems to ignore collision polygons.

    I figured that a way to fix this would be to add the solid and the push out solid behaviour to the red cars.

    The solid behaviour on its own doesn't seem to fix it.

    But just adding those two behaviors caused weird movement of the cars. I eventually learned that you added the solid behaviour to quite some UI elements.

    I don't know why you did that and I also don't know where that would be necessary, but I disabled those solid behaviours and that made the car's behaviours work and let them collide the way they need to.

    Long story short:

    • Add solid and push out solid behaviour to the red cars
    • Add the red cars as push out solid obstacles on start of layout
    • Disable or delete all solid behaviours for UI elements (like BoundingBox)
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Could be an issue with the collision polygons.

    Anyways, to provide more help, we will need your .capx.

    (File -> Save as single file)

  • Just wanted to add to this:

    No. 2 and No. 5 are already existent in C2.

    No.2, linking multiple event sheets to one layout:

    You can simply create a the basic, unique event sheet for that specific layout and then include the additional, common event sheet(s). I don't think there is any need to modify the event sheet handling in the layout properties.

    No.5, customizing the look of C2:

    This exists as downloadable & editable themes, there is even a thread dedicated to sharing themes right here.

  • I'd say you should stick with choose().

    What you need to do, is create an event (e.g. System -> Create new object) to spawn your enemy and set the X and Y coordinates to choose(...).

    Also create two dictionaries, one for the X coordinates and one for the Y coordinates. Now, at the start of the layout,add values to the dictionaries. As the key, go numeric, starting from 1 and go up to the number of spawn points you want.

    The first value that you assign to the X dictionary will be the equivalent Y coordinate in the Y dictionary.

    Now, you fill the choose brackets. For the X coordinate, it will be Create object: X: DictionaryX.Get(str(choose(1,DictionaryX.Keycount))) The same for the Y coordinates, just with the Y dictionary of course.

    By doing this, you have random spawn places while assuring that no X and Y coordinates are being chosen that you don't want together.

    If you need any more help or a .capx, give me shout.

  • Well, no idea then since it looks fine to me.

    Sorry..

  • Huh, looks all good to me...

    Did you export the project as .capx in the same state as the one that rendered the preview you posted?

    This is what I get:

    Preview in C2:

    Preview in Browser:

    You seem to have created your project in Construct 2 r239.

    Please update to r240 since they fixed Tiled Background Tiling:

    [quote:1bekd9h9]Non-power-of-two (NPOT) tiled backgrounds can now tile perfectly without internally stretching it to a power-of-two (POT) size first, which could in some cases degrade the quality

    Construct 2 r240 Download

  • What is the result if you set "Fullscreen in browser" under the properties->configuration settings to "off"?