A Flash Developer Resource Site

Results 1 to 12 of 12

Thread: [F8] Physic for a bike

  1. #1
    Wait- what now? tidenburg's Avatar
    Join Date
    Dec 2005
    Posts
    1,472

    [F8] Physic for a bike

    Hi all.
    Can someone point me to a physics tutorial for a bike. I don't really want to use an engine or other people classes. I just want to familiarise myself with stuff like this.
    Thanks in advance
    "I'd only told them the truth. Was that so selfish? Our integrity sells for so little, but it is all we really have. It is the very last inch of us, but within that inch, we are free."

  2. #2
    Software Developer mickm's Avatar
    Join Date
    Sep 2006
    Location
    Kingston [ON]
    Posts
    115
    Post you game for free at Gamestack.org. We send the user straight to your website, no iFrames or other leeching methods.

    Please check out Gamestack.org for more information.

  3. #3
    Student
    Join Date
    Apr 2001
    Location
    -
    Posts
    4,756
    maybe circle collisions on vectors or shapes,- there are alot tuts about those at least the circle collisions.

  4. #4
    Please, Call Me Bob trogdor458's Avatar
    Join Date
    Aug 2006
    Location
    Pensacola, FL
    Posts
    915
    but that doesnt need an entire tut, circle on vector collision is relatively simple

  5. #5
    Senior Member Ray Beez's Avatar
    Join Date
    Jun 2000
    Posts
    2,796
    look up springs.
    then combine the two.

  6. #6
    Banned XareoX's Avatar
    Join Date
    Aug 2006
    Posts
    462
    is there a way to make a bike game vector based ?? because most of them are made with api i think.

  7. #7
    Banned XareoX's Avatar
    Join Date
    Aug 2006
    Posts
    462
    I know there is ones were you can walk up hills and that but when you walk up you stay were you are i need it so you slip down.

  8. #8
    Student
    Join Date
    Apr 2001
    Location
    -
    Posts
    4,756
    @ Xareox:
    by vectors it means that the math behind it (AS) involves vectors- the display or what you see can be something completely different like super-sprites, classic sprites, vectors drawn in Flash itself or the drawing API like you mentioned.
    By doing so it gives you more control on the parts like friction, grip ramps or anything else but you need to know what you are doing

  9. #9
    Banned XareoX's Avatar
    Join Date
    Aug 2006
    Posts
    462
    well is there any tutorials how to make ground using api??

  10. #10
    Student
    Join Date
    Apr 2001
    Location
    -
    Posts
    4,756
    like I said the physics have nothing to do with the drawing-API (dont mix it with the other ones like the bitmap-api)- the drawing api is like turtleGraphics.
    So to draw a ground with that you need a array with the vector coordinates and a loop that draws the surface either as shape or line

  11. #11
    Banned XareoX's Avatar
    Join Date
    Aug 2006
    Posts
    462
    yea i know physics have nothing to do with it but its just good to know how to draw in api thanks.

  12. #12

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

HTML5 Development Center