AthleticDesign's Forum Posts

  • No, where did you find info on --construct-scale?

    I found a four year-old post about the same problem. Issue 1 as described in construct.net/en/forum/construct-3/how-do-i-8/handle-browser-zoom-iframe-155875

    Anyway, thank you for trying to help. I will probably file a bug report later.

  • The problem arises when you set the iframe (or its container to a fix CSS width). If you set CSS width & height to 100% everything scales correctly. But then I cannot get the layout I want. I am horrible at HTML & CSS, however. But apparently the web layout I used for my C2 games do not work perfectly with C3 games.

  • Unfortunately, the same issue occurs in three different browsers. It cannot be a newly introduced bug as it also occurs in a game I did 2 years ago in C3. But not in my old C2 games.

    I should have specified that I am talking about iFramed games.

  • When using browser zoom, texts do not scale and/or position themselves correctly resulting in a messed-up layout. I checked my old C2 developed game and they scale texts correctly.

    I tested both webGL and webGPU, but no difference.

    Can anything be done? Have I missed something?

    (They do adjust if I reload the page or switch to fullscreen and back again.)

  • I should add that I have saved several c3p files since the last working one (from August 5) but they all report the same error about "event variable 'dx'". They appear perfectly normal regarding size (about 4 MB) and in unpacked structure.

  • Thanks. Sorry, I have tried that.

    It was saved in R251.2 and I have updated Chrome since the c3p save. However, an older c3p version that I saved four days earlier loads without problem. I have added a couple of offical addons since that version though.

  • Suddenly I cannot open several .c3p files. I get the error message "Failed to open project. Check it is a valid Construct 3 single-file (.c3p) project.

    Chrome console says: "[Project] Exception opening: Error: cannot find event variable 'dx'

    dx is local variable that I use in many places.

    I do not use any 3rd party addons.

    Should I write a bug report or can I mail Ashley the .c3p?

  • Perfect, thanks.

  • Can't find it in Browser object (where it used to be) or in the new Platforminfo object.

  • The new pin behaviors are very much appreciated but pin to width & height does not seem to be as useful as it could be.

    For example, if the base object has its width doubled, the pinned object will only has its witdh doubled if it has the same dimension, from the start, as the base object.

  • Looks good. Good job overall, but you may wanna look into the name ( unless it was on purpose ).

    Thanks. It is on purpose - look at the differently sized arms! There are numerous allusions to “the act” in the game and in the instructions. That said, it’s meant to be moderately subtle and the mechanics of bench pressing with arms of different strength is the preceding basis of the game. It’s not the other way round – a game crammed into a joke.

    My only gripe, which is very small, is that the art style for the character (which looks awesome by the way) and the background are different. The character has high lights and low lights and the weighted black lines to add some details and then the background just looks a little unfinished. However, this does help keep the focus on the player instead of anything else on the screen.

    Thank you and valid points! I have done everything myself from scratch as vector graphics in Flash but the background was rather quickly done. At first the game was meant to share a generic gym background with the original Bench Press game, but I changed my mind after having found a style and setting that would work while not being too time consuming to make. And as you say, the intention is very much to the let the scenery remain in the background for the player character to pop-out.

    The background is separated into several parallax layers but that is hardly noticeable. I hope to animate the grass in the future though.

    The character graphics are also more dynamic than may be apparent at a first glance. Several muscles are individually attached to the “bones” and can vary in length and thickness depending on flexion/extension of the arms and shoulders. Overkill perhaps… but it does open up for future game variants :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Finally finsished a follow-up to my original Bench Press game.

    athleticarcade.com/benchpressbarbarian/index.html

    It's brutally hard. If I ever make several new characters and bundle them together in a single game, Onan should be last one. It was also very challenging to make - especially to make the graphics look good in every lifting position.

  • I quick follow up.

    Ashley quickly checked my .capx and found the causes:

    1) I had a trailing space in my event sheet name. I.e. "EventsMenu " instead of "EventsMenu". This should be fixed in the next C3 release.

    2) One of my variables (a local) had the same name ("sign") as a new system variable. Easy to correct but let's hope the error message will specify name conflicts in the future.

    After my corrections I could import my .capx without any problem. LiteTween was my only 3rd part add-on and as I had installed the C3 version of LiteTween, all my LiteTween behaviours were also imported (but don't work with the C3 runtime).

    Thanks Ashley!

  • I'm having the same problem.

    The only 3rd party add-on I am using is Lite Tween. I have installed Lite Tween for C3 but that did not help. Then I simply removed all LiteTween behaviours from my C2 project but I still cannot open it.

    Ashley, I have mailed you the .capx file

  • I hear you. I am new to exporting and building and I am shocked how messy it is. After several days I managed to build an app with both cocoon and phonegap, but only without adMob.

    Anyway I found this thread

    github.com/cranberrygame/cordova-plugin-ad-admob/issues/28

    So you should remove the admob plugin code and replace with:

    <plugin name="https://github.com/mukeshphulwani66/admob-fixing-cordova.git" spec="https://github.com/mukeshphulwani66/admob-fixing-cordova.git"/>

    Not sure if it works yet but the compile error disappeared!