hyem's Recent Forum Activity

  • yes, i spawned several copies of the cloud at different x/y locations. all spawned copies have jagged edges (they are all the same size as the original; just drawn like crap)..yet the original sprite on the screen looks great.

    help please

  • i have a quick question:

    i have a sprite (a cloud) that is perfectly smooth on the edges (both in the drawing program, and when imported as a sprite into C2 as PNG-8). when the original sprite is placed on the screen, it's still smooth (no problem so far), but when i spawn copies of the cloud sprite...the copies are all jagged edged and blurry. i'm using version r150 dont know if that helps).

    can you please help and let me know why the original is smooth in and out of C2; but the spawned copies look like crap?

    thanks a million, in advance.

  • awesome, thanks a million mindfaQ, you're the best !!! thanks for all your help, it works like a charm now

  • mindFAQ you're the best. i have no idea what the math does; but it works and exactly as i wanted it. i have one last question: if i add the code to a sprite and give the sprite the bullet-behavior then the sprite moves left to right. i want to have it move vertically. how can i do that? that's the last part of the puzzle. can you please help? thanks again for all your help.

  • in your formula: sprite set position to x = sprite.X+sin(time*360)*sin(Sprite.Angle) and y = sprite.y-cos(time*360-90)*cos(Sprite.Angle)....what does "time" mean? is that a variable i have to keep track off; or is that a C2 function that will supply some information automatically? also, if i want to make the movement more (or less) pronounced (more/less wiggle) what do i change in the formula?

  • clarification...when i wrote above "weave left and right" i did not mean changing the angle the sprite is displayed (i know how to do that with the sine behavior) rather i meant actually change the path-traveled so its not straight.

  • i looked and couldnt find an answer to my question:

    basically i want a character to move vertically but not in a straight path. in another words, i dont want to character to go straight down but weave left and right as it goes down in a Sine wave...but dont know how to use the Sine behavior to get it done. any help or capx example would be GREATLY appreciated.

    thanks a million, in advance.

  • Try Construct 3

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

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

    thank you for the screen shot; i will use that in somewhere else in the game (i already have a place in the game for your code sample). thanks.

  • c4sp3r89

    thank you very much. i went there, as you directed; and the blue lines were all over the place; i moved them around into a normal square covering my sprite; the the result is AWESOME!!!!

    problem solved, thank you...and also, again thank you everyone for taking the time to help me !!! :-)

  • what's a "collision box of the image" and how do i check/alter it?

    sorry about all the basic questions; new to C2 from GM 8.1. sorry about all the basic questions, and thank you all for all your help

  • LittleStain: if its not too much trouble, can you please give me an example "code" of the "On clicked if these conditions are met - do this

    else - do that", or how to "a system wait 0"?

  • how do i post a capx?

hyem's avatar

hyem

Member since 19 Jun, 2012

None one is following hyem yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies