R0J0hound's Recent Forum Activity

  • To be clear it is possible without third party plugins if no fullscreen scaling is used. Also it may be possible to do by fiddling with some css of the canvas and such, but i didn't spend much time exploring that idea.

  • The catch is with any fullscreen scaling the image will still be the size of the screen.

    If you use the paster or canvas object you can do this instead:

    https://www.dropbox.com/s/mdb3cy5pwt7eb ... .capx?dl=0

    1. A snapshot is done

    2. The image is loaded into a Sprite that covers the view.

    3. That Sprite is pasted to a paster object that is positioned to the spot you want and with the image resolution you want.

    4. The paster.imgUrl expression will give a base64 URL just like the canvassnapshot expression to save the result.

  • Using families is a way to pick separate instances at the same time. It's pretty much the only way to connect two instances of the same object with a joint.

  • What does userfolder & testfolder evaluate to? Does userfolder end with a slash?

  • Odin

    I had a quick look at your capx but I don't have time to figure out what's different from the other example I made. Sorry I can't be more help.

  • Of the 134mb most of it is the chromium web browser. If anything I imagine it will only get bigger with newer updates.

    Last I looked it's not trivial to build it from the source code to tinker with ways it can be reduced. I'm not sure it'd be worth scirra's time to cut features from it because someone would miss it, not to mention that from update to update the way to remove a feature may change. What we have is an html5 game enigine that allows any browser feature to be used, so nothing short of a full browser will support it all.

    It could be possible to make a smaller runtime with a graphics library and a small JavaScript enigine and then reinventing the wheel for any other feature needed. There is probably no interest in doing this officially. Unofficially it could be done but the issue of someone to make it and support it is a problem, as well as that could be considered curcumventing the personal licience exe export.

  • blackhornet

    That's cool. I haven't looked at how you did it but I'm glad you were able to make sense of the code to modify it. Especially since working on plugins haven't been an interest to me for a while now.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You have to load the image into a Sprite and then paste it into paster.

    • Post link icon

    Look at page 60.

  • Yeah, that's all correct.

    Cpu speed and graphics card speed a probably the first two factors. Then again you can look at two different CPUs with the same speed and one will perform better. Same with graphics cards.

  • You forgot the parenthesis.

    (A.x+b.x)/2

  • Sorry I can't verify this but maybe try:

    "Item"&str(StartArray.At(ItemId))

    str() converts a number to text differently than just using & as I recall. The reason was str(), which uses the js method to convert a number to text would often show long decimals like: 0.0999999999. So the default behavior with & would cause it to be prettier like 0.1. Anyways that's my rough reasoning.