Project

General

Profile

Actions

Bug #125

closed

Rain Command

Added by Nick Morison over 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
02/05/2020
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

Not sure if it's been implemented yet, but the rain command isn't working (produces a non dimensionned array error):

#manifest:"amiga"
#fullScreen:true
#splashScreen:false

set rainbow 0,0,200,"","",""
for y=0 to 200
  rain(0,y)=y // Aoz thinks this should be an array. 
next
rainbow 1,0,40,255
wait key
Actions #1

Updated by Francois Lionet over 4 years ago

  • Status changed from New to Resolved
  • Target version set to 0.9.5

Fixed!

Actions #2

Updated by Baptiste Pillot over 4 years ago

  • Description updated (diff)
  • Status changed from Resolved to Feedback
Uncaught TypeError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': Value is not of type 'long'.
    at Rainbow.render (v1_0_rainbows.js:94)
    at Renderer.render (renderer.js:478)
    at doUpdate (aoz.js:745)

Not working.

Actions #3

Updated by Francois Lionet over 4 years ago

  • Status changed from Feedback to Resolved
  • Target version changed from 0.9.5 to 0.9.6.1

Fixed! Several problems here:
In your demo, there was a mistake, you were accessing rainbow 1 instead of 0. The rainbow was defined but not with the display information and crashed.
Also problems in error reporting of "rainbow not defined"...

Actions #4

Updated by Brian Flanagan almost 4 years ago

  • Status changed from Resolved to Closed

The "Array Not Dimensioned" error has been corrected, however, the Rain command has other problems.
re-tested in 0.9.9.4 RC1

OTHER PROBLEMS STILL EXIST:
The value for Rain(n,y) is incorrectly limited to 0-255. The full color should be allowed. (0-$FFF for Amiga and 0-$FFFFFF for AOZ)

Also, the rainbow lines are offset. (Opening new tickets for these issues.)

Actions

Also available in: Atom PDF