R0J0hound's Recent Forum Activity

  • bilgekaan

    It's hard to predict how an object will bounce with the physics behavior without replicating all it's internal bounce code.

    I've done it before with another physics lib. The idea is i let the simulation run ahead for x amount of frames and then rewind.

  • Something changed that broke pasting objects with effects applied. I noticed it the other day. No eta on fixing it though.

  • I don't know. I try not to worry about such things.

  • In general C2 plugins/effects/behaviors don’t work in C3 unless they are converted over. Which is typically listed in the original post.

  • I couldn't navigate the ads to get to your download.

    If you add a tiled background you can use that as the tape.

    the width is the length

    and the height is how thick the tape is.

    you'd then position the tape with:

    on left click

    --- tape: set postition to mouse.x, mouse.y

    left mouse button is down

    --- tape: set width to distance(tape.x, tape.y, mouse.x, mouse.y)

    --- tape: set angle to mouse.x, mouse.y

  • They should work but this hasn’t been tested by me.

    The canvas plugin will use high cpu with webgl o and you change it every frame. If you aren’t drawing to it every frame then it should be fine

    Paster was made to better utilize webgl so it is faster.

  • I don't have CC or the latest win10 installed so my advice is limited.

    If the preview closes right away or not at all it may be a bug or perhaps the antivirus/win10 blocking exes from running from that location.

    You could run the exe through a debugger or running it from the command line to see if any error messages come up. Since the exported game works fine, i'd say this isn't the issue though.

    If it's something that's blocking the exe from running you could look in the antivirus or windows defender to see if there is a log of blocked exe files, and if that's the case you can see if you can add an exception for that folder/file. I don't know if there is anything else in windows that would block it but googe may help there. Anyways hope some of that is helpful

    Edit:

    I looked again at windows defender and you can see a list of quarantined items and there is a way to make exceptions. My guess is an update made the preview file look shady and automatically blocked it. Overzealous false positive i'd say

  • Here's an example that goes a bit everywhere. It's meant to give ideas, and i'm not really going to pursue it further.

    https://www.dropbox.com/s/vl0kzgrfl3psh ... .capx?dl=1

    It uses the paster object.

    A continuous brush is done by keeping track of the previous mouse position, then instead of drawing the brush at only the mouse position it lerps from the old mouse position to the new and draws the brush at every spot.

    The opacity is done by drawing to another object first at 100%. Then that is drawn with the opacity to the main canvas.

    Brush size is pretty easy. Coloring the brush done by applying a blend mode to the brush with a color.

    A color picker could be done with a canvas object with an image and using rgb at expressions to get color of a spot.

    Brush shape can be customized easily but soft brushes always come out as hard brushes. This probably can be fixed by using a shader to change how the brush strokes are blended together, but the paster plugin is breaking with shaders, so that's a no go.

    The capx also generates the brush shape but that was frivolous experiment. As opposed to many other capx this one isn't cleaned up at all.

  • AnD4D

    You’d have to measure the speed to see which is faster. I was going for a simple solution with a minimal amount of used features. It’s only done once per click so even if it’s slowish it’s ok imo. That said I haven’t had a chance to look in the capx files to see what is different. For max speed you’d utilize an array but I’m like dop, I think it makes things ugly.

    You seem to have landed on a fun problem to solve, always a good thing.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Try the free versions of each to see how you like them. You can also read the blog, there are posts outlining what’s new in c3.

  • I can’t open the capx right now, but Here’s another idea. I looked a your first capx briefly when I was at my computer.

    Give the grid sprite a number instance variable and call it n. You’ll also want the origin of the sprite to be centered.

    Also create another sprite and call it detector. Make it’s origin to the left and make it’s size 32,4. I’m assuming the grids are 32,32.

    Global n=1
    
    On click
    —set n to 0
    —set grid.n to 0
    —if mouse is over grid
    ——add 1 to n
    ——set grid.n to n
    
    On click
    Repeat 50 times
    —If grid.n=loopindex+1
    ——set grid.opacity to 50
    ——set detector position to grid
    —Repeat 4 times
    ——Set detector.angle to 90*loopindex
    ——if detector not overlapping wall
    ——if grid overlapping detector
    ——if grid.n=0
    ———add 1 to n
    ———set grid.n to n[/code:3d5uzgqz]
    
    Change the repeat to the number of grids to highlight. Also I used opacity to do the highlighting but you can use anything.
  • Since they did it with the next penalope they have the base of making a C2 game run on the switch. You could always try to see if you could hire them to get your game on switch too. No idea what the cost would be.