totoyan's Recent Forum Activity

  • Hi,guys,

    Is there anyone can help me give me some ideas that how to make a game about "time".

    i want the whole game can control time that back in time, pause the time and so on...

    it seems like BRIAD which is a game about control the time.

    pls help me give me some ideas that i could make it using C2.

    thanks a lot!

  • totoyan

    The goal is always to first create the effect, and this serves are a good example. Sure you can modify it to reuse the same 100 objects or only running the events when you need to, but that wasn't relevant to the example.

    thanks for your answer!

    actually i want to make a parabola for the grenade when one object aims on another one before throwing it, so after throwing it, the grenade will move for the parabola.

    by the way ,i can know the object and another one's position, and the grenade 's bullet speed, bullet gravity.

    can you help me ? thanks a lot!

  • Add a sprite to use as a line, and make it's origin centered on the left. Also make it's height 4 or something, that will be the line thickness. Name the sprite "line".

    Then you can use the qarp() expression to do the curve and you could do this:

    global number px=0

    global number py=0

    every tick

    --- line: destroy

    --- set px to start.x

    --- set py to start.y

    repeat 100 times

    --- create line at (qarp(start.x, (start.x+end.x)/2, end.x, (loopindex+1)/100), qarp(start.y, (start.y+end.y)/2+200, end.y, (loopindex+1)/100)

    --- line: set angle toward (px,py)

    --- line: set width to distance(self.x,self.y,px,py)

    --- set px to line.x

    --- set py to line.y

    it's fantasy! but , it's also executing each tick and such more objects were created ...

  • i see ,thanks!

  • We met a issue after updated to V1.2 that chrome log error at "logInvalidPath" if we didn't Commented it

  • is there different from Yann 's Json plugin?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • thanks my friend but is there any demo?

  • is there any demo for posting or setting the game data and achievements to steam with your paid plugins?

  • great plugin! thanks a lot!

  • > it's also the same question i want to ask

    >

    [quote:3oytwhlp]Allow to upload an image 1 by 1, that is let's say you run the program. You upload an image, and 5 minutes later you upload another image -

    without replacing the first one. So far i have set

    Sprite 1 to load FileChooser.FileURLAt(0)

    Sprite 2 to load FileChooser.FileURLAt(1)

    if you upload just one file (1 by 1)..you always load FileChooser.FileURLAt(0)

    if you use just one sprite ..and if you want to load next image WITHOUT replacing the existing one

    you need new frame...

    oneSpriteExample.capx

    korbaach thanks for your kindly helping! i will go to try it.

  • it's also the same question i want to ask

  • Congratulation to the winners, Cheers!

    And good luck to others guys.

totoyan's avatar

totoyan

Member since 11 May, 2015

None one is following totoyan yet!

Trophy Case

  • 9-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies