Results 1 to 3 of 3

Thread: Drawing Trail, Tron game

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2009
    Posts
    3

    Drawing Trail, Tron game

    Hi guys

    Iv been making a Tron game for the past week and im stuck.
    What is the best way to draw the trail behind the "bike".

    i have two arrays called StartPoint() and Endpoint(). Both of the arrays are constantly updated with every change of direction.

    I need the trail to follow the bike and once the player changes direction, it needs to stop and start in the new direction.

    Thanks in advanc

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Drawing Trail, Tron game

    Follow the CodeBank link in my signature and check out my Simple Drawing thread. You would need to use a Timer to update the drawing rather than mouse events but the principle is the same.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    New Member
    Join Date
    Dec 2009
    Posts
    3

    Re: Drawing Trail, Tron game

    Wow thanks man

    ill get stuck into it.

Tags for this Thread

Posting Permissions

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



Click Here to Expand Forum to Full Width