Jump to content
  • Advertisement

BaconDevil Gaming

Member
  • Content Count

    12
  • Joined

  • Last visited

Community Reputation

128 Neutral

About BaconDevil Gaming

  • Rank
    Member
  1. my issue is constantly displaying the text. it only shows when I hold the action key. It doesn't stick. I was thinking that by setting a boolean to true I could tell java that while(boolean = true){        g.drawString(...) }
  2. So Ive been at this for weeks and for what ever reason I cannot figure this out.   What I need to do is when the player hits an action key the game updates a boolean so a String is constantly displayed on the screen.   Then, I need a timer to activate which, after a certain amount of time, updates a boolean that allows the player to hit the action key and proceed to the next String.   I have found no tutorials that have helped me on this subject. I need to figure this out so I can proceed with my game. Please help.
  3. BaconDevil Gaming

    How to Program a dialog box with typewriter effect

    So I was having trouble understanding your suggestions so i spent some time doing more research and trying out some new techniques. I found a nifty tutorial but it was for flash so i tried to convert the code int java. It isn't working but I feel that I am on the correct track. Please look over the code and help me find whats wrong http://pastebin.com/TyHtKaNC (the reason for the IF statement with the done boolean is if I told writChar to remove itself it would cause a stack overflow error and that seemed to fix it).
  4. BaconDevil Gaming

    How to Program a dialog box with typewriter effect

    What does this bit mean I'm having trouble understanding it
  5. BaconDevil Gaming

    How to Program a dialog box with typewriter effect

    So would I put the code in my game loop? (Sorry for being a noob)
  6. BaconDevil Gaming

    How to Program a dialog box with typewriter effect

    hahaha my thoughts too XD
  7. BaconDevil Gaming

    How to Program a dialog box with typewriter effect

    ya I know java isn't the best but I'm on a mac and I want a game that runs on all systems.
  8. BaconDevil Gaming

    How to Program a dialog box with typewriter effect

    So I took your advice and learned more about GUI's and then looked int substrings and all the good stuff like that :D The problem I'm having is if I render the text it all types in one spot and lags the game. Im probably doing this all wrong but id appreciate it of you could look at what I've done and send me in the right direction. http://pastebin.com/xM0g51bV
  9. BaconDevil Gaming

    How to Program a dialog box with typewriter effect

    alright sweet! Thanks for the help. Know any places/sites that may help me in learning about GUI's?
  10. BaconDevil Gaming

    How to Program a dialog box with typewriter effect

    Hi! Thanks for the reply could you give an example with code for that method I apologize for my incompetence, this is the first time I'm implementing a GUI.
  11. BaconDevil Gaming

    How to Program a dialog box with typewriter effect

    um... wow im gonna sound like a complete noob but could you please give me an example of that system. Im really sorry I don't understand but I appreciate the help :D
  12. Hi! Im new to the whole programing world so Please be patient with me I'm but a noob in a vast sea of experts. So as the title suggests I'm having trouble finding a detailed tutorial on how to properly create a dialog box with the typewriter effect (letters appearing one by one). And like I said I'm very new to this so please be patient! Thanks for the help! Just in case this helps I'm not using an engine or any external programs my game has been all done in eclipse and thats all.
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!