99Instances2Go's Forum Posts

  • Zebbi , this still needs some tuning, but the basics are there.

    Is this what you want to do?

    Yes, i know, it is just a workarround for probaly only the this specific capx. Still hope it brings you to somewhere else then a status quo.

    https://drive.google.com/open?id=0B1SSu ... 3RYeTdfZUk

    Ashley, if you would like to take a look, mayby this shows you the purpose of what is asked. On the other hand i understand that is the same question as 'Can we plz have private obstacle maps?'. Wich i doubt is possible.

  • You made a neverending 'on create' loop.

    When you have a bunch of objects in the layout, they count as 'just created' when running that layout.

    So, the 'on create' events you made, they create a new object for each object in the layout, and then kicks in again on those newly created ones. Result: a neverending loop.

    Solution: Destroy them in the 'on start of layout'

    And use containers to pair sprites with theire helper sprites.

  • An example based on states and timers.

    https://drive.google.com/open?id=0B1SSu ... Hd2OUlmcEE

    This is assuming that there can be many sprites dooing the sequence at the same time. So, every variable and timer is private. Including the 'state', what a 'state' is meant for anywayz. A 'state' is a private thing, any sprite can be in a 'state'.

    Mind the scale thing. It is a difficult thing to work with. It has no expressions. And the scale of a sprite = original size * scale. (NOT current size).

    Timers are allready dt corrected.

    Basecaly this handles 3 things.

    1 / do something based on a 'state'. (as you asked)

    3 / change variables from a start value to an end value in a given time

    4 / change the 'state' based on time

  • ""& str(Player_Weapon_TOTAL)

    Dunno why the ""& ?

  • In the Official Z order method (without a plugin).

    Loop trough all objects, set an instance variable to there y.

    Use that instance variable in the System > Z order.

    With plugin.

    Try this. http://c2rexplugins.weebly.com/rex_zsorter.html

    It works flawless.

  • How many animations are you starting in what way on wich conditions?

  • nvm

  • condition: Key is down

    condition: Trigger once while true

    action: set animation "animation",from the beginning

  • I work with kinda 1 Giga / minute.

  • Because video can use temporal compression and spatial compression.

    First off, the PNG (of 2Mb) is not that much compressed, and is containing a transparantie (black&white) image.

    So, PNG is 2 images in one file. The fill image and the transparanty image.

    To really compare, lets talk about JPEG. If you have 1 image, the compression done on that 1 image is called the spatial compression.

    But video is many images in a row. So if you store the first image with a good spatial compression, you can compare the second image to that first image and only store the diffences. This is temporal compression. If image 2 is the same as image 1, then only that info is stored: The Same.

    So, Mp4 has keyframes with spatial compression, comparable to JPEG. And then an amount of frames that only containes the differences to that keyframe. Till there is to much difference. Then there will be again a keyframe written. And that is the temporal compression.

    You can, ofcourse, do no temporal compression with only 1 frame (image).

  • Nothing in that downloadlink.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you dont get there with the tutorials, then i guess you a have very specific problem/question.

    Plz be free to ask that.

    The starting question, on the other hand, is a bit vasty.

    Each of the tutorials show what you ask, the event system with 'states'. I dont think i can do better.

  • >

    > Embed youtoube video is not an option, since i need only video without all those buttons elements, links etc. on it.

    >

    Youtube has bandwith. From there point of view, it is theire 'upload' speed. Wich is just uncomparable to the upload speed of a single user.

    If you gooing to host this video yourself, you are limited to your own 'upload speed' / amount of users you want to serve. That is a simple calculation, and you gooing to be suprised about the small amount of bits that you can serve. Watch it, upload speed is usaly shown as Mega Bit / sec. Roughtly 10 times less than MegaByte /sec.

    If you cant host on youtube, then encode the video towards what is possible (back to the 90tys) for you. Or find a host with a big bandwith (will cost you).

    You can also, as suggested, totaly kill the autoplay. And make the user wait till its all loaded. (also back to the 90tys)