Project

General

Profile

Bug #20

Bob Col(1) not doing anything

Added by Baptiste Pillot about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
01/18/2020
Due date:
% Done:

0%

Estimated time:
Affected version:

Related issues

Has duplicate AOZ Studio Beta - Bug #263: Sprite Col Bob ColClosed02/28/2020Francois Lionet

Actions
#1

Updated by Baptiste Pillot about 4 years ago

  • Assignee set to Francois Lionet
  • Affected version set to 0.9.2.6

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/

#2

Updated by Anonymous about 4 years ago

Tested Help_74 from the AMOSPro Discs Tutorial : Bob Col(1) do not work here.

  • To run the program, I commented the lines 166 and 167 that do not compile (Set Rainbow and Fade).
  • The code compiles, but crashes with a "Magician Meditation" : Internal error at line: 186, columns: 4.
  • The js error : "Cannot read property 'bobCol' of undefined into aoz.js line 417.
  • The line 186 is the one that contains If Bob Col(1)
#3

Updated by Baptiste Pillot about 4 years ago

  • Related to Bug #263: Sprite Col Bob Col added
#4

Updated by Baptiste Pillot about 4 years ago

  • Related to deleted (Bug #263: Sprite Col Bob Col)
#5

Updated by Baptiste Pillot about 4 years ago

  • Has duplicate Bug #263: Sprite Col Bob Col added
#6

Updated by Francois Lionet about 4 years ago

  • Status changed from New to Feedback
  • Target version set to 0.9.7

Bob Col problem is corrected, but remains several problems when loading a sample bank. They will be corrected later.

#7

Updated by Baptiste Pillot about 4 years ago

  • Status changed from Feedback to Resolved

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.

#8

Updated by Baptiste Pillot about 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF