simwhi's Recent Forum Activity

  • Hi guys,

    I have just started writing a word puzzle game. The issue that I am facing is that there is no way to import data easily. I have searched the forum but I cannot find anything.

    I need to create an array that will hold a lot of words. How can I do this without having to painstakingly enter the data manually?

    Maybe this could be added to the list of suggested features if there is a demand for it of course.

    Cheers

    Simon

    EDIT: I know I can use AJAX for the game when hosted on a website but I am interested in developing for Android phones, so I want to include the data in a APK.

  • Hmmm,

    I've just opened C2 r84 for the first time today. I too have the Bork issue. It's everywhere!!!

    What's going on guys?

  • The text is all one value. What you type is appended to the Text object (this displays all characters typed on screen). All you have to do is compare the Text box to whatever you want. I implemented an underline character as a cursor, so you will need to remove it from the Text string before comparing.

    I hope this helps.

  • You can do it by adding an event for each key you want to use. I used the clickable keyboard approach because I couldn't find a way of capturing a key press event for all keys (A-Z). I didn't want to create an event for each key pressed.

    If someone knows of a better way I'd love to know.

    If I understand what you mean correctly, you can compare whatever the user types to another text box or variable adding an ENTER key event.

  • No problem Kyatric. Let me know if there is a better way of doing it. I'm still learning!!!!

  • I did copy the public link but I'm not sure what went wrong. I've fixed the problem now. Click on the link above again.

    Sorry about that!!!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Physics again.

  • Here is how I did it.

    Here

    There are no comments at the moment so let me know if you have any problems.

    EDIT: This should work...

  • Welcome Kevin,

    I'm new to this forum too. There's a great community here, and the guys at Scirra are very quick at responding to posts too.

  • Hi Guys,

    Go to the link posted by Dabbijo above to see my reply...

  • Hi Guys,

    I have been building education games where a user will need to input words. As a workaround you can build a clickable keyboard and set whatever letter the user clicks on to a text object. I'm not sure if this is what you want but it should work well. The other advantage of using this approach is that it will work well for mobile devices too.

    Cheers

    Simon

  • I voted for physics based on my personal requirements at this time but I also think collision polygons are very important too.

simwhi's avatar

simwhi

Member since 28 Aug, 2011

None one is following simwhi yet!

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies