xeed's Forum Posts

  • OK, got it.

    canvas.width = canvas.width;

    does the job in js. Just need to add an event everytime the sprite should be cleared:

    set canvas size to sprite.width x sprite.height

    in case the sprite size is the same as the layer.

  • Hi,

    I got a PNG image loaded into the sprite object via URL.

    Before loading the next one, I need to clear the sprite object, so the last PNG does not shine through the next one.

    How can I do this?

    Thanks :)

  • Just wanted to mention; I am really waiting for to translate C2 into German without freeze if a string is missing.

    btw: Why not check/take variables of the original Scirra english files if a string is missing for an object in the selected language file, instead of closing c2?

    Many thanks for this feature asap :)

  • true words from a german c2 forum?

    Somehow it seems to me scirra is kicking new features like image-line does for flstudio, maybe they will never fix deep going bugs.

    Any response welcome :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I guess this should be done easily with a System -> Compare Time condition.

  • if you would up the capx somehwere without the need to register to download it, i would <img src="smileys/smiley1.gif" border="0" align="middle" />

  • somehow the scirra forum looks like a promotion platform for cloud services ... am i right? <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Hi,

    i got a little problem with the animation of my figure.

    What about "On Landing", what comes next? It looks like two states are active after landing, "Moved" and "Landed"; the figure is flickering between these two states. How to fix that?

    Many thanks <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Yann: thanks for this information; that is it! But why is this handled so?

    For the other event, I could (temp) fix it with the mentioned instance variable and without a function.

    Since the game is getting more and more complex, i think i will need the function again later.

    cya <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Many thanks. <img src="smileys/smiley38.gif" border="0" align="middle" />

  • Did search and read a lot, but i can not find a good solution.

    How do i realize a realtime-connection, so that two platform players can act in a game without playing on one local device?

    Thanks :)

  • 1. did you look into the actual file?

    2. Through the missing "trigger once" this does not work. Also i've tried your boolean instance solution, but it is just the same as before, the ki does not change only once. the problem is the function, not the condition calling it.

    i am amazed about such a simple thing not working in c2,

    any other ideas welcome <img src="smileys/smiley1.gif" border="0" align="middle" />

  • ramones: it really should ^^. Please check the PM i'd send you with a link to the current file.

    2. that should do it, thanks. :) but i think such simple things are getting very complicated in c2. thought this should work without additional variables.

  • thanks for your reply whiteclaws.

    1. both event sheets are included by the one directly assigned to the layout. but the first "on start of layout" is in an "earlier include state" than the second one. anyway, the second one does not work. i did simply try to cut&paste the event into the event sheet with the first "on start of layout" condition, and there it works...in spite of being an own event.

    this is really strange, since the other events in the third sheet work fine...its only the "on start of layout"- one thats ignored in it.

    hope someone here understands what i mean <img src="smileys/smiley17.gif" border="0" align="middle" />

    2. the opposite is wanted, every enemy instance should be handled itself. but this does not seem to work with the "trigger once" condition.

  • Hi,

    i got 2 questions:

    1. does the "on start of layout" condition need to be in an event sheet, that already got this condition?

    i tried to use this condition later again in another included event sheet, but then it's not working. (r114)

    2. based on the last question in this thread, i still could not find how to perform a function on simulatanous collision of multiple object instances with other objects. when using the "trigger once" condition to kick the turning function, only one instance of "enemy" turns around at a reverse point. all others "walk over".

    any help welcome <img src="smileys/smiley1.gif" border="0" align="middle">