zenox98's Forum Posts

  • Quickest and most efficient method of getting a useful and quick hepful response is if you provide your .capx for us to check, otherwise we can only use guesswork.

    Things you need to check are the collision polygons and Origin settings.

    Also, combining behaviors that are not meant to be used together can cause issues, such as using Platform and Physics together.

  • Just checked the console for errors .......

    and I am facing Cross-Origin Request Blocked ???

    What is the solution for this ???

    CORS is not a C2 thing - it is a browser security feature.

    You can read about it HERE.

    Basically, you need the server to allow cross demain access.

  • What does the browser error console say?

    You need to investigate the error messages the browser provides, which could indicate such things as unable to load images, MIME type issues, cross-domain security issues, etc.

  • hello! i have a personal license of construct 2. i use 2 laptops for working and i was wondering if i am able to have the full version available on both laptops? thank you!

    The personal license entitles you to install the full version on as many devices as you wish, as long as only you are the one accessing the licensed version of C2.

    Quote from the Manual :

    [quote:2gi0888e]Unless a license is purchased for an organisation, the license is for the individual rather than their computer. This means you can use your licensed copy of Construct 2 on as many computers as you like, so long as you are the only one using it. Other people must buy their own license. Remember Construct 2 can be used as portable software (see Installing Construct 2). You can put your license file in the install directory on a removable drive and take your licensed copy of Construct 2 to any computer.

  • Suggestions generally go in the 'Construct 2 General - Discussion and feedback on Construct 2 ' section.

  • with out using 8 bit direction

    You need to give more information.

    For instance, do you mean to oscillate up and down? If so, a simple sine behavior can be used, set to vertical movement only.

    If you want a sprite to ne more directed, then as already mentioned, one way would be to use the bullet behavior.

  • Thank you so much!

    I fiddled with your code a bit, and I wonder how I could make it so it starts at its normal scale at 1 at the farthest right of the slider, and you can only downsize it and bring it up to its normal size again.

    Hope you understand what I mean.

    Set the Slider property 'Value' = 100 (i.e. far right maximum)

    Then SliderBar OnChanged - Set sprite.scale = SliderBar.Value/100

    If you want to do away with the '/100' part of the 'SliderBar.Value/100'

    Then you can just set the initial SliderBar proprties to:

    Value =1

    Minimum = 0

    Maximum = 1

    Step = 0.1 (or 0.01 etc for the number of steps between Min and Max you want)

    Then you would just need

    SliderBar OnChanged - Set sprite.scale = SliderBar.Value

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • no one know

    Please be patient.

    The users who generally help come from many different time zones.

    It is acceptable to 'bump' your own thread after 24 hours if no answer has been forthcoming.

  • Hi!

    I'd like to be able to scale a sprite with the help of a slider bar. I was thinking I could check if the slider is incrementing or decrementing in value, but there is no options to check that as far as I know. Do any one have any good suggestions?

    Thanks!

    Will this help?

    https://www.dropbox.com/s/7pej6heehjs6lo4/spritescalebyslider.capx?dl=0

    I've included a few comments in the .capx.

  • You have posted this (by mistake?) in the now retired Construct Classic section.

    It seems to me you really wanted to post this in the Construct 2 'Distribution and Publishing' section here: https://www.scirra.com/forum/distribution-and-publishing_f182

    OBLIVION

    Please don't create multiple threads for the same issue. You already had an active thread before creating this one.

    Locking.

  • go to index.html then remove this part

    <script>

    // Issue a warning if trying to preview an exported project on disk.

    (function(){

    // Check for running exported on file protocol

    if (window.location.protocol.substr(0, 4) === "file")

    {

    alert("Exported games won't work until you upload them. (When running on the file:/// protocol, browsers block many features from working for security reasons.)");

    }

    })();

    </script>

    then SAVE. i hope i helped you

    Just because you remove the notification doesn't mean that the game will work. It is the browsers own security that will proevent some features of the exported game from working, so removing the warning is not really the answer.

    An analogy would be getting an 'oil warning' light appearing in your car so you decide to remove the bulb. The problem still exists, but you've just removed the warning.

  • Hello,

    I am trying to following an example/modify it to suite my needs. I followed it to the letter, with the exception of the constraints of the parallax. I wanted my bg to move a bit more. However, I am encountering an unusual issue, with my second layer sprite being cut off. I set the layer above to transparent, but even then that layer only has my main character sprite. I have tried adjust the position, adjusting the width, adjusting the scale and various configurations of transparent. At this point, I am not sure what I did wrong.

    This is the tutorial i followed: https://www.scirra.com/tutorials/314/pa ... ion/page-2

    I apologize if this was the wrong place, but I would prefer a answer quickly, as I am learning this to teach some campers about parallax and the tutorial was to high level for them ( and apparently me too <img src="{SMILIES_PATH}/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes"> ). Therefore, I am on a tight schedule.

    Is it the following tutorial you are referring to: https://www.scirra.com/tutorials/314/parallax-effect-with-4-layers-for-construct2-free-edition?

    If so, I recommend following it to the letter initially so you end up with a fully working example.

    After that, you can experiment away on a copy of your completed tutorial and if it breaks, pleast post a link to it so we can try it for you.

    Providing a .capx is always the quickest and most effective way of getting a prompt response, without the need for lots of guesswork.

  • nav

    Please share this capx again link is not working ,thanks

    You have bumped a thread from 2007 in the - now retired - Construct Classic section. The file you request is not for Construct 2 and is not compatible.

  • matthew de

    Not really a bug (since it has never existed) - more of a feature request.