bhavanvaishnav's Recent Forum Activity

  • Yes yes,

    I know..

    I am really sorry about not posting the project file.

    Ok.. So. Forgive me for not following protocol for I am new.

    Next time will be posting the project file.

    Anyway..

    So I first ran into this..

    http://www.scirra.com/forum/read-first-how-to-report-bugs_topic43329.html

    And realized this must have occurred before..

    So found this:

    http://www.scirra.com/forum/adding-array-with-no-properties-in-r76_topic48444.html

    And this is exactly whats wrong.

    The new object has to be inserted with a layout selected.

    I believe no "instance" is created otherwise..

    Umm. How can I attach a project file to this post? only URLs?

    Maybe it can be helpful to reproduce this..

    Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi All,

    First of all hello, my name is Bhavan, I have just purchased Construct 2 and starting to play around with some of its features (plugins etc.)

    Congratulations to you all for having an excellent forum. I have been finding it very helpful in the short period I have been using C2.

    However!

    There is some strange behavior I began to notice. I tried using the Array (array plugin) and something really simple, (such as adding a value, and retrieving it) seems to simply not work. (always retrieves 0, which I have read is the value when you go out of bounds)

    So, I arrived here, thinking must be a bug in the plugin, and this plugin provides similar behavior (i required a 1D array). So I downloaded data structures, made the cr.plugins_ change as posted in one of the replies here (runtime.js) to avoid an assert, and guess what, some simple push, pop still retrieves 0. (On a side note, one of the other plugins I installed too, "function" does not work, but here I think my usage is incorrect, so not sure of this yet.)

    So I downloaded the example you have posted above, and opened it up in C2, and hey, the stuff works. I replicated the simple push, at() behavior I had in my project in the example project, and this too worked!

    So I cannot see what I am missing, I am not aware of what difference a .capx and .caproj makes (mine is .caproj, the example is a .capx). Maybe I made a mistake while installing the plugin?

    Any hints will be appreciated, I will upload my .caproj if required. But I think this may be trivial.

bhavanvaishnav's avatar

bhavanvaishnav

Member since 3 Feb, 2012

None one is following bhavanvaishnav yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies