Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Wfire3 · Oct 15, 2010 at 07:38 AM · inputkeyboardtypegameplayuser

Keyboard entry for puzzle game battles

Hi everyone, I`m completely new to Unity and am going through the tutorials and docs at the moment. The project I have in mind is a word puzzle-style game where players must identify objects / words on the screen and TYPE the correct answer within a certain amount of time in order to progress. During this time, the screen will "freeze" all animation and character movement until the player either enters the correct information or the "answer timer" runs out, after which, the game will return to "normal time" until the next question appears.

Im designing this for the web so Id like to know how to implement a call function that will allow the player to type answers on the keyboard and have them show up on the screen.

The keyboard will have 2 states. The first state will be the normal game state which allows the player to move through the level using the arrow keys and w,s,a,d. The second state that I need to call is the "answer question" state, which will be called when the player encounters a question. The keyboard will need to be able to switch to full-typing mode in this case and then revert back once the question has passed...

Not sure if I`m explaining this well but does anyone know of any good tutorials, scripts or examples I could find in order to implement something like this?

I appreciate any help / information I can get!

Thanks.

-WF

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image skovacs1 · Oct 15, 2010 at 03:19 PM 0
Share

Typing input to screen (answers.unity3d.com/questions/19893/), pausing (which is implementation dependent) (answers.unity3d.com/), and moving through the level with wasd which is covered in nearly every tutorial (Check the Input $$anonymous$$anager) (check the 2D and 3D gameplay tutorials).

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

Text Prompt Problem 1 Answer

How to simulate a non-english Keyboard 1 Answer

Checking whether string is a valid Input.Key 1 Answer

Unity Thinks I Have Z Instead of W Button 1 Answer

How do you run a Unity game in headless mode but also maintain keyboard input functions? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges