Register    Login    Forum    FAQ    PinSimDB.org

Board index » Welcome to GoPinball » Side Project




Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: ACTION PIN MOBILE
 Post Posted: Sat May 04, 2019 9:41 am 
Offline
User avatar

Joined: Mon Feb 27, 2012 10:39 am
Posts: 1908
Ok, I have construct the logic behind the balls disposal/regeneration.
Now when a ball touch the entry point of the flippers, a timer of one second activate a function to
bring the ball at a random location at the top.

See it in the link, first post.

_________________
add me to SKYPE : steve.paradis49


Top 
 Profile  
 
 Post subject: Re: ACTION PIN MOBILE
 Post Posted: Sat May 04, 2019 8:42 pm 
Offline

Joined: Mon Jan 27, 2014 12:36 pm
Posts: 2759
Location: Ontario, Canada
You are a magician Steve !


Top 
 Profile  
 
 Post subject: Re: ACTION PIN MOBILE
 Post Posted: Sun May 05, 2019 5:35 am 
Offline
User avatar

Joined: Fri Jul 02, 2010 4:32 am
Posts: 1695
It improves very well. You give me some ideas to try it with three.js / ammo.js... grrrr but I need time, time time !!!

_________________
Image
We need you!
Help us improve the PinSimDB Database.
How to add your table or fill missing information : viewtopic.php?f=72&p=34257#p34257


Top 
 Profile  
 
 Post subject: Re: ACTION PIN MOBILE
 Post Posted: Sun May 05, 2019 8:01 am 
Offline

Joined: Sun Dec 30, 2018 8:17 am
Posts: 68
Location: France
un pinball three.js : assez ancien pas trop optimisé mais "jouable". Permet surtout de voir le code source (non éditable sur le forum car + de 60000 caractères) , et servir comme exemple.

https://cwar.de/pinball/simpleball.html

exemple de physique avec ammo.js :
https://kripken.github.io/ammo.js/examples/webgl_demo_softbody_volume/index.html . j'ai jeté un œil sur le code source pour voir à quoi , il ressemblait...... :shock: :shock: 654 lignes digne de la NASA.... :lol: :lol: ,
l

exemple d'ume table (strike) : éditée par three.js

conjugué avec ammo.js , une tuerie......

un developpeur bresilien ayant déja une grosse experience des pinball java 2 et 3d (code source).

roller pinball (1984 msx) version java 3d :
https://github.com/leonardo-ono/JavaRollerBall3D


You do not have the required permissions to view the files attached to this post.


Top 
 Profile  
 
 Post subject: Re: ACTION PIN MOBILE
 Post Posted: Sun May 05, 2019 5:08 pm 
Offline
User avatar

Joined: Mon Feb 27, 2012 10:39 am
Posts: 1908
Thx for all the data backup.

Script update for now, A lot of clean up. I have clamped velocity of the balls to a MAX speed of 20px per second. because sometime multiple collisions at the same time tend to build up speed and the balls were ejected out of the table.

Also left and right lane : invisible sensors now create friction so the balls are slowed down toward the flippers.

The text box on the right are just to monitor the velocity. @backup you can watch more data in the console.log.

_________________
add me to SKYPE : steve.paradis49


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2, 3

Board index » Welcome to GoPinball » Side Project


Who is online

Users browsing this forum: No registered users and 2 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to: