User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: "snake"

  1. #1
    No Products Registered

    Join Date
    Jun 2008
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    "snake"

    I'm making a game like "snake" but I need some serious help.

    I can't figure out how to make it so the "snake" can't double back on itself.

    And I can't figure out how to make it start going in a random direction (left, right, up, down) upon starting the game where the snake starts at a constant speed (say 30).

    Right now I start the game and the snake is not moving until I press an arrow key.

    Also, this might just be because I'm so tired but I need help figuring out how to make an object randomly appear (only 1) in the game then the "snake" eats it and grows 1 section bigger and as soon as it is eaten, a new one appears at another random spot. help?

    How can I make it so the "snake" head moves, then the body follows that path?

  2. #2
    No Products Registered

    Join Date
    Jun 2008
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "snake"

    please help, i'm on a deadline....

  3. #3
    No Products Registered

    Join Date
    Apr 2008
    Location
    Weston-super-mare
    Posts
    200
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "snake"

    Just put if he collides with himself die.

    IF: ("Snake") Colides with ("Snake")
    ACT: restart game or something like that.

  4. #4
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "snake"

    I think he means to that you can't go strait from left to right or up to down....

    Use this as a example event.

    If key down left arrow and not facing direction right then set direction left.

    ... If you can't manage private message me and I'll make you an example.

  5. #5
    No Products Registered

    Join Date
    Jun 2008
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "snake"

    I got the movement down... now i'm having trouble adding the different segments to the snake when it eats the block. help?

  6. #6
    No Products Registered

    Join Date
    Apr 2008
    Location
    Weston-super-mare
    Posts
    200
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "snake"

    hm..... now thats a thinker...

  7. #7
    No Products Registered

    Join Date
    Jun 2008
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "snake"

    >_> no... really? T_T

  8. #8
    No Products Registered

    Join Date
    Jun 2008
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "snake"

    help please?

  9. #9
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Posts
    2,023
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: "snake"

    snake hits block:
    destroy block
    make new block (your code)
    +1 to Alterable Value A of Snake

    New event: Number of snake body things less than alterable value a
    create snake body part

    always
    add 1 to alterable value a of snake body

    alterable value a of snake body greater than 10
    destroy snake body

    you can think of how to implement it properly and work on it

  10. #10
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export Module
    Chaos's Avatar
    Join Date
    Aug 2006
    Location
    Burnsville, MN, USA
    Posts
    806
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: "snake"

    Hmm - this sounds familliar

    Here is my snakes example - hopefully it is of some help to you.

    http://www.clickteam.com/eng/resources/open_source/Snakes.zip


Page 1 of 2 1 2 LastLast

Similar Threads

  1. Snake Movement
    By MuddyMole in forum File Archive
    Replies: 0
    Last Post: 3rd September 2011, 02:51 PM
  2. Snake game
    By videogiochi in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 22nd June 2011, 06:36 PM
  3. Need help with a Snake game
    By K1kk0z90 in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 21st December 2010, 06:05 PM

Posting Permissions

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