[PLUGIN] Paster

  • Thanks this will come in handy not sure why it's not in C2 maybe next update

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • juduncan You can add to the end of your url a question mark with a random number for requesting the file again from the same link and disregarding the cache, example.

  • I will try this thank you for the response

  • Hmm plugin doesn't seem to be affected by full-screen scaling option. So if things are scaled the quality degrades. I wonder if this can be fixed.

  • Hmm plugin doesn't seem to be affected by full-screen scaling option. So if things are scaled the quality degrades. I wonder if this can be fixed.

    It works just fine in full-screen. You might need to change the resolution of the Paster object with Set Resolution to the resolution of the window when it's full-screen. Also, if what you're pasting into the Paster object isn't high-res enough when displayed full screen, it will of course look blocky/blurry.

  • I'm not saying it doesn't work in full screen. I'm saying that, if you use the High Quality Fullscreen scaling, it doesn't seem affect the plugin, and the scaling is still low quality (it looks the same with it on or off when you scale the screen size). I tested this by displaying the identical objects side-by-side. On one side, just rendered normally, and on the other first pasted on the paster and then displayed. The paster side looks blurry as the high-quality upsacaling doens't work. The paster was set to the same resolution as the project itself. Obviously if in increase the resolution of the Paster it looks better as I scale to higher resolutions, but having good upscaling work with it is nice since you don't always need high res.

  • That's by design. The size of the texture can't be changed as easily as c2's drawing surface. One reason is the texture is cleared whenever it is resized, another is it isn't always desirable to have the paster's resolution match screen pixels.

    Using digitalsoapbox's suggestion to use the "set resolution" action to the window size is the way to go to make resolution the same as screen pixels.

  • That's by design. The size of the texture can't be changed as easily as c2's drawing surface. One reason is the texture is cleared whenever it is resized, another is it isn't always desirable to have the paster's resolution match screen pixels.

    Using digitalsoapbox's suggestion to use the "set resolution" action to the window size is the way to go to make resolution the same as screen pixels.

    Ah I see, thanks!

  • Hmm I also think I found an issue with the Pin behavior. When I use the pin behavior and pin object B to object A, if i move object A the pinned object is delayed it seems (again, comparing side-by-side of the same exact thing with or without the paster). Is there some way to fix that?

  • The pin behavior is run after the event sheet, so you either would have to wait till the next tick or position B with events before pasting.

  • R0J0hound

    i just love your work man!

    I have 2 questions:

    How can i set a bit different perspective on your paster_3d_6.capx

    1. i would like to "tilt camera" a bit so that front of "buildings" is more visible like in isometric perspective.

    2. how can i set various "height" of cubes...or in my case buildings?

    thanx!!!

  • irina

    Both those can be done by transforming the points around. To tilt the view you can rotate on the y axis. In the capx the z axis is toward the screen, so to increase block heights you'd need to specify the Cubs be taller when using the function to create one.

    The polygon sorting won't be satisfactory with the camera tilted though.

  • R0J0hound

    thanx, iw get height of cubes/buildings but that angle/tilt i can't pinpoint exactly where to make that adjustment... help?

  • irina

    You'd need to use the paster_3d_5.capx with the "rotate" function to be able to rotate the points on other axis. Where you'd rotate is right before where "draw3d()" was called then you'd need to undo the rotation right after.

    Basically:

    Call "rotate" 10 "y"

    Call "draw3d"

    Call "rotate" -10 "y"

  • R0J0hound

    i see... on 5th capx it works but not on 6th... <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    but still, thats not it...

    Call "rotate" -10 "x"

    Call "draw3d"

    Call "rotate" 10 "x"

    i am getting desired angle but its like entire world is tilted, so that bottom parts are moved too close to camera and top parts are more distant.

    i was looking to make 3dboxes (just 3d objects, not the entire world) a bit "tilted"...

    this is example what your 6th does:

    https://dl.dropbox.com/u/148996943/top3d.capx

    and this is what i am trying to make:

    https://dl.dropbox.com/u/148996943/top3 ... ed%29.capx

    any tips?

    tnx!

    edit:

    maybe to somehow add layout zoom in/out linked to player X ?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)