Savvy001's Forum Posts

  • Hi Awesome Plugin Coders!

    As the title of this post implies i came to the conclusion that a save/load to/from Dropbox would be really great for appbuilders like myself.

    That way i can ensure the users of my apps to save their data to a better location then the local cookie.

    Meaning that their data is lost once they reset the browser cookies.

    Now i know you are all working around the clock to finish your own plugins.

    So dont get me wrong that i would like to see this plugin as of tommorow ;-)

    However, as construct2 grows to an even more usable platform for webApp builders monthly, i can see that ensuring the least amount of data loss is a welcome development.

    Maybe it cant be done yet?

    Maybe it can?

    I am not the expert.

    What i do know is that i and others could inform users to open a dropbox account. So they could then input their account data into the plugin.

    Then hitting save or load.

    And bam... awesomeness is born.

    Ps: The best part is that it would enable crossplatform!

    Kind Regards and thanx for reading <img src="smileys/smiley32.gif" border="0" align="middle" />

    Savvy001

  • septeven

    It maybe a 'general' question, but i still would like to thank u for the answer.

    U just made my App go from 80% to 90% finished!

    Really, thanx!

    It worked great!

  • septeven

    Is it possible to save the entire list from the ComboBoxListBox via webstorage?

    So that later on i can load the entire list again?

    I have a webstorage setup in my app and i know how to save data.

    But i cant understand what i need to do to save and load the intire list i created in the ComboBoxListBox.

    If it is possible, could u please tell me how?

    Kind Regards.

    Savvy

  • septeven

    Ok, seems like their update will fix it in the future.

    Thanx!

  • septeven

    Yes! Thats it <img src="smileys/smiley20.gif" border="0" align="middle">

    I changed it to match my exact needs.

    Have a look at what u helped to create <img src="smileys/smiley32.gif" border="0" align="middle">

    Demo

    http://www.conceptsarea.com/Construct2/DropDownListExample/

    Capx

    http://www.conceptsarea.com/Construct2/DropDownListExample/DropDownListExample.capx

    I think this one can be added to the "How do i" example list of Kyatric

    Thanx for the great help here septeven

    And when u find that awesomium bug, please poure some acid onto it and notify me <img src="smileys/smiley17.gif" border="0" align="middle">

    Kind Regards.

    Savvy001

  • Hi!

    On an android Tablet.

    Do C2 games run in background fully when switching to a other app?

    Or do they pauze and later on continue.

    In my case i would "want" them to keep running while switching.

    Kind Regards.

    Savvy001

  • septeven

    I understand that comparing the ID (number) to the user generated (text) is not possible.

    What i need is this.

    A: User enters Text in textbox.

    B: User click create button

    C: Sprite is created and Text from textbox is set as "text" variable at (sprite.name)

    D: Text is also added to ComboBoxListBox.

    (ComboBoxListBox now has the same name in it as the sprite variable has.

    F: User repeats this process until all the needed sprites are created.

    G: User now wants to select a sprite using the ComboBoxListBox.

    H: User clicks on ComboBoxListBox and selects desired name.

    I: After that, User clicks a button named "action"

    J: Sprite.Name is then compared to ComboBoxListBox.SelectedItem. (which needs to be "text" in my case instead of ID)

    K: Action is then applied.

    I hope u can see now why i need the feature of checking by Selected Text, instead of ID.

    I can never compare to an ID because the user will never input an ID.

    + the plugin wont let me know which "text" is at which ID Number.

    So to simply have the condition: Is line "" Selected?

    would be the answer to all of the above.

    Then i can start to compare the selected line with the text, stored in my sprite variable.

    I hope this explains it <img src="smileys/smiley2.gif" border="0" align="middle" />

  • I thougth so <img src="smileys/smiley2.gif" border="0" align="middle" /> But i just tried everything i could think of.

  • Woops sorry, i need to come back on that!

    It did not work.

    I was adding digits instead of names.

    So ofcourse the ComboBoxListBox could find it.

    But when i inputted Text it could not.

    I used.

    Is line selected: ID of the line = ComboBoxListBox.getTextSelected

    For each sprite

    System Compare Sprite.Name to ComboBoxListBox.getTextSelected

    (And Sprite.Name has the text "Item 2")

    Then Action!

    U see, im trying to achieve this.

    Is line selected: Sprite.Name

    (And Sprite.Name has the text "Item 2")

    Then Action

  • Hi

    The comparing values worked (with some additional event magic to get what i need) but it would still be great (and way more easy to setup) if u could implement this addon in the future.

    Ofcourse whenever u have the time.

    Thanx for looking for a awesomium fix as my app cannot be on the internet.

    But i do really need your ComboBoxListBox in my apps UI.

    So Awesomium is the way to go.

    Kind Regards.

    Savvy001

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Your Welcome!

  • And as a feature request i have the following.

    I would really like the option to check for a selected line by the text of that line, instead of the ID.

    That way i can simply use a textbox to add items to the ComboBoxListBox.

    And then set an action, that reacts uppon selecting the line with that specific text, without having to know the ID.

    In my app the user will never know the ID's of the lines created by the ComboBoxListBox.

    He will only see the text items that are in it.

    So i would like the ComboListBox to be able to function from that perspective.

    Simply as, user sees

    Item 1

    Item 2

    Item 3

    User Selects item 2

    Event = ComboBoxListBox checks if line is selected by text ("item 2")

    Then condition etc happens.

    This way i could implement that item 2 "text" as a name variable to an object when the user creates the "item 2" by using a textbox.

    Then later i can check that objects name when calling for item 2 in the ComboBoxListBox, and thus have the object which carries that same name respond accordingly.

    Simple but effective.

    Thanx for your great work on the ComboBoxListBox so far!

    Kind Regards.

    Savvy001

  • Hi septeven

    I am working with your plugin Combobox listbox in my app.

    The thing is that when i export as Awesomium and start the app when its done, the Combobox doesnt work.

    I dont get any errors.

    Its just that i cant "open" te Combobox to view the items stored into it.

    Can u fix this?

    It would be great!

  • Solved:

    I needed to Rotate towards Angle:

    For Each (Sprite)

    Rotate Towards Angle

    ---> Degrees: distance(self.X,self.y,Center.X,Center.Y)

    ---> Angle:   angle(self.X,self.y,Center.X,Center.Y)+90

    Then Move the sprites:

    For Each (sprite)

    Move Forard Every Tick

    --> 20000/distance(self.X,self.Y,Center.X,Center.Y)*dt

  • Hi

    Im building a little app in which sprites orbit a center object but gain more distance over time.

    The speed needs to be correct according to the distance.

    (So no superspeed orbits when the sprites are further away from the center object.)

    I also need them to move completely sepparate from eachother.

    So no matter where i spawn them, they need to start orbiting from that position at the correct speed.

    I tried the +cos & +sin math formula but that aligns them in a syncronised order, which is no good.

    Can anyone help me on this?

    I have tried every possible orbit sollution on the forum but they dont do what i need.

    Probably because my coding skills are yet not good enough.

    Any help is Super!

    Thanx

    Savvy001