Laurent's Forum Posts

  • Perfectly clear !

  • After having loaded the image, I tried to adapt the image to the layout size but nothing happens.

    Here's the code I use :

    FileChooser: On changed

    -> Sprite: Load image from FileChooser.FileURLAt(0) (Resize to image size, cross-origin anonymous)

    -> Sprite: Set height to LayoutHeight

  • Thank you very much !

  • Hello,

    In my game, I want the user to be able to change the image of a sprite by using the file chooser to load the png/jpg of his choice.

    How can I do that ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • OK, it works !

    Shared here if it may be useful to anyone.

    dropbox.com/s/gek2kmt9a9cap69/ScrollTextSpriteFont.c3p

    Thanks for your help !

  • Lovely !

    It works. Thank you so much !

    Now, i'll try to figure out how to make the scrolling happen using swipe movement on mobile ;)

  • Thank you so much, dop2000 !

    I managed to adapt it to sprite font and to add the routine I need to have lines added to record player actions (simulated it by a line added every few seconds). Scroll up when line is added works nicely

    but one point remains, it is that the new created line should appear at the bottom of the text box.

    How should I do that ?

    dropbox.com/s/gek2kmt9a9cap69/scrolltextspritefont.c3p

  • Hello !

    In my game, I've got a text field made with Spritefont. This box displays a text that is appended from time to time to record player actions. It's a sort of archive of the game progress and the amount of text quickly overflows the size of the text box.

    How can I allow the player to scroll through this text to explore the record ?

  • Ashley

    Thanks ! So easy, logic and straight forward. Wonder how I didn't think of it.

    Actually, I had to remove a lot of add ons that were link to that 'variadic' stuff.

  • Thank you !

    But there's only one add on I want to remove and I need to keep the rest since I don't remember what are the others I installed

  • Hello,

    I updated Construct 3 to 158 and app crashes at startup with the following message.

    Apparently it is due to Rex Timeline Plug in. I tried restarting in safe mode but app crashes when I try to open add-on manager. So there is no regular way to remove the plug in.

    Using Chrome developper tools, I identified a file that apparently is the plug in : blob:https://editor.construct.net/0cddae18-8250-470a-bb96-f5f9b4deb622

    Is there a workaround to remove the add-on ?

    thanks !

    Error report information

    Type: unhandled rejection

    Reason: Error: Addon 'Rex_TimeLine' ACE 'set-trigger-timer-parameters' uses "variadic" parameter which is not supported in the SDK. Refer to the SDK documentation for supported types. Note support for condition/action variadic parameters has been removed - see: construct.net/en/forum/construct-3/plugin-sdk-10/variadic-parameters-removed-143189 Error: Addon 'Rex_TimeLine' ACE 'set-trigger-timer-parameters' uses "variadic" parameter which is not supported in the SDK. Refer to the SDK documentation for supported types. Note support for condition/action variadic parameters has been removed - see: construct.net/en/forum/construct-3/plugin-sdk-10/variadic-parameters-removed-143189 at Object.ǃXWI (https://editor.construct.net/r158/main.js:63:112884) at X.ǃn$ (https://editor.construct.net/r158/main.js:63:166246) at Object.ǃwis (https://editor.construct.net/r158/main.js:63:166595) at n (https://editor.construct.net/r158/main.js:2:199266) at t (https://editor.construct.net/r158/main.js:2:199051)

    Stack: Error: Addon 'Rex_TimeLine' ACE 'set-trigger-timer-parameters' uses "variadic" parameter which is not supported in the SDK. Refer to the SDK documentation for supported types. Note support for condition/action variadic parameters has been removed - see: construct.net/en/forum/construct-3/plugin-sdk-10/variadic-parameters-removed-143189 at Object.ǃXWI (https://editor.construct.net/r158/main.js:63:112884) at X.ǃn$ (https://editor.construct.net/r158/main.js:63:166246) at Object.ǃwis (https://editor.construct.net/r158/main.js:63:166595) at n (https://editor.construct.net/r158/main.js:2:199266) at t (https://editor.construct.net/r158/main.js:2:199051)

    Construct 3 version: r158

    URL: editor.construct.net/r158

    Date: Tue Jul 16 2019 22:44:08 GMT+0200 (heure d’été d’Europe centrale)

    Uptime: 3.2 s

    Platform information

    Browser: Chrome

    Browser version: 75.0.3770.142

    Browser engine: Chromium

    Browser architecture: (unknown)

    Context: browser

    Operating system: Mac OS X

    Operating system version: 10.11_6

    Operating system architecture: (unknown)

    Device type: desktop

    Device pixel ratio: 0.75

    Logical CPU cores: 4

    Approx. device memory: 8 GB

    User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36

    C3 release: r158 (beta)

    Language setting: en-US

    WebGL information

    Version string: WebGL 2.0 (OpenGL ES 3.0 Chromium)

    Numeric version: 2

    Supports NPOT textures: yes

    Supports GPU profiling: yes

    Supports highp precision: yes

    Vendor: Intel Inc.

    Renderer: Intel HD Graphics 4000 OpenGL Engine

    Major performance caveat: no

    Maximum texture size: 16384

    Point size range: 1 to 255.875

    Extensions: EXT_color_buffer_float, EXT_disjoint_timer_query_webgl2, EXT_float_blend, EXT_texture_filter_anisotropic, OES_texture_float_linear, WEBGL_compressed_texture_s3tc, WEBGL_compressed_texture_s3tc_srgb, WEBGL_debug_renderer_info, WEBGL_debug_shaders, WEBGL_lose_context

  • bbenny93 Thank you, Sir !

  • Lovely ! It works now. Thanks !

  • Hello,

    Is there a way to adapt this plugin to Construct 3 ?

  • Colludium - I've tried using all available formats but all it displays is something like :

    "{

    "passages": [ { "text": "Welcome to the Twine instructions - made using Twine!\n\nIf you haven't imported and opened the Instructions project in Twine then please do so. If you don't know how to do that, open Twine in a separate window and click on \"Import from file\" on the right.\n\nBut first - have you imported the JSON formatter yet? If not, please do that first.\n\n[[Actions->actions1]]\n[[Conditions->conditions1]]\n[[Expressions->express1]]\n[[Setup JSON export->get json1]]\n[[Examples->examples main]]\n\n---\nAs soon as you declare a link, variable, object reference, function or use \"---\" then all following text is ignored.\n\n>>var1 val1\n>>var2 val2\n##objref1\n##objref2\n@@func1,param0\n@@func2,param0,param1\n\n",

    "links": [ { "name": "Actions", "link": "actions1", "pid": "2" }, { "name": "Conditions", "link": "conditions1", "pid": "3" }, { "name": "Expressions", "link": "express1", "pid": "4" }, { "name": "Setup JSON export", "link": "get json1", "pid": "17" etc etc