Wastrel's Forum Posts

  • Nice work Tearsir. And I applaud your avatar! :D

    Where did you get the music (or is it a sound effect that sounds like music)? It is very creepy and set the mood perfectly.

    One issue I noticed is when the character is path finding around a corner, it reaches the destination point then keeps going. When walking in a straight line, this doesn't happen.

    Keep up the good work! I don't think you can ever go wrong with anything Cthulhu related.

  • ...you can in theory (although probably not officially supported) write most of the logic of your game using javascript by creating a plugin with the SDK...

    My understanding of this is that for third party plugins you intend to publish, you need to follow the rules set down by Scirra. This helps maintain consistency and prevents errors and bugs in later releases.

    For private plugins, there really aren't any restrictions as far as I can see. If you are not planning on publishing the plugin, you won't break anyone's project but your own.

    Building custom plugins for your private use (but for use in published games, obviously) is a great way to add coding to C2, in my opinion.

    If I am wrong, someone please correct me.

  • Sorry to resurrect an old post, but I've revisited the KeyCode plug-in after learning a lot more about JavaScript.

    I've finally found where the issue lies between the KeyCode plug-in and the native Keyboard plug-in. The Keyboard plug-in calls the preventDefault method at the end of the onKeyDown and onKeyUp functions. This basically short-circuits any other keyboard events which follow.

    Ashley, is there any type of workaround that I can include in the KeyCode plug-in that will ignore the preventDefault call?

    If not, I'm afraid the KeyCode plug-in is useless, when used in conjunction the Keyboard plug-in.

    Thanks!

  • I meant accessing the site at the same time from different devices, i.e. I have a forum response window up in a browser tab on my PC, then I connect to the Scirra site in a different session in a different browser tab on the same PC, or from my phone, or from my tablet to look something up on the site without leaving my original forum response session.

    This issue only seems to happen to me when I am writing a more complex response (which is also the worst time for it to happen), and I am referencing info on the site from a different session.

  • shinkan, I feel privileged to be part of a community where there's TOO much help (if there is such a thing), rather than not enough. Besides, you did a lot more work than I did. :D

  • Is it possible to change the text of the message, to be more clear as to what is being saved, or is this a built-in browser message?

  • shinkan already ninja'd me, but you needed to set the MenuOptionsNav back to 0 in the Options menu section.

  • Here's an idea. Do you access the Scirra site from multiple devices? Like your PC, a phone, and a tablet?

    I do, and i think my phone will do an auto refresh every once in a while. Could that cause some kind of issue between sessions?

  • Sylvain,

    Try searching in the Forums for "pathfinding".

    There are an abundance of pathfinding references on the forums.

  • In delgado's defense, I used C2 for 3 or 4 months before "discovering" the panel, which was sitting there in plain (if not somewhat transparent) sight. It wasn't immediately apparent to me.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I get that once in a while too, which is why I started to copy my finished text to the clipboard before hitting send. Sometimes I will write the message in notepad first, depending on the length.

    I suspect it is a time out issue with some cookie or such.

    Tom might know for sure.

  • R0J0hound, that is a much less complex approach. Very nice.

    My original intent was to emulate the Infocom Z-machine, which explains why my approach seems a bit overboard. :D

  • Can we have a few teasers please? ;)

    ^^ What he said!

  • Ize,

    I was working on something like this a while back. See if this helps you (if it makes any sense): https://dl.dropbox.com/u/38038537/examples/TextParsingExample.capx

    I updated it for R102, and modified it to better match what you had in your capx.

    The solution I used was to create multiple dictionaries, one each for verbs, nouns, prepositions, and language patterns. The parsing engine only checks to make sure the string entered is valid, it does not check for game logic. The parser then passes a valid token string to a global variable, which can be used by the game logic.

    Using dictionaries makes it very easy to add verbs and such to the game, and the parser works dynamically to verify the input string, so no changes are required to it when adding words (except for the bugs I probably missed :D).

    My example doesn't have much proper game logic, but I think it should show you where I was going with it.

    I hope it helps.

    Thanks!