Wastrel's Recent Forum Activity

  • The javascript function getTime() returns the number of milliseconds since midnight Jan 1, 1970 and will always be unique. If you can use this variable it will solve your problem. The problem is how to implement this solution.

    In case this is the way you want to go, check out this plugin: http://www.scirra.com/forum/plugin-system-date-and-time_topic45206.html

    Specifically, the UnixTimestamp expression will give you the number rfisher is talking about.

  • I thought the point of a constant was that the value could not be changed. Or is the issues that it throws an external check error check instead of an internal Construct error? Am I missing something?

  • I don't understand why creating behaviors and plugins with the JavaScript SDK is not considered on par with (or superior to, in my opinion), scripting systems in other drag and drop game making apps. Once you get the hang of it, creating behaviors and plugins which add, modify, or even create new functionality, is rather easy. You're just moving the scripting down one level, from scripting directly in an object to an external bit of code.

    I've had experience with various DnD systems with built-in scripting, and by far I think the JavaScript SDK gives me more power and control than a built-in system ever did.

  • 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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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?

Wastrel's avatar

Wastrel

Member since 21 Sep, 2011

Twitter
Wastrel has 2 followers

Trophy Case

  • 13-Year Club

Progress

13/44
How to earn trophies