kbtbc's Forum Posts

  • Thanks -- my new favorite tutorial is https://www.scirra.com/tutorials/537/ho ... svn/page-1

    ...me thinks this a common 'beginner' pitfall -- and would kindly suggest Ashley (and to the other powers that be) to make this information more inclusive in the Setup & Installation part of the Manual.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Do you recommend a versioning system that works well with C2?

  • Local Disk. It's not big... 30 events. Virus free (with multiple checks). I made lots of changes, such as new sprites, edit them and trying different sounds, modified behaviors, etc. ... so it would be really hard to pin down a specific factor... It's on a Windows 8.1 machine.

    I also watched the auto-save dialog box appear multiple times while working. This feature is also broken.

    ... I was restarting my pc and before initiating the shutdown, I went to C2, saved my project, then restarted my pc, reopened C2 ... and poof -- all edits gone.

  • You and I are not the only ones. Here is another:

    It's a pretty bad flaw.... all your SAVED work, gone. (btw, I am 100% sure I saved, it was a very deliberate action)

  • So, I've spent a full day+ working on my project, saved the file (yes, I did File--> Save) ... and I reopened C2, and all my edits are gone!! Huge bummer and wtf?

    There is an autosave.capx, but it is corrupt. I guess thankfully, most of my time was spent figuring stuff out, but still ... you can't trust the save feature?

    This was using the latest beta r174 (which I upgraded because some help from the forums was using the beta, and I was unable to open their help capx with the standard release) ... but still ... gooodness -- how do you guys make sure your projects are safe??

  • I use tokenat and tokencount, which are great for working with lists of data w/ delimiters.

    Is there an equivalent function to find the index of a value within a list?

    For example, something like tokenfind("apples|oranges|bananas", "oranges", "|") would return the value 1.

    Many thanks.

  • Hello,

    I searched the manual and forums but don't see any explanation about the difference between a system event of setting a group 'Activated' vs. 'Toggle Active' ... what is the difference? ... Does the latter work more like an on/off switch each time you call it? ... and are there any differences between using one or the other?

  • Instead of 'quick reply', scroll back to the top and use 'Post a Reply' -- this will give you attachment options down at the bottom. (You could also upload your file to dropbox or Google drive and post a shared link.)

  • Ok, concepts are starting to come together! ... I haven't even got to touch functions yet -- so I made need two more weeks <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";-)" title="Wink" /> ... but after a week of effort, I have to say that I am really enjoying the results -- I am just personally having fun learning.

    After fully completing the first tutorials, and then wondering how to handle the word data and how to approach this with C2, I decided to just alter the Ghost Shooter -- and work with what I am learning -- and I have functionality to show for it!

    This wouldn't be possible without the fine help of the people here in these forums. From the idea here on using animation frames, to help with arrays I have put together 'Ruzzle's Revenge'! (the letters are back after years of abuse being so misspelled) ... In this pre-pre-alpha release, the "monsters" are one of 5 letters, 'A,S,P,E,R' ... which can be anagramed into 240 possible words -- which I store in array. As you kill the monsters, you are building possible words. The shortest possible words are matched first (for example if you are thinking to spell SPARE, the game will first record SPA as a valid word. Once a word is matched, it cannot be rematched. Possible matches will be displayed as you play, just as a reference, helping you learn new anagrams (which is good for us Ruzzlers). If your letter que can't go on to complete a word, it is reset and points are lost. ...

    Anyway, this is hardly a game to 'show off', but rather I'm excited to finally not feel overwhelmed. These are just beginner modifications to the tutorial, with a ton more to do -- but if you want to try it, I published it here fun.bestwordplay.com

    Now I'm off to figure out the highscore/php/ajax tutorial! Happy July1st!!

  • Good morning and thanks! This has been wonderful in clarifying how these objects work -- and my simple ideas are finally working! ... much appreciation

    ... and so much more to learn ...

  • Cool. I'll try both to help me learning -- you guys have already been great

    .... meanwhile, back on the Arrays, I'm trying to read and update the Y value for correct matches.

    It's still confusing me, Compare at XY -- (I'm looking for the Y value where the found word is) ... this is what I came up with, but doesn't work... I'm still searching for help. Here is what I tried, that doesn't work:

    EDIT: I think I got it ... The ValueAt for Y should be '1' ... and not '0' ... (but I thought indexes started at '0'?) ... shew my head is full

  • Blackhornet, thanks! -- I knew it was something simple that I was overlooking.

    Codah, Good idea on the size setting. (one reason for the format I have is that I plan to load the data from different letter sets, which might be different lengths, but the same logic could be applied. The reason I want to use the array instead of dictionary is that I also want to keep try whether a word has been guessed or not, and thus the Y field. Since a dictionary only contains key=value pairs, I thought an array would be better. Obviously, I'm still learning about a lot of this... (like how push works)... Could you elaborate a bit on why a Dictionary might be closer to my needs? That would help my understanding of learning how to choose best between these two storage objects.

  • This may be easier than my capx:

  • Thanks. Here is my capx ... a lot of stuff is toggled out because it's not working as I would expect.

    Basically, for my education, I've modified the ghost shooter tut game to have a few random letters appear and am looking to build matches when you shoot them in the right order. I was able to get his working just by using find() and comparing against a string, but Arrays seem like a much better fit, but I am lost as to why it's so difficult or what is wrong with what I am trying.

    I'll take a closer look at what you posted, too. goo.gl/giWv8S

  • I have successfully loaded a 2D Array with words into C2. I am having the hardest time just working with the array data. I have spent most of the day in tuts and forums on this, and feel this must be something easy I'm just not getting:

    The array has a string value (the word) for X, and a numeric value(0) (number of times guessed) for Y

    You can see a portion of my array in this shot from the debugger:

    However, if I try to call even something like ArrayWords.IndexOf("ES") (just to test for position a known word in the array), it always shows -1.

    The same is true even if I try a new 'Array Contains' condition for "ES". However, the manuals seem to indicate this is how it's done. What am I missing?