What's new in Panoramic Editor 0.9.25
Jun 16, 2014
- Camera rotation: 5 new keywords
- CAM_PITCH A : rotates the camera around its X-axis by the angle A (degrees)
- CAM_TURN A : rotates the camera around its Y-axis by the angle A (degrees)
- CAM_ROLL A : rotates the camera around its Z-axis by the angle A (degrees)
- CAM_MOVE D : moves the camera by the distance D in its pointing direction
- POINT_OBJECT N : points the camera to the 3D object number N
- System Objects: 3 new keywords
- PANEL N : creates a system object PANEL and allocates it number N as reference
- HVIEWER N : creates a system object HVIEWER and allocates it number N as reference
- CARET_POSITION(N) : returns the caret position of the system object number N
- String Functions: 3 new keywords
- REVERSE$(S) : returns the string in which the character order of S is reversed
- INSTR_POS(S,C,P) : returns the position of string C in the string S from position P
- RIGHT_POS$(S,P) : returns a string made with string S from position P
New in Panoramic Editor 0.9.25i4 (Oct 16, 2013)
- 2 new orders for sprites:
- SPRITE_CREATE_SHOW: after this command a SPRITE is not visible when it is created
- SPRITE_CREATE_HIDE: after this command a SPRITE is visible when it is created
- Viewing a SPRITE when it is created is the default option.
- A new order for the objects:
- CARET_POSITION(N): returns the cursor position (in characters) of the system object number N
- Attention for the moment, this feature is only valid for EDIT
- Bug fixes:
- FILE_FIND_FIRST$ sometimes referred the third file instead of the first
New in Panoramic Editor 0.9.24 (Oct 14, 2013)
- GRID: 7 new keywords
- GRID_COLUMN_INSERT N,C : inserts a column in position C in the GRID number N
- GRID_ROW_INSERT N,R : inserts a row in position R in the GRID number N
- GRID_ROW_DELETE N,R : deletes row R in GRID number N
- GRID_COLUMN_DELETE N,C : deletes column C in GRID number N
- GRID_LOAD N,F: loads the file F into the GRID number N
- GRID_SAVE N,R,C,F : saves the GRID number N into the file F, from row 1 to R and from column 1 to C
- GRID_CLEAR N,R,C : clears cells of GRID number N from row 1 to R and from column 1 to C
- Subroutine : 4 new keywords
- SUB : begins a subroutine
- END_SUB : ends a subroutine
- EXIT_SUB : quits a subroutine whithout executing END_SUB
- DIM_LOCAL : defines one or several variables inside a subroutine
- Memory Reading/Writing: 2 new keywords
- PEEK(A) : returns the content (byte from 0 to 255) of address A
- POKE A,V : places the value V (byte from 0 to 255) at address A
- Number of particular system objects: 6 new keywords
- NUMBER_PRINT_TARGET : returns the system object number which is the print "target
- NUMBER_2D_TARGET : returns the system object number which is the 2D commands "target"
- NUMBER_COMMAND_TARGET : returns the system object number which is the commands "target"
- NUMBER_INPUT_SOURCE : returns the system object number which is the input "source"
- NUMBER_SPRITE_TARGET : returns the system object number which is the SPRITE commands "target"
- NUMBER_3D_TARGET : returns the system object number which is the 3D commands "target"
- Files: 3 new keywords
- FILE_FILEBIN_READ(N) : returns one byte read from the binary file number N
- FILEBIN_HEXA_READ$(N,C) : returns C bytes read from the binary file number N
- FILE_READLN$(N) : returns the current line of the text file number N
- SPRITE: 2 new keywords
- SPRITE_SHOW_ALL : makes visible all the SPRITEs
- SPRITE_HIDE_ALL : makes visible all the SPRITEs
New in Panoramic Editor 0.9.23 (Oct 14, 2013)
- Events: 4 new keywords
- ON_DOUBLE_CLICK N,L : executes the program from label L when the system object number N is double-clicked
- OFF_DOUBLE_CLICK N : ignores the event "double click" when the system object number N is double-clicked
- DOUBLE_CLICKED(N) : returns 1 if the system object number N is double-clicked, 0 otherwise
- NUMBER_DOUBLE_CLICK : returns the number of the last double-clicked object
- GRID: 2 new keywords
- GRID_X_TO_COLUMN(N,X) : returns the column number of the GRID number N from the coordinate X
- GRID_Y_TO_ROW(N,Y) : returns the row number of the GRID number N from the coordinate Y
- FORM: 3 new keywords
- MINIMIZE N : minimizes the size of the FORM number N
- MAXIMIZE N : maximizes the size of the FORM number N
- NORMAL N : comes back to the size of the FORM number N before a command MINIMIZE or MAXIMIZE
- Misc: 4 new keywords
- HANDLE_FORM("titre") : returns the handle of a FORM (PANORAMIC or not) the title (caption) of which is known
- PAUSE N : waits N milliseconds, but remains active
- APPLICATION_TITLE T$ : set a title to the application and to the MESSAGE windows
- FREE Variable : releases the variable
- The system object number are inside 1 to 9999
- Improvements:
- CLIPBOARD_COPY and CLIPBOARD_PASTE can be used with system objects PICTURE et IMAGE
- FONT_SIZE : the size is not limited to 30 any longer
- COLOR can be used with system objects SPIN, GRID, CONTAINER, SCENE2D, CONTAINER_OPTION
- Bugs fixed:
- in the commands 3D_PLANE, 3D_HIDE, 3D_SHOW, 3D_TRANSPARENT, 3D_MOVE, 3D_LOAD_TEXTURE, 3D_LOAD_TEXTURE_TOP, 3D_LOAD_TEXTURE_BACK, 3D_LOAD_TEXTURE_LEFT, 3D_LOAD_TEXTURE_FRONT, 3D_LOAD_TEXTURE_RIGHT, 3D_LOAD_TEXTURE_BOTTOM
- in the functions O3D_X_POSITION(), O3D_Y_POSITION(), O3D_Z_POSITION(), O3D_X_ROTATE(), O3D_Y_ROTATE(), O3D_Z_ROTATE(), O3D_X_SCALE(), O3D_Y_SCALE(), O3D_Z_SCALE(), OBJECT_EXISTS(N), OBJECT_TYPE(N), O3D_OBJECT_EXISTS(N), O3D_OBJECT_TYPE(N), SPRITE_EXISTS(N), TEXT_WIDTH(N,T)
New in Panoramic Editor 0.9.22 (Oct 14, 2013)
- Files: 14 new keywords
- FILE_EXTRACT_DISK$(F) : returns a disk name from F
- FILE_EXTRACT_NAME$(F) : returns a file name from F
- FILE_EXTRACT_PATH$(F) : returns a file path from F
- FILE_EXTRACT_EXTENSION$(F) : returns a file extension from F
- FILE_READ_ONLY F : sets the attribute "read only" of the file F
- FILE_READ_ONLY_OFF F : cancels the attribute "read only" of the file F
- FILE_HIDE F : sets the attribute "hide" of the file F
- FILE_HIDE_OFF F : cancels the attribute "hide" of the file F
- FILE_SYSTEM F : sets the attribute "system" of the file F
- FILE_SYSTEM_OFF F : cancels the attribute "system" of the file F
- FILE_ARCHIVE F : sets the attribute "archive" of the file F
- FILE_ARCHIVE_OFF F : cancels the attribute "archive" of the file F
- FILE_COPY F1,F2 : copies the existing file F1 to the new file F2
- FILE_MOVE F1,F2 : moves the existing file F1 to the new file F2
- System Objects: 5 new keywords
- OBJECT_EXISTS(N) : returns 1 if the system object number N exists, 0 otherwise
- OBJECT_PARENT(N) : returns the parent number of the system object number N
- OBJECT_TYPE(N) : returns the type of the system object number N
- TEXT_HEIGHT(T,N) : returns the height of the text T if it is displayed by the system object number N
- TEXT_WIDTH(T,N) : returns the width of the text T if it is displayed by the system object number N
- 3D Objects: 2 new keywords
- O3D_OBJECT_EXISTS(N) : returns 1 if the 3D object number N exists, 0 otherwise
- O3D_OBJECT_TYPE() : returns the type of the 3D object number N
- SPRITE: 1 new keyword
- SPRITE_EXISTS(N) : returns 1 if the SPRITE number N exists, 0 otherwise
- System: 7 new keywords
- DISK_EXISTS(D) : returns 1 if the disk D exists, 0 otherwise
- DISK_KILO_FREE(D) : returns the free space on the disk D
- DISK_KILO_SIZE(D) : returns the size if disk D
- BEEP_ERROR : generates the error system sound
- BEEP_EXCLAMATION : generates the exclamation system sound
- BEEP_INFORMATION : generates the information system sound
- BEEP_QUESTION : generates the question system sound
- Mathematics: 6 new keywords
- MAX(X,Y) : returns the greater of X and Y
- MIN(X,Y) : returns the lesser of X and Y
- MOD(X,Y) : returns the modulo of X and Y
- HEX(V$) : returns a decimal value from a hexadecimal value V$
- HEX$(V) : returns a hexadecimal value from a decimal value V
- WRAP_VALUE(A) : returns a value that wraps the angle A between 0 and 360
New in Panoramic Editor 0.9.21 (Oct 14, 2013)
- 6 keywords for the system object GRID:
- GRID_COLUMN_SIZING_ON N : the columns of the GRID number N can be manually resized.
- GRID_COLUMN_SIZING_OFF N : the columns of the GRID number N cannot be manually resized.
- GRID_ONE_COLUMN_WIDTH N,C,V : set the width of the column number C at V pixels in the GRID number N.
- GRID_ONE_ROW_HEIGHT N,R,V : set the height of the row number R at V pixels in the GRID number N.
- GRID_ROW_SIZING_ON N: the rows of the GRID number N can be manually resized.
- GRID_ROW_SIZING_OFF N : the rows of the GRID number N cannot be manually resized.
- 5 keywords for a new system object IMAGE:
- IMAGE N : creates a system object IMAGE and allocates it number N as reference.
- SPRITE_IMAGE_LOAD N1,N2 : loads the picture from the object number N2 to the SPRITE number N1.
- 3D_IMAGE_TEXTURE N1,N2 : applies to the 3D object number N1 the texture from the IMAGE object number N2.
- 2D_IMAGE_COPY N,X1,Y1,X2,Y2 : copies the area defined by the points (X1,Y1) and (X2,Y2) to the IMAGE number N.
- 2D_IMAGE_PASTE N,X,Y : pastes the picture from the IMAGE number N to the point (X,Y).
- 2 keywords for the mode TRACE:
- TRACE_ON F : starts the mode trace and creates the text file F.
- TRACE_OFF : stops the mode trace and closes the text file.
- 1 keyword for the new system object CONTAINER:
- CONTAINER N : creates a system object CONTAINER and allocates it number N as reference.
- 4 misc keywords:
- TIMER_OFF_ALL : makes inactive all the system objects of type TIMER.
- NUMBER_CURRENT_LINE : returns the number of current line.
- MIDI_INSTRUMENT N : the used MIDI instrument is the instrument number N.
- OFF_CLOSE N : ignores the event handler "close" when the system object number N (FORM) is closed.
New in Panoramic Editor 0.9.20 (Oct 14, 2013)
- 10 keywords for a new system object GRID:
- GRID N : creates the GRID number N.
- GRID_COLUMN N,C : set the number of columns of the GRID number N.
- GRID_COLUMN_FIXED N,F : set the number of fixed columns of the GRID number N.
- GRID_COLUMN_WIDTH N,W : set the column width of the GRID number N.
- GRID_RAW N,R : set the number of raws of the GRID number N.
- GRID_RAW_HEIGHT N,H : set the raw height of the GRID number N.
- GRID_RAW_FIXED N,F : set the number of fixed raws of the GRID number N.
- GRID_FIXED_COLOR N,R,G,B : set the fixed part color (R,G,B) of the GRID number N.
- GRID_WRITE N,R,C,S : writes the value of S into the cell (R,C) of the GRID number N.
- GRID_READ$(N,R,C) : returns the content of the cell (R,C) of the GRID number N.
- 4 system variables for the events:
- NUMBER_CLICK : system variable, number of the last clicked object (-1 when initiated).
- NUMBER_CHANGE : system variable, number of the last changed object (-1 when initiated).
- NUMBER_KEY_UP : system variable, number of the last object on which a key is released (-1 when initiated).
- NUMBER_KEY_DOWN : system variable, number of the last object on which a key is pressed (-1 when initiated).
- 4 functions for the system objects:
- ACTIVE(N) : returns 1 if the system object number N is active, 0 otherwise.
- INACTIVE(N) : returns 1 if the system object number N is inactive, 0 otherwise.
- HIDE(N) : returns 1 if the system object number N is hidden, 0 otherwise.
- SHOW(N) : returns 1 if the system object number N is visible, 0 otherwise.
- 1 command for OPEN_DIALOG and SAVE_DIALOG:
- DIR_DIALOG N,D : the current directory of the system object number N becomes the directory D.
- 1 command for FORM:
- ON_CLOSE N,L : executes the program from label L when the system object number N (FORM) is closed.
- 6 commands for the 3D objects:
- 3D_ROTATE N,X,Y,Z : rotates the 3D object number N around its axes.
- 3D_SCALE N,CX,CY,CZ : shrinks or stretches the 3D object number N along its axes.
- 3D_POSITION N,X,Y,Z : set the position in (X,Y,Z) of the 3D object number N.
- 3D_PLANE N : creates a plane 3D object and gives it the number N as reference.
- 3D_U_TILE N,T : set the tile number on U-coordinate of the 3D_PLANE number N.
- 3D_V_TILE N,T : set the tile number on V-coordinate of the 3D_PLANE number N.
- 13 commands for the 2D drawing:
- 2D_FLOOD X,Y,R,G,B : paints a surface from a point.
- 2D_PEN_DOT : set the drawing style (pen): series of dots.
- 2D_PEN_DASH : set the drawing style (pen): series of dashes.
- 2D_PEN_SOLID : set the drawing style (pen): solid.
- 2D_PEN_DASH_DOT : set the drawing style (pen): alternating dashes and dots.
- 2D_PEN_DASH_DOT_DOT : set the drawing style (pen): series of dash-dot-dot combinations.
- 2D_FILL_SOLID : set the filling pattern of figures: solid.
- 2D_FILL_CROSS : set the filling pattern of figures: crossed lines.
- 2D_FILL_VERTICAL : set the filling pattern of figures: vertical lines.
- 2D_FILL_HORIZONTAL : set the filling pattern of figures: horizontal lines.
- 2D_FILL_DIAGONAL_CROSS : set the filling pattern of figures: diagonal crossed lines.
- 2D_FILL_DIAGONAL_DOWN : set the filling pattern of figures: diagonal down lines.
- 2D_FILL_DIAGONAL_UP : set the filling pattern of figures: diagonal up lines.
- 6 commands for the collisions:
- 3D_COLLISION_AS_SPHERE N : for the collisions, the 3d object number N is defined by its bounding sphere.
- 3D_COLLISION_AS_CUBE N : for the collisions, the 3D object number N is defined by a bounding axis-aligned "cube".
- 3D_COLLISION_AS_ELLIPSOID N : for the collisions, the 3D object number N is defined by its bounding axis-aligned ellipsoid.
- 3D_COLLISION_AS_POINT N : for the collisions, the 3D object number N is punctual.
- 3D_COLLISION_AS_FACES N : for the collisions, the 3D object number uses its faces.
- O3D_COLLISION(N1,N2) : returns 1 if the 3D objects number N1 and N2 collide, 0 otherwise.
- 7 commands for SKYBOX:
- 3D_LOAD_TEXTURE_BOTTOM N,F : applies to the bottom face of the object 3D_SKYBOX number N the texture in the file F.
- 3D_LOAD_TEXTURE_FRONT N,F : applies to the front face of the object 3D_SKYBOX number N the texture in the file F.
- 3D_LOAD_TEXTURE_RIGHT N,F : applies to the right face of the object 3D_SKYBOX number N the texture in the file F.
- 3D_LOAD_TEXTURE_BACK N,F : applies to the back face of the object 3D_SKYBOX number N the texture in the file F.
- 3D_LOAD_TEXTURE_LEFT N,F : applies to the left face of the object 3D_SKYBOX number N the texture in the file F.
- 3D_LOAD_TEXTURE_TOP N,F : applies to the top face of the object 3D_SKYBOX number N the texture in the file F.
- 3D_SKYBOX N : creates a SKYBOX and gives it the number N as reference.
- 5 commands for the fog:
- FOG_ON : starts the fog effect in the 3D target object (SCENE3D).
- FOG_OFF : stops the fog effect in the 3D target object (SCENE3D).
- FOG_COLOR R,G,B : set the fog color in the 3D target object (SCENE3D).
- FOG_DISTANCE_MIN D : set the fog minimum distance in the 3D target object (SCENE3D).
- FOG_DISTANCE_MAX D : set the fog maximum distance in the 3D target object (SCENE3D).
- 2 functions to test variable and label:
- VARIABLE(V$) : returns 1 if V$ represents a defined variable, 0 otherwise.
- LABEL(V$) : returns 1 if V$ represents an existing LABEL, 0 otherwise.
- Bugs fixed:
- LOAD_FILE on SOUND.
- print "f(";a$
- FULL_SPACE was inactive on PICTURE