R0J0hound's Recent Forum Activity

  • 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 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.
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • The limit was added as a spam fighting measure. There are still spam accounts that get through registration and blocking the links is the best way to stop them until a mod can recognize it as spam.

    Anyways, that doesn’t preclude new users from posting links. You can put the link inside code tags or add spaces in a few spots in the link. Or as a different user you can see the blocked link by just looking at the page source if you feel so inclined.

    At any rate, a new user will get enough rep in a short time anyway.

  • one possible solution is by using qarp() to do the curve.

    Objects:

    A, B, dot

    Every tick

    —- destroy dot

    Repeat 10 times

    —- create dot at lerp(A.x, B.x, (loopindex+1)/11), qarp(A.y, (A.y+B.y)/2-abs(A.x-B.x)/4, B.y, (loopindex+1)/11)

    Dot.x > touch.x

    —- destroy dot

  • Changing the playback rate changes the pitch.

  • Isn't there a create by name action?

  • From what I read most browsers already do this internally with JavaScript. Are you having performance issues?

  • If it says the file isn’t compatible then it probably is corrupted unfortunately. If you open the file in a hex editor I’d guess it’s all zeros so there is nothing to recover.

  • You could always just move around the layout a screen at a time, capture a screenshot of each and merge then together.

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

  • Instead of using "set at (loopindex, 1)", use (array.width-1, 1). The first loop pushes stuff to the end and loopindex ends up being at the end of the array. In the second loop, loopindex is not the end of array. You could also use loopindex+TileFloor.count instead of loopindex in the second loop.

    You can offset the grid using this.

    grid_position = round((x-offset)/gridsize)*gridsize+offset

    For example when the walls are vertical.

    x = round((Mouse.X-24)/48)*48+24

    y = round((Mouse.Y)/48)*48

R0J0hound's avatar

R0J0hound

Member since 15 Jun, 2009

Twitter
R0J0hound has 157 followers

Connect with R0J0hound