Browse Search Popular Register Upload Rules User list Login:
Search:
Mouse Controlled Car for tutorial

Image:
screenshot of the scene

Author: Niffirg1

Group: Default

Filesize: 59.25 kB

Date added: 2009-09-26

Rating: 6.1

Downloads: 1331

Views: 1900

Comments: 3

Ratings: 3

Times favored: 0

Made with: Algodoo before v1.8.5

Tags:

Scene tag

A guy asked me about mouse control on one of my tutorials so i created this to help clear somethings up.
Here it isthe tutorial- Custom Variables, Key binds,If Statements, and Mouse Control
Last edited at 2009/09/26 04:25:38 by Niffirg1
Please log in to rate this scene
edit
Similar scenes
Title: Mouse Controlled Arm Example
Rating: 5
Filesize: 39.4 kB
Downloads: 682
Comments: 2
Ratings: 1
Date added: 2012/08/30 01:44:26
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Mouse Controlled Sniper Game
Rating: 5
Filesize: 149.36 kB
Downloads: 1306
Comments: 13
Ratings: 1
Date added: 2010/12/16 17:43:06
Made with: Phun
Rating: rated 5
download
Title: First Mouse Controlled Computer Ever! - AHOX Mouse controlled computer
Rating: 3.6875
Filesize: 359.16 kB
Downloads: 2257
Comments: 10
Ratings: 10
Date added: 2009/11/15 13:57:09
Made with: Algodoo before v1.8.5
Rating: rated 3.7
download
Title: TURBO TANK mouse controlled
Rating: 5
Filesize: 0.86 MB
Downloads: 554
Comments: 0
Ratings: 1
Date added: 2010/06/16 18:35:49
Made with: Algodoo before v1.8.5
Rating: rated 5
download
Title: Apache with Mouse Controlled Canon
Rating: 6.3636
Filesize: 282.61 kB
Downloads: 2018
Comments: 9
Ratings: 5
Date added: 2010/12/22 10:23:30
Made with: Phun
Rating: rated 6.4
download
Title: Mouse Controlled Crane V1.2
Rating: 5
Filesize: 32.98 kB
Downloads: 1754
Comments: 2
Ratings: 1
Date added: 2012/01/19 17:25:25
Made with: Algodoo v2.0.2 Edu
Rating: rated 5
download
Why not store all of the info in the oncollide, not in the hinge speed? Also, lasers make much better refreshers, but if you cannot, thats ok:).
This is the one i used, i put the code below into the oncollide, and scene.my.XXXX into the hinger of a car:) Then just added *X to suit how big the wheels were

(e)=>{scene.my.XXXX = (app.mousepos(0) - e.pos(0))} and then for the hinges, just put scene.my.XXXX:)
Well i wanted to make i t Phun safe just in case anyone that is reasing the tutorial doesnt have Algodoo
how do you make it so it follows when you move your mouse up and down?:s