floatingsunfish's Forum Posts

  • Thanks for trying to help, I really appreciate it

    However, I have figured out a workaround:

    Just before the final action in the On Tap Object event, add a System.Wait for 0.01 seconds.

    Apparently that was enough to keep the Touch Behavior from executing right after the function was called so the re-check on the Cancel button's Touch event never fired unnecessarily.

    I hope this issue gets fixed soon, if it actually is an issue or just a mouse-emulating-touch limitation.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi guys, I'm currently working on a menu system for an experimental tower defense game similar to Radiant Defense (the menu is an exact rip-off, I know, but I'm just using it as a base) and I'm using the On Tap Object condition.

    My problem is, since I'm just moving my buttons on-and-off the screen (on a non-scrolling layer), the 6th button on the top menu happened to be perfectly aligned with the Cancel (3rd) button on the 4th menu, which causes the button to "seemingly" not do anything -- while in fact, it is actually moving to the 4th menu and quickly touching the Cancel button so the 1st menu is re-shown (it all happens so fast it can't be seen) -- the proof I know the 6th button works is because if I move it elsewhere it shows the 4th menu just fine. I know I'm only performing the Tap Gesture once since I'm keeping the left mouse button clicked when I touch the button.

    My question is, is there a way to prevent the On Tap Object condition from executing multiple times? I'm halfway tempted to just use one big menu screen where the buttons will never stack over each other, but that seems like a bad workaround.

  • Thanks! I thought I only needed the CSV2Array plugin. D'oh!

    That'll teach me to skim posts! <img src="smileys/smiley36.gif" border="0" align="middle" />

  • Hello, user mindfaq (right above me <img src="smileys/smiley36.gif" border="0" align="middle" />) has directed me to this wonderful plugin from a topic I posted in the How Do I? forum, and I am very thankful to rexrainbow for developing it - however I seem to have difficulty opening the example files in r146. I have already installed the plugin properly in my install folder because I can open CSV2ARRAY.capx just fine, but for some reason I can't open both test_csv_basic.capx and test_csv_multipage.capx

    It says "Failed to open project [path to project], object type uses unknown plugin ID Under element: c2project\object-folder\object-type Line 21, column 9 The file may be invalid. Try checking the file in a text editor (projects are saved in XML format)"

    Am I missing a required plugin to open the two examples posted? Please tell me because I really want to learn how to use this wonderful plugin.

  • Thanks again for the quick reply. Wow, that plugin sounds like a lifesaver! Man, I've been missing out, haha! <img src="smileys/smiley32.gif" border="0" align="middle" />

    Anyway, best of luck on your tutorial! Know you always have a fan in me, and drop me a link once it's finished! I'd love to see what you've come up with. Really looking forward to it! <img src="smileys/smiley2.gif" border="0" align="middle" />

    Oh, and for those of you who happen to read this, please continue to post your tips and advice here! Also feel free to modify my .capx and post your improved version here for all to see! Let's help introduce Construct 2 to the world of Visual Novel-making!   <img src="smileys/smiley42.gif" border="0" align="middle" />

  • Thank you for the reply mindfaQ.

    Because the script is still being constructed, some lines of dialog may one day need to be removed (like a bunch of sentences that don't contribute to the story all that much). This causes problems in my system because they're basically inside cells that need to be read one by one - which causes problems due to my line-reading group that only reads one line at a time. Any blank fields cannot simply be skipped because they get read as 0's.

    From what you say maybe I could just use the second dimension of my array to add 1's and 0's to determine whether a certain line needs to be skipped? Hmm..

    Oh, and if you don't mind, could you please clarify what you meant by "CSVtoArray and blank fields are set to -1 and ignored later in the script"? I'm afraid I didn't quite catch that. <img src="smileys/smiley17.gif" border="0" align="middle" />

    I'm looking forward to your tutorial if ever it comes into fruition. <img src="smileys/smiley2.gif" border="0" align="middle" /> Please drop the link below if you find the time to make it! Thanks again!

  • Good day, o wise patrons of Scirra! I have been making a prototype visual novel for two days now, and I just want to ask you guys for advice before this little project of mine gets out of hand.

    You see, I am having trouble figuring out the best/most-code-efficient way to program my game's script. Basically what sprite and background to show, what text to display for dialog and names, what animations and transitions to play, and what BGMs, SFXs and Voices to play. I am trying my best to use arrays because I believe they are the most effective to use in this situation. However, am having trouble deciding how to input my data into the array's indices.

    Using traditional XY coordinates makes it difficult to remove dialog once it's been written in (from editing the script for example), as if it's been set in stone because it would leave big gaping holes inside my array. And I only increment my current position variable one at a time. I figured I could just write a little line that said that whenever my position is in an index with a value of 0 (an empty array index) just increment my position by 1. However I can't seem to find the right place to put this line as my text display code is in a group that gets activated and deactivated per dialog line. (You can thank Construct2 genius Kyatric for that one! Space Jinx was extremely helpful for this little project.)

    The second method I tried was using the Push & Pop method. This method lets me easily remove dialog even after I've written it because they don't leave gaping holes in my array. However this freedom comes at the price of me not being able to easily find at what index I should trigger an event like an animation change.

    Should I just use one array for each aspect of my script? eg. One for the dialog, name of speaker, background, sprite, sprite animation, sprite transition, bgm, sfx and voice?

    I am also having problems figuring out the best way to input story paths that are actually affected by choices (not just simple one-liners like most linear visual novels, as I'm trying for a classic, branching storyline with multiple endings).

    Please help me out guys, I've tried my best here and I keep coding myself into a corner - and not even writing my ideas down on paper helps! <img src="smileys/smiley29.gif" border="0" align="middle" />

    Here are both of my Capx's, commented as best as I can, for those who are brave enough to look at my messy code. Oh, and please don't laugh at my graphics. They are just place holders.<img src="smileys/smiley17.gif" border="0" align="middle" /> Thank you for your time.

    EDIT: They're animated, by the way! Might want to check them out. <img src="smileys/smiley2.gif" border="0" align="middle" />

    Using XY input method

    https://www.dropbox.com/s/atczxz3o3ba41cf/Kouji%27s%20VN%20Engine%20Beta%20XY%20input.capx

    Using push&pop input method

    https://www.dropbox.com/s/s1ukt8g04w7c7p9/Kouji%27s%20VN%20Engine%20Beta%20PUSHPOP%20input.capx

  • Hello! I'm FloatingSunfish! I'm really getting into Construct 2! It's a really great program (understatement of the year), and I hope to one day make great games with this! Wish I had the Personal Edition though! The price does not convert nicely to my country's currency <img src="smileys/smiley17.gif" border="0" align="middle" />

  • Congrats on buying the Personal Edition! I wish to one day get a license as well! <img src="smileys/smiley2.gif" border="0" align="middle" />

  • Awesome concept there! Melon go!! <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Well this should keep me busy for a while! :D

  • This is interesting <img src="smileys/smiley2.gif" border="0" align="middle" />

  • Nice art style! I like it a lot! <img src="smileys/smiley20.gif" border="0" align="middle" />

  • Really looking forward to games made possible by Kickstarter. We should really support our fellow indie brethren. <img src="smileys/smiley36.gif" border="0" align="middle" />

  • Nice! Construct 2 games on Kongregate makes for some good exposure to gamers! <img src="smileys/smiley12.gif" border="0" align="middle" />