theubie's Recent Forum Activity

  • Trt this:

    <img src="http://infinitepossibilitygames.com/demos/loop/loop.png" border="0" />

  • Out of curiosity, what are you going to be doing in each of those events? Is it something you might be able to use a function for, and therefore use a for loop?

  • I'm writing a math heavy tutorial which requires me to use the plus (+) and times/multiply (*) symbols, however since they are also being used as formatting marks (bold and italic) when I preview it's parcing these as attempts to format text.

    Needless to say, hilarity is ensuing. Tom is there a work around for this?

  • My wording was a little off in my post, the capx has it correct.

    You actually subtract the two X and two Y velocities.

    So, given:

    Object 1: Vx=10, Vy=0

    Object 2: Vx=11, Vy=1

    You would get:

    abs((10-11) + (0-1))

    abs(-1+-1)

    abs(-2)

    Relative Velocity of 2

    Sorry about the confusion in the post itself. It's really late/early here.

  • I am going to have to do a tutorial over this. Seen it pop up a couple of times recently. I had this exact question a while ago:

    Here is a demo of rocks smashing into each other in space using the momentum forumla to figure out relative damage based on velocity and mass: Demo

    And here's the capx (r120.2). Basically, you want to add each object's x velocity and y velocities together, then add those two results together to get a relative velocity. Since that velocity can be negative, you take the abs of that relative velocity and use it with the mass of the object to get your momentum. After that, you decide how much damage each unit of momentum is worth and wreak havoc.

  • Make a sub event under event 35:

    System -> Compare Values BulletType >= 1

    -- (Spawn your other two rockets)

  • Hmm. FWIW, here's a screenshot of my fix, which worked on both Kong and here on Scirra's Arcade:

    <img src="http://www.infinitepossibilitygames.com/demos/focus/focusfix.png" border="0" />

    If that doesn't fix it, not sure what else might be causing it. I would be willing to look at a capx if you want.

  • Use the expression: angle(Player.X,Player.Y,Bullet.X,Bullet.Y) (replace Player and Bullet with the two sprites)

  • Suro

    Make an on any click event, use the browser focus action. It fixed my focus problem with Kongregate...probably will fix yours on Newgrounds as well.

  • What ramones said. Didn't look close enough to the location of your quotation marks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • will108

    If you're usin $_GET on the php side, you want to use the AJAX request URL rather than the Post URL.

    To answer your initial question, yes your actual URL looks good.

  • If you have the tile numbers in an array you can push the first element to the back, then pop the first element.

    [1,2,3,4,5] - Starting array

    [1,2,3,4,5,1] - Push first element to the back

    [2,3,4,5,1] - pop the first element from the front

    Push the last element to the front and pop the last element to go the other way.

theubie's avatar

theubie

Member since 13 Jan, 2013

None one is following theubie yet!

Connect with theubie

Trophy Case

  • 11-Year Club
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

13/44
How to earn trophies