TheInstance's Forum Posts

  • Ok, so since no one seem to have a solution for my problem as stated in ...

    Let me try again to suggest a solution. Its the same old idea. But this time easier to implement.

    Is it possible to make an "plug in" object similar to the "array object" ?

    Just like the array object it should be possible to set the depth.

    Only this array will have only 1 dimension.

    And it keeps track off "the picked objects" by storing there UID's.

    So lets call it "Pick History"

    If i only want the 2 last objects picked to be tracked, i must be able to set the depth to only 2.

    and it can be used as follow.

    (event) system: always

    __(sub event) object "one" with .x 50

    ________________________________(action)

    __(sub event) object "two" with .x 60

    ________________________________(action) hinge to "pick history" at entry 1

    Also, it would be handy if every "starting" object in the wizard could be converted to an expression.

    If you hinge now, u can can convert the "to object" to an expression.

    But not the "from object"

    And thats the case in all actions.

    Plz, take the afford to read trough my bad English.

    Ty.

  • Attan, ty

    &

    it looks simple eh?

    What you suggested is one of the options ive been.

    In this zip you find 2 caps.

    http://www.mediafire.com/?yjztmj1rdnd

    One with the objects as Unique ID's, one with the objects as instances.

    In the instances .cap, well this feels like it should work.

    Only if you run it in debug mode, click the array to expand and look at numbers,

    you will see that those are not the UID's as one would expect.

    Thats the reason why it dont work.

    You can link this action to every loop u can think of.

    Even this ..

    System: 0 For "runit" from 1 to 640

    wave: 5 X Equal to loopindex("runit")

    will put the same numbers in the array, but they are not the UID's (well not those i see in the layout)

    the .cap with the unique objects i provide for in case someone is able to make a loop that runs trought the names of the objects. Wich would be nice too.

    the other option is that i link 20 objects a day one by one by hand,

    only takes me a month i guess : ) .. good thing its not februari

  • alright !!!

  • Here is a quick example.

    http://www.mediafire.com/?xuolx1gszxw

    I suppose you know what i am up to, since 640 is the screen size. : )

    I been diving a few days in wave equations.

    But they just dont fit (in my brain).

    While the solution is kinda simple.

    As you see .. Hinges have the right damping to simulate area tension.

    I just hope there is a way to automate this, and to take the stiff thing into an expression.

    Besides if i can automate the creation of this,

    i sure "suddenly" know how to pick&combine in more situations then i do know now.

    Ashley i love those physics, aren't they beautiful ? when you see them act like this ?

    You might have not looked at the Koch fractal i made, my comp could bring it to 8 iterations,

    man ! do u know how many objects that are ! ? !! .. lol

    j0h

  • I have 640 objects that need to be "hinged" to each other, linear.

    like,

    hinge object 1 to object 2

    hinge object 2 to object 3

    hinge object 3 to object 4

    .......

    hinge object 639 to object 640

    the " to object" in the hinge action has no "expression" to use.

    i cant figure out a way to do it in a loop

    do i have to hinge em all one by one ?

    or does someone has an idea about how to do this ?

  • You guys use the auto-save i hope ? So far it saved my butt several times.

    You said it has a texture error at runtime ?

    So i assume you can still open the .cap in construct, just not run it.

    In that case, look in the events wizard while adding any object based event,

    look for an object with a gear as thumbnail,

    thats the object causing u texture problems at runtime.

    Maybe Ashley can fix that, but i am afraid not.

    So make a backup, of the .cap

    Do not delete the phantom object in the layout till you fixed all events.

    Deleting it will take every action, every event containing the object away !

    First remake the object in the layout editor. (a new object)

    Go into your events/actions line by line ....

    And change the pointers from the error object to the newly made object.

    Then delete the phantom object.

    That should fix the texture problem. Hope you have only one error object to go.

    Now Your music not playing.

    Weird, my example plays you say.

    Are you sure .cap and the .wav are in same folder ?

    not in a folder in the folder, if u know what i mean ?

    I dont know if construct takes spaces in file paths well. I have no idea, since non of my paths have spaces, partly thx to vistas new way of using symbolic links to mark the user folders.

    Can u, because i wonder, copy the folder containing the .cap on the C drives root ? and try from there ?

    hope i helped some.

    Although one wanted to pronounce it "skeera" its not that "skeering" ... lol

    just keep going

    you will manage

    and turn that auto save on !!

    Man i hate this spellings checker i lined up with my IE, but guess, i am a little readable now .. lol

  • Thats cool dude. Very.

  • You are not the only person in the whole dang world suffering from a "R6025 virtual function call".

    Do not feel special, and do not act as u are. Thx !!

    You can get hit with a "R6025 virtual function call" in every program/application that calls codecs to display content. Not only construct. Its a general error and very specific to YOUR system.

    From the Big AVID Adrelanine to the small Roxio writer.

    I have no "need" to solve this completely for you since you are unneeded rude.

    But here are some hints. Do u have codec packages installed ? (I will not call them by name)

    Do u have an alternative for Apple's codecs installed ? (I will not call them by name)

    Is your QT up to date ?

    Is you Gd up to date ?

    Is your Windows Explorer even showing Thumbnails ? huh ? Without crashing

    have a nice day, eat an apple, thats good for you.

  • a quicly made .cap to illustrate

    http://www.mediafire.com/?lk3nod2jmym

  • your command sir

    http://www.mediafire.com/?brwzz4zjzgw

  • I dont know Who did it , but i saw a very elegant solution for ur problem in the .cap of a spaceshooter.

    So excuses to the "Who" person for not mentioning him/her as source.

    But this person filled every cell of the field with an invisible square object. On the moment he builded something on the cell, he erased that object. Moment the cell became empty he spawned an instance of the object on that place to mark it as Empty.

    Dooing so gives u a Great advance by using "pick random".

    Lets Call the object TheEmpty.

    Then "pick a random TheEmpty" will only pick places where nothing is build yet. Because TheEmpty is only present on empty places.

    To do this for 3 chests, you make a loop from 1 to 3. Something like this.

    (event) For loop "Here_to_stay" 1 to 3

    (event) Pick a random "TheEmpty"

    _______________________________(action) create "chest" on "TheEmpty"'s position

    _______________________________(action) destroy "TheEmpty"

    When i saw that solution, i was very very pleased with the straightforwardiness (guess thats no word), and with the simplicity

    Do you need a .cap ? i can when i am home, at work at the moment

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I should not explain my motives so mutch .. but ...

    I seem to be taken wrong so mutch ..

    I am not really interrested in specific, isolated problems and in the solutions for them.

    You never get a working system by solving each detail appart and isolated.

    What i try to do is,

    look at the isolated questions/problems, dig into them, and generate general rules,

    starting from them.

    I do this for myself, but can as wel *publish* my conclusions, and hope someone ads or takes from it.

    You can read back, and see thats the case.

    The cap that i made was just to illustrate. Nothing more nothing less.

    And now allow me to dream a second. A few weeks ago i posted a .cap.

    I really wish someone would look into it. And tell me why the T-blok is lagging. I cant find it !!

    I really wish someone would tell me how i can make an event wait till the previous event has done moving its objects. Thats a big problem in that cap. And i illustrated that problem in many .caps

    have a great weekend off.

    Oh and, you can size the Thekey object to 1 pixel width, and separate the chests by 2 pixels. This will solve your problem totaly. TheKey is now 2 pixels, i think.

  • ty ty Maxumz