ome6a1717's Recent Forum Activity

  • Thanks guys!

  • Nathan you are a savior! Just adding str for the text array numbers seem to have fixed it. It's just strange that it worked in every browser until I exported it to a node-webkit.

    Just curious, Ashley; what browser does the node-webkit use? Or is it based on which one you currently have set in your project?

    Thanks guys!

  • Sorry to be pesky about this, but I've checked my code quite a few times, and I'm still having an issue. Basically I'm trying to save a few arrays with both numbers and text.

    I have 2 separate arrays, one giving me an issue and not saving the text, and the other works perfectly. The codes are the EXACT SAME aside from being a different array and I've now tested them and they work on Chrome, IE, Firefox, and Palemoon, but when I export to Node-Webkit, only one of the arrays saves the data appropriately.

    Have there been issues like this using node-webkit?

    Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So I was able to fix everything in every browser, however some things are now broken when I export to Node-Webkit.

  • Actually I figured it out using an array to set the keycodes and then using "On KeyCode, Array.At(X)". My only question now; is there a list of every key code? I want to be able to have the player set "A" to move left, but I want the text to show "A" instead of "83 (or whatever number it is)"

  • I'm trying to figure out how to implement a control system so you can choose the controls of the game IN the game (ie. the player can go into the options and set Move Left to "V", and then set the Move Left event to <if "whatever_key_is_set_to_move_left" is pressed>)

    I'd imagine it's somehow done with keycodes & variables, but there are no key code tutorials that explain how to use them.

    Any help would be greatly appreciated!

    Thanks,

    Steve

  • Part of this is ignorance on my part, but I have my game well underway, and noticed something strange when I exported to the node-webkit. I looked a bit online and found to test the game on multiple browsers, so I did.

    Can someone explain to me why my game works perfectly in the browser I've been testing in, but the second I switch to a different browser, half of my events just flat out don't work? I've been using palemoon, but trying internet explorer, simple things such as changing a variable isn't working. I'm now getting the game to crash at certain points. Is it not possible to run large games using Construct 2 because of this issue?

  • Would I still be able to use the NPC family this way?

  • Hey Vee,

    I currently have an exclamation point sprite pop up when you're < 100 pixels from an npc. The pick nearest works with the dialog, but unfortunately doesn't set the ! sprites visible/invisible correctly when I use 'pick closest NPC'. That's why I was hoping of possibly figuring out a way to use Pin UIDs, but to no avail.

  • Mouse is disabled <img src="smileys/smiley34.gif" border="0" align="middle" />

  • Actually you're right, I do not. Because of the object not being fully created in the "spawn object" actions, I had to add a wait 0 seconds and THEN set the instance variables.

    Thanks!

  • I'm wondering some opinions on the best way to do this. Currently, I'm creating a blank sprite on each npcs and pinning it the npc. I then set a "if player < 100 pixels from NPC, on SPACE, do the following lines of dialogue".   The only issue I come up with this is if 2 npcs are next to each other, it kind of freaks out.

    This is more of a general question; does anyone have any thoughts on the best way to accomplish an rpg style npc dialogue event?

ome6a1717's avatar

ome6a1717

Member since 12 Feb, 2013

Twitter
ome6a1717 has 3 followers

Trophy Case

  • 11-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies