Actions
Bug #20
closedBob Col(1) not doing anything
Start date:
01/18/2020
Due date:
% Done:
0%
Estimated time:
Affected version:
Actions
Added by Baptiste Pillot almost 5 years ago. Updated over 4 years ago.
0%
In the little shoot-em-up I program I try to detect collisions and tell it to the console of the browser :
https://www.amos2.fr/ide/Amos2/Ide/Program/408
if Bob Col(1) Then { console.log("boom"); }
The program compiles and runs, but I got no collision message when something touches my spaceship.
https://www.amos2.fr/run/tickleman/seu-bob/
Tested Help_74 from the AMOSPro Discs Tutorial : Bob Col(1) do not work here.
Set Rainbow
and Fade
).If Bob Col(1)
Bob Col problem is corrected, but remains several problems when loading a sample bank. They will be corrected later.
Re-tested with a little program (and a little image file resources/images/1.png) :
#splashScreen:false
Bob 1, 20, 20, 1
Bob 2, 24, 24, 1
Bob 3, 100, 100, 1
Print Bob Col(1) ' true
Print Bob Col(3) ' false
Seems goods. I close.
The samble bank problem is a case for another issue.