Project

General

Profile

Actions

Bug #20

closed

Bob Col(1) not doing anything

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

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

0%

Estimated time:
Affected version:

Related issues 1 (0 open1 closed)

Has duplicate AOZ Studio Beta - Bug #263: Sprite Col Bob ColClosedFrancois Lionet02/28/2020

Actions
Actions #1

Updated by Baptiste Pillot over 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/

Actions #2

Updated by Anonymous over 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)
Actions #3

Updated by Baptiste Pillot over 4 years ago

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

Updated by Baptiste Pillot over 4 years ago

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

Updated by Baptiste Pillot over 4 years ago

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

Updated by Francois Lionet over 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.

Actions #7

Updated by Baptiste Pillot over 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.

Actions #8

Updated by Baptiste Pillot over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF