Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy X, Y, Need help moving elements inside a textarea

    I found this old "Pokemon Simulation" script thing that allowed you to raise a "Pikachu" and I liked the concept, so now, what i'm trying to do is extend it, the part i'm stuck on is the "@" which is the monster you care for... (dont ask) And it (should) roam(s) freely about in a small colored textarea, with trees "#" and such. I got the y down, now I need the x, if anyone could help me, it would be greatly appreciated.

    What I need to know is how to make a "@" move one space either up, down, left or right randomly in a 32x32 textarea. So far i've managed to get it to move left to right, but to no avail, up or down.

    Thanks.

  • #2
    Banned
    Join Date
    Sep 2003
    Posts
    3,620
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Your question can not be answered without looking at the code you are working with...


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •