AOZ Studio official issue tracking system: Issueshttp://support.aoz.studio/http://support.aoz.studio/favicon.ico?15768443862023-03-14T13:57:06ZAOZ Studio official issue tracking system
Redmine AOZ Studio Beta - Bug #1142 (New): PROC command gives Type Mismatch errorhttp://support.aoz.studio/issues/11422023-03-14T13:57:06ZPaul Kitching
<p>Any Proc command gives an error.</p>
<p>proc test<br>
proc test2[x,y]</p>
<p>V1.0 U43</p>
AOZ Studio Beta - Bug #868 (Resolved): Scrolling is backwards in some windows of debuggerhttp://support.aoz.studio/issues/8682021-11-18T18:46:49ZPaul Kitching
<p>It's been fixed in some windows, but the Source Code and Console windows are still backwards. It's very confusing.<br>
I'm not sure about the Stack and Watch windows.</p>
AOZ Studio Beta - Bug #865 (Resolved): 1 pixel bobs don't have collisions detectedhttp://support.aoz.studio/issues/8652021-11-13T14:17:16ZPaul Kitching
<p>I use a 1 pixel bob at the mouse x,y to detect collisions with bobs. This stopped working in Beta 10 and is still the same in Beta 11.<br>
If I make the bob 2x2 pixels collisions work.<br>
Make two images in 1.images. 100.pixel1.png and 101.pixel2.png<br>
The first should be a 1x1 pixel and the second is 2x2<br>
If you press space to change between them, you will only get collisions for the larger one.</p>
<pre>flash off:curs off
ink 17
bar 10,10,10,10
get image 99,10,10,10,10
bob 1,50,50,99
presstime#=timer
size=100
do
if inkey$<>"" and timer-presstimer#>1
add size,1,100 to 101
presstime#=timer
end if
bob 2,x mouse,y mouse,size
if bob col(2)
if col(1)
cls
locate 0,0:print "hit"
end if
else
cls
locate 0,0:print "no collision","bob"+str$(size)
end if
wait vbl
loop
</pre> AOZ Studio Beta - Bug #859 (Resolved): Boolean values not showing in debugger variables windowhttp://support.aoz.studio/issues/8592021-10-31T14:52:54ZPaul Kitching
<p>It's just a blank field instead of saying "True" or "False".</p>
AOZ Studio Beta - Bug #858 (Resolved): Play Audio sometimes playing the wrong audio in the intern...http://support.aoz.studio/issues/8582021-10-30T10:33:18ZPaul Kitching
<p>If I use the same audio number to play a different piece of audio using F2 for the internal player, I often get the previous sound playing, and sometimes over the top of the next one.</p>
<pre>#splashScreen:False
tunes=3
tunenum=1
dim tune$(3)
tune$(1)="One.mp3"
tune$(2)="Two.mp3"
tune$(3)="Three.mp3"
load asset "tunes\"+tune$(tunenum),50
print str$(tunenum),"tunes\"+tune$(tunenum)
play audio 50:audio loop on 50:volume audio 50,90
do
if timer>4
add tunenum,1,1 to tunes
print tunenum
stop audio 50
audio loop off 50
load asset "tunes\"+tune$(tunenum),50
print str$(tunenum),"tunes\"+tune$(tunenum)
play audio 50
audio loop on 50
volume audio 50,90
timer=0
end if
wait vbl
loop
</pre>
<p>When I test this with short samples I usually get a repeated sample, and doing the same in a game using longer tuners I often get the previous tune playing again but it plays the next one at the same time.</p>
<p>This seems to work correctly in a browser.</p>
AOZ Studio Beta - Bug #856 (New): UI Text box hold last char in bufferhttp://support.aoz.studio/issues/8562021-10-24T10:02:30ZPaul Kitching
<p>If I enter some text in a text box, then check for a key press, it will return the last character entered in the text box.</p>
<p>e.g.</p>
<pre>#splashScreen:False
#googleFont:"baloo"
curs off:flash off
global cont
cont=false
UIScreen1
while not cont
wait vbl
wend
do
k$=inkey$
s=scancode
if s<>0 then print s
wait vbl
loop
// ##*AOZUIDesignerGeneratedCode*##
Procedure UIScreen1
// ********************************************************************************
// The contents of this procedure is generated by the UI Designer.
// Do not modify the contents of this procedure with the code editor.
// ********************************************************************************
UI TextBox "UITextBox0", x=10, y=10, width=300, fontName$="baloo"
UI Button "UIButton1", x=10, y=100, width=150, height=50, content$="button", fontName$="baloo", onClick$="PRESS"
End Proc
Procedure PRESS[ID$]
// Add your onClick$ code here
ui cls
cont=true
End Proc
</pre>
<p>A Clear Key after the Wend will fix it, but shouldn't be needed.</p>
AOZ Studio Beta - Bug #830 (Resolved): Scrolling is backwards in debugger windowshttp://support.aoz.studio/issues/8302021-09-19T13:22:06ZPaul Kitching
<p>Wheeling down scrolls up, and up goes down.</p>
AOZ Studio Beta - Bug #813 (New): Problems with actor eventshttp://support.aoz.studio/issues/8132021-08-20T07:26:54ZPaul Kitching
<p>I've been having problems getting the events to work, like dragdrop, etc. Laurant made a short program to test it and got the same problems, here is his program:</p>
<pre>#splashScreen:False
Actor "magic", X=100, Y=100, Image$="magic.png", OnMouse$="CLICK"
do
Wait key
Loop
Procedure CLICK[EVENT$]
If EVENT$="mouseclick" then Print "mouseclick"
If EVENT$="mousedown" then Print "mousedown"
If EVENT$="mouseup" then Print "mouseup"
If EVENT$="mousemove" then Print "mousemove"
If EVENT$="dragdrop" then Print "dragdrop"
//Actor INDEX$, X=DRAGX, Y=DRAGY
End Proc
</pre>
<p>dragdrop is always active as soon as the mouse moves over (without holding a button)<br>
mousedown works when holding a button<br>
mouseup isn't working<br>
mouseclick is triggered when you release the button (I'm not sure how this would be different to mouseup)<br>
mousemove isn't working. I think dragdrop is being triggered instead of this one.</p>
AOZ Studio Beta - Bug #799 (New): minimap isn't aligned properly with codehttp://support.aoz.studio/issues/7992021-07-10T09:11:51ZPaul Kitching
<p>The minimap at the right of the screen has a highlighted area that goes out of line with the program listing. When you are at the bottom of the program, instead of the highlighted area being at the bottom of the screen it has the top of the highlighted area at the bottom, so the rest is off the bottom of the screen. You then can't grab the highlight to move it up and you end up jumping around. If you grab the highlighted area at any time it will also jump to a part that's further down.<br>
It's clearly just putting the top of the highlight at the line that's at the top of the main screen instead of this being a gradual change as you move down the listing.</p>
AOZ Studio Beta - Bug #797 (Feedback): Wait input doesn't check the joystickhttp://support.aoz.studio/issues/7972021-07-03T08:56:27ZPaul Kitching
<p>Wait Input checks the mouse and keyboard, but doesn't check the fire button.</p>
AOZ Studio Beta - Bug #760 (Resolved): Direct mode - Arrays shown flippedhttp://support.aoz.studio/issues/7602021-05-28T19:59:49ZPaul Kitching
<p>If you have an array and view it with the listvars button, the x,y positions are the wrong way round.</p>
<pre>dim test(3,3)
test(0,1)=1
test(1,1)=1
test(3,2)=1
</pre>
<p>shows:</p>
<pre>test( 0-3 ) =
( 0 ) = '0,1,0,0'
( 1 ) = '0,1,0,0'
( 2 ) = '0,0,0,0'
( 3 ) = '0,0,1,0'
</pre>
<p>instead of:</p>
<pre>( 0 ) = '0,0,0,0'
( 1 ) = '1,1,0,0'
( 2 ) = '0,0,0,1'
( 3 ) = '0,0,0,0'
</pre>
<p>It's been diagonally flipped, which makes it complicated when looking at it and trying to work out where things are in the array.</p>
AOZ Studio Beta - Bug #735 (Resolved): Line Input doesn't work when getting array elements.http://support.aoz.studio/issues/7352021-04-23T18:38:51ZPaul Kitching
<p>Line Input only works with simple variables. This gives a value of 0 for the text lines that are trying to go into the array:</p>
<pre>#manifest: "aoz"
#splashScreen:False
cls 0
Open In 1,"datafile"
Line Input #1,Q
print Q
Dim QUESTIONS$(Q,6)
For COUNT=1 To Q
For COUNT2=1 To 6
Line Input #1,QUESTIONS$(COUNT,COUNT2)
print "|";QUESTIONS$(COUNT,COUNT2);"|"
//wait key
Next COUNT2
Next COUNT
Close 1
</pre>
<p>datafile has a number on the first line, then some text on each line below.</p>
AOZ Studio Beta - Bug #431 (In Progress): PUT KEY not workinghttp://support.aoz.studio/issues/4312020-08-04T10:21:45ZPaul Kitching
<p>It doesn't work in either mode. This should type 'test' into the input line for you:</p>
<pre>clear key
put key "test"
input a$
</pre> AOZ Studio Beta - Bug #358 (Resolved): SCROLL leaves previous image when scrolling with transparancyhttp://support.aoz.studio/issues/3582020-04-25T10:23:09ZPaul Kitching
<p>Normally the SCROLL command will scroll the defined area as specified by the DEF SCROLL command, without leaving any evidence of the previous frame before the scroll, but if you SET TRANSPARENT 0, then scroll, the previous pixels are still visible. This smears the scroll area across the screen.</p>
<pre>#manifest: "pc"
#displayWidth:1920
#displayHeight:1080
#fullScreen:true
#splashScreen:false
#fps:false
set transparent 0
def scroll 1,20,20 to 100,400,0,5
ink 6
text 50,50,"test"
do
scroll 1
wait vbl
loop
</pre>
<p>Remove the SET TRANSPARENT 0 line to see how it should work.</p>
<p><img src="http://support.aoz.studio/attachments/download/89/clipboard-202004251321-5phtk.png" alt="" /></p>
AOZ Studio Beta - Bug #249 (In Progress): File saving not workinghttp://support.aoz.studio/issues/2492020-02-23T08:20:12ZPaul Kitching
<p>I can read files, but saving them doesn't work. There is no error message, but the file doesn't seem to go anywhere and can't be read back in.</p>
<pre><code class="text syntaxhl">#manifest:"pc"
#displayWidth:1920
#displayHeight:1080
#fullScreen:true
#splashScreen:false
#fps:false
dim scoretable$(10,2)
for x=1 to 10
scoretable$(x,1)="Empty":scoretable$(x,2)="0"
next x
gosub readfile
for x=1 to 10
print scoretable$(x,1),scoretable$(x,2)
next x
end
readfile:
if exist("highscore.dat")
print "found":wait key
open in 1,"highscore.dat"
for loadrow=1 to 10
input #1,scoretable$(loadrow,1)
input #1,scoretable$(loadrow,2)
next loadrow
close 1
else
print "not found":wait key
gosub writefile
print "Re-run (f5) to load created file."
end if
return
writefile:
open out 1,"highscore.dat"
for saverow=1 to 10
print #1,scoretable$(saverow,1)
print #1,scoretable$(saverow,2)
next saverow
close 1
return
</code></pre>