totoyan's Forum Posts

  • can you help me that when i destroy the spine obj ,it logs a warming...

    e.g.

    on start of layout--spine destroy

    then,

    log " JS error! can not read property 'load' of null"

    please help me ,thanks!

  • totoyan

    I am new to Construct 2, so I can only help you with useful links to something you want to do.

    I found what you are looking for in this post for Braid game rewinding time:

    https://www.scirra.com/ forum/ time-rewind-demo-like-in-braid_t60966

    And this:

    https://www.scirra.com/ tutorials/ 748/record-and-rewinds-system-similar-to-braid

    Nice job! i need them, thanks your kindly help so much!!!

  • Have you seen these tutorials? (sorry for the spaces in links, remove them after copy/paste)

    Look at Timescaling step

    https://www.scirra.com/ tutorials/ 67/ delta-time-and-framerate-independence

    Timers

    https://www.scirra.com/ tutorials/ 450/ timers

    thanks your suggestion, but actually, i want to know how to make the whole game back in time, all things return back. for example, OBJ A takes player 3s to jump from Position B to Position C, then i press a button, A will back to C, and the time back in 0s.

  • 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!

  • Try Construct 3

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

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

  • 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.