Uniform's Forum Posts

  • Do you have any pretty formula to smoothly calculate the scale of an object depending of its Y position?

    For instance i want a sprite to change its scale based on the max Y (y=480 then scale=1) and the min Y (y=340 then scale=0.8)

    This formula will trigger every tick.

    Many thanks

  • Thanks dudes

    I keep practising

  • And by the way this soft is just amazing for pixel art. Using at EVERYTIME pyxeledit.com

  • Some other stuff too

  • Oh by the way i've done lots of stuff since that time

    This is my personnal project, I was playing with shadows

    [attachment=2:3a97z065][/attachment:3a97z065]

    Some toons

  • Yep I thought this too because cmon php can trigger the index.html i presume but once it's triggered js executes itself. you don't need to load all the stuff with PHP. Am right?

  • Hello dudes,

    I would like to ask you something.

    I've made a game for a person who wants to upload it on its server and make an online score database etc.

    The person told me that their current php framework does not allow relative paths, only absolute paths and thus requires him to include all the asses with absolute paths.

    He wants me to make a global variable that will store the absolute path. This global variable will concatenate with the original files emplacement.

    (i added an image)

    [attachment=0:2arydd4r][/attachment:2arydd4r]

    --> the second hyperlink is the stored variable.

    This seems very strange to me. Plus i don't think you can use global variables created in construct externally and If i create one directly in code i am wondering if it will work.

    So is there a better way to do this rather than adding a global variable to all includes/src. (this will go crazy with JSON format)

    Many Thanks!

  • Looks cool but huh, the music is horrible xD

    Has a little bit of this feeling

  • This is actually a fair offer. Bump!

    Dude i love your work on addons.

  • I am wondering if it's possible to inject JS code directly by writing code via a plugin.

    For instance i would like to change the value of a global variable not with events but with code.

    Is this possible?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • on the right click the layer you want to activate them on. that will make its properties show up on the left under Force own texture and above the Scale rate is the Option USe render cells

    Thank you!

  • Make sure to update your graphic card drivers.

    Also Mac. C2 is designed first and foremost for Windows, so Virtual Machine issues can be pretty tricky and related to the VM itself.

    Thank you for answering.

    By the way it is a html5 file on a real mac. I don't see why a html5 game should run differently.

    I'm trying to understand where the problem is, maybe there is something broken with the new build maybe there is something broken with chrome.

  • Any Idea of why it's happening?

    This is the game. R191.

    http: //hydrographer-karl-40177.bitballoon.com/

  • That must sound like a silly question but where are the options to disable/enable the render cells?

    I have been checking layers and project settings and still couldn't find it.

    Thanks

  • Construct 2 is working correctly, the problem is your own comparisons. -135 degrees is mathematically identical to +225 degrees, so both answers are equally correct. The problem is you are making linear comparisons that are not aware of the cyclical property of angles. You are expecting only one of the possible set of correct answers.

    Use the Sprite object's angle conditions instead, which are cycle-aware - for example "is within 90 degrees of 0 degrees" will match anything in the -90 to +90 degree range, or +270 to +90, or +270 to +450, etc. since they are all mathematically identical ranges and the math used in the condition is cycle-aware. Funnily enough this exact issue came up on the forums recently and I realise not everyone uses the Sprite object for this type of thing so the next beta should have those features as system conditions as well.

    Thanks Ashley