Chadori's Recent Forum Activity

  • You do not have permission to view this post

  • Vector Business

    there isn't any alternative (and simpler method)?

    anyway Thanks for the answer

    No. Because, re-scaling isn't something straightforward.

    The only logical way to do that is to change the viewport and re-adjust the game accordingly.

    Even if there was a re-scale button on the Construct 3 editor, it would just destroy the game.

    Also, it's hard to pinpoint which to scale.

    Coordinates, parallax, layers, images, collision polygon and sizes would adjust to a weird size.

    Hence, breaking the game.

    It would be unpredictable to do it that way, changing the viewport size and adjusting manually for the new viewport size is the logical way to achieve this.

    There is a tutorial on how to make a one screen design to adapt to other screen resolutions and aspect ratios. That's an example on how developers usually achieve multi-screen support.

    Link : construct.net/en/tutorials/supporting-multiple-screen-sizes-17

    Although, this is for the runtime. And you need to have pre-made your game to support multiple device screen sizes in the first place. Like for Scale Outer and Scale Inner, which are common for mobile, uses the anchor behavior or events to scale to different screen sizes.

    I hope that shed some light on the subject.

    No problem. You're welcome.

  • Vector Business

    I am developing a game for android but it has the aspect radio of 4:3 (the dimension are 1024 x 768)... I want to know how I scale the resolution to 16:9 to play it on any android phone without problem..

    You just change the viewport size. And you have to manually edit each layout, layer and in some cases, events too.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • macube

    valerypopoff

    Please look here the example-file:

    https://drive.google.com/open?id=1LnGu43h9vbbMdNz0wqvxh_Wq38YOXtWe

    EDIT: When i remove the Transition-Plugin, the javascript-call works. But with the Transition-Plugin, the javascript-call don't work.

    I had a quick look.

    As I observe, this is the case.

    The 2 plugins when together, the JS Plugin doesn't work. But, whether the Layout Transition is with the JS Plugin or not, the Layout Transition still works.

    The problem with the project seems to be with the JS Plugin expression Function Return Value, because when the error popups, the only method that doesn't work is the return value, but the layout transition still continued.

    I think you need to report this to valerypopoff's thread instead.

    1. The JS plugin is the only one accessing from Construct 3.
    2. The Layout Transition didn't have any problems running.
    3. The error came from the JS plugin.

    I think this is his jurisdiction. You'll likely find the solution in the JS plugin instead.

    It'll be fixed faster in his thread.

    Maybe it has something to do with the Layout Transition's files getting in conflict with the way the JS plugin loads.

    Anyway, I only ported the plugin into Construct 2.3 Runtime and Construct 3 Runtime. I don't think I did change how the plugin works originally.

    It is most likely the solution lies on the JS Plugin, I am confident valerypopoff can fix it for you. Though if ever there is a problem with the Layout Transition plugin I'll be glad to help in what i can.

    Have a nice day.

  • macube

    I have both the JS plugin and Layout Transition in the same project I am using. And it works okay.

    Maybe you tried to load a resource from Construct 3 and missed something. I'm not sure, but can you double check.

  • macube

    I don't know why, but the Javascript-Plugin from valerypopoff don't work with your ported hmmg Layout Transition plugin ! I get always this error:

    > Failed to load resource: net::ERR_FILE_NOT_FOUND

    > blob:https://preview.construct.net/94e084db-b806-4ef5-b85b-09837d6ebbaf:392 ValerypopoffJS plugin: Error in Including 'blob:https://preview.construct.net/c761a041-8cc1-4bd9-ae10-0e24e0e87537' script to the page

    > ---------------------

    > 404

    When i remove the javascript plugin from valerypopoff or your hmmg Layout Transition plugin, then it works without any errors. Why?

    ( Same error on Construct 2 Runtime and Construct 3 Runtime )

    I am currently using the Layout Transition plugin with my own project. And just made some previews.

    It works well on my end.

    Though, that error is familiar, that's when you access sources in Construct 3, which won't work as it is in a blob.

    How about try to debug and look for error clues, or at least provide us some sample project.

  • Thanks lucid!

  • And also Ashley, maybe this is a calling to support Behaviors for Single Global Plugins. So, we don't need to make our own separate from the Official Built-in Plugins like this, the Drag and Drop Behavior: construct.net/en/make-games/addons/91/bounded-drag-drop, Array, Dictionary and etc.

    On Second thought. It can't solve everything, unless the Touch Plugin was designed to be modified by third-party addons, in which case, it isn't.

    Though, it could be more helpful for the Array and Dictionary plugins.

    But, I'm not sure if it is worth it.

    So, a feature request to extend addons might make more sense.

    Like this Touch Plugin Feature Request.

    Cheers.

  • This is a good idea.

    For Simplicity, may I suggest.

    • Enable / Disable as an Action instead.

    Properties:

    • Use Mouse Input
    • Touch Through
    • Visible Only

    And also Ashley, maybe this is a calling to support Behaviors for Single Global Plugins. So, we don't need to make our own separate from the Official Built-in Plugins like this, the Drag and Drop Behavior: construct.net/en/make-games/addons/91/bounded-drag-drop, Array, Dictionary and etc.

    Anyway, nice idea!

    This will surely be convenient for everyone. And not even confusing for beginners.

  • And also lucid, may I suggest posting future updates of the Spriter Plugin into the Official Construct 3 : Addons Page.

    Reference : construct.net/make-games/addons

Chadori's avatar

Chadori

Member since 10 Oct, 2014

Twitter
Chadori has 50 followers

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • RTFM Read the fabulous manual
  • x2
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

24/44
How to earn trophies