Jump to content
IGNORED

Falcon MK X BB


oddemann

Recommended Posts

I am not promising a game, BUT I am playing around. Just getting around the did it hit or not was a issue... "Shit, I need to do that more often, to keep the "programming mindset" from dying!" 😛 hehehe Finally, figuring that CALL COINC had to be inside to loop to work. Ohhh, that stupid computer! ;)

Questions...
I see that the "bullet" continues and comes out on the other side. I guess that is the time it takes to get the message that it is to delete the "bullet", in line 460?
Am I wrong in presuming that to move that hole animation around as a sprite is not possible?

To @SteveB:

  1. "Uppercase Beautifier", I wrote. "Call screen", when beautifying, it only change it to "CALL screen" (ver. v24), Same with xpos, it kept it lower case. Is this how it should work? PS! What about a short cut to that "Beautifier", Ctrl-U? :D
  2. Also... what about if I Export from SXB to XB. What if I could in pref. say to TiCodEd, ALSO copy the text in XP. So I can paste in right into Classic99? (save me some steps).
  3. I made a mistake and put the Characters from 32 and up... (Char page) In Extended Basic, Can I move it to XB256 or Auxiliary
  4. And can I move it from 32 and start it all from some-place higher, like Char 60? I was using Display at and I only got my Char and not numbers. So I wish to move Char above numbers so I can get values from Display at.
  5. "code completion feature" is it gone?
  6. I tested the "animation" function on the Char page, very nice function! Can you also do that with a 4*(8*8) Sprite? PS! I did this animation, first in another program, but your Char page was more useful when I knew how it was supposed to be.

 



 

Spoiler
100 CALL CLEAR
110 CALL SCREEN(2)
120 CALL MAGNIFY(3)
130 REM SPINNING SPACE SHIP
140 CALL CHAR(36,"00071F3F7FFF07020307FF7F3F1F070000C0787C767E7F1F7F7F7E7E7CF8C000")
150 CALL CHAR(40,"00001F3F7FFF07020307FF7F3F1F00000000F87C7E767F1F7F7F7E7EFCF80000")
160 CALL CHAR(44,"0000001F3FFF07020307FF3F1F000000000000F87C7E771F7F7F7EFCF8000000")
170 CALL CHAR(48,"000000000FFF07020307FF0F0000000000000000F87C7E177F7EFCF800000000")
180 CALL CHAR(52,"000000000FFF07020307FF0F0000000000000000F8FC7E1F77FEFCF800000000")
190 CALL CHAR(56,"00000000000FFF0203FF0F00000000000000000000F8FC1FFFF4F80000000000")
200 CALL CHAR(60,"00000000000000FFFF0000000000000000000000000000FFFF00000000000000")
210 CALL CHAR(64,"00000000000FFF0303FF0F00000000000000000000F8FCDFDFF4F80000000000")
220 CALL CHAR(68,"000000000FFF07030307FF0F0000000000000000F8FCDE9FD7DEFCF800000000")
230 CALL CHAR(72,"000000000FFF07030307FF0F0000000000000000F8DC9ED7DFDEDCF800000000")
240 CALL CHAR(76,"0000001F3FFF07030307FF3F1F000000000000F8DC9ED7DFDFDFDEDCF8000000")
250 CALL CHAR(80,"00001F3F7FFF07030307FF7F3F1F00000000F8DC9ED6DFDFDFDFDEDEDCF80000")
260 CALL CHAR(84,"00001F3F7FFF07030307FF7F3F1F00000000F8DC9ED6DFDFDFDFDEDEDCF80000")
270 CALL CHAR(88,"0000000000003078783000000000000000000000000000000000000000000000")
280 CALL CHAR(92,"0000000000003078783000000000000000000000000000000000000000000000")
290 REM PUT ON SCREEN
300 REM Runder 10
310 CALL SPRITE(#3,92,15,92,1)
320 FOR R=1 TO 2
330 DEL=2
340 FOR I=36 TO 84 STEP 4
350 CALL SPRITE(#1,I,16,92,124)
360 FOR Delay=1 TO DEL
370 NEXT Delay
380 NEXT I
390 FOR I=84 TO 36 STEP -4
400 CALL SPRITE(#1,I,5,92,124)
410 FOR Delay=1 TO DEL
420 NEXT Delay
430 NEXT I
440 CALL SPRITE(#2,88,7,92,124,0,-25)
450 CALL COINC(#2,#3,1,C)
460 IF C=-1 THEN CALL DELSPRITE(#2)
470 NEXT R
3000 GOTO 290

 

 

Falcon MK BB 002e.gif

Link to comment
Share on other sites


1. "Uppercase Beautifier", I wrote. "Call screen", when beautifying, it only change it to "CALL screen" (ver. v24), Same with xpos, it kept it lower case. Is this how it should work? PS! What about a short cut to that "Beautifier", Ctrl-U? :D

well, XPOS is not a standard CALL routine and only those are affected beside the keywords. But it works with CALL SCREEN() in my installation of Version 2.4, which I use for the CCombat-Challenge (and not my half-finished V2.5). I will consider adding some short-cuts ...


2. Also... what about if I Export from SXB to XB. What if I could in pref. say to TiCodEd, ALSO copy the text in XP. So I can paste in right into Classic99? (save me some steps)

You can actually skip all the steps. But first, the XB text file to be pasted into Classic99 is always written on the build-process with the ending xb.

image.thumb.png.2979cf999b2055d2f1b9288de1e214e9.png

The next line is more important ... this is the tokenized program, you can write to a FIAD Disk in Classic99 and load from there. I configured the directory C:\Data\TiCodEd\ as DSK5 in Classic99 and can RUN "DSK5.CCOMBAT" directly in Classic99. To do so, you have to go to preferences and configure the "Integration" like:

image.thumb.png.7f4f77b06894c67278886b7c32e4b9ba.png

Then go to Classic99 and configure:

image.thumb.png.7bf7b8846233b255cf56a44accc7ae98.png

With the configured integration you get two additional functions:

 

a) in the Project Page:

image.thumb.png.b27a755212916bf8ce039d325cb84526.png

with "Auto-Run" enabled each successful build will send a key-sequence to Classic99 starting your program. If you change names you may re-generate the commands by deleting them completely and then double-click the editor. If you don't want to run it each time, deselect the Auto-Run and...

 

b) go to the buttom of the Log-Page

image.thumb.png.a4e5c5b5445386ede740bad26150ea84.png

and press either Load, Run or Compile manually (or the key L, R or C).

 

No need for Paste!

 

3. I made a mistake and put the Characters from 32 and up... (Char page) In Extended Basic, Can I move it to XB256 or Auxiliary

Not directly ... you may close TiCodEd and edit the CSET-File manually:

image.png.d1921125544570399e35ec45db4ab918.png

but make a backup first! You can change the char-page by changing the first number (1=XB,2=XB256,3=Aux) and the character-number in char 2-4 and again in 0-xxx. Did I mention to do a backup first?  🙂

It would be difficult to make a GUI for this to edit and I haven't found the time and broad demand to do so.


4. And can I move it from 32 and start it all from some-place higher, like Char 60? I was using Display at and I only got my Char and not numbers. So I wish to move Char above numbers so I can get values from Display at.

See 3.


5. "code completion feature" is it gone?
No .. start typing and press Control-Space, like  VC<Ctrl-Space> will bring VCHAR. But it should bring also the CALL in front which it doesn't right now... I have to check this.

 

6. I tested the "animation" function on the Char page, very nice function! Can you also do that with a 4*(8*8) Sprite? PS! I did this animation, first in another program, but your Char page was more useful when I knew how it was supposed to be.

Yes, just select 1 row and 4 columns like:

image.thumb.png.09c6f51ee972c21112cde2bead5e3be7.png

This works on 1 row and n colums and 2 rows and an even number of columns. 

 

Have fun!

 

Steve


 

  • Like 2
Link to comment
Share on other sites

19 minutes ago, SteveB said:


1. "Uppercase Beautifier", I wrote. "Call screen", when beautifying, it only change it to "CALL screen" (ver. v24), Same with xpos, it kept it lower case. Is this how it should work? PS! What about a short cut to that "Beautifier", Ctrl-U? :D

well, XPOS is not a standard CALL routine and only those are affected beside the keywords. But it works with CALL SCREEN() in my installation of Version 2.4, which I use for the CCombat-Challenge (and not my half-finished V2.5). I will consider adding some short-cuts ...


2. Also... what about if I Export from SXB to XB. What if I could in pref. say to TiCodEd, ALSO copy the text in XP. So I can paste in right into Classic99? (save me some steps)

You can actually skip all the steps. But first, the XB text file to be pasted into Classic99 is always written on the build-process with the ending xb.

image.thumb.png.2979cf999b2055d2f1b9288de1e214e9.png

The next line is more important ... this is the tokenized program, you can write to a FIAD Disk in Classic99 and load from there. I configured the directory C:\Data\TiCodEd\ as DSK5 in Classic99 and can RUN "DSK5.CCOMBAT" directly in Classic99. To do so, you have to go to preferences and configure the "Integration" like:

image.thumb.png.7f4f77b06894c67278886b7c32e4b9ba.png

Then go to Classic99 and configure:

image.thumb.png.7bf7b8846233b255cf56a44accc7ae98.png

With the configured integration you get two additional functions:

 

a) in the Project Page:

image.thumb.png.b27a755212916bf8ce039d325cb84526.png

with "Auto-Run" enabled each successful build will send a key-sequence to Classic99 starting your program. If you change names you may re-generate the commands by deleting them completely and then double-click the editor. If you don't want to run it each time, deselect the Auto-Run and...

 

b) go to the buttom of the Log-Page

image.thumb.png.a4e5c5b5445386ede740bad26150ea84.png

and press either Load, Run or Compile manually (or the key L, R or C).

 

No need for Paste!

 

3. I made a mistake and put the Characters from 32 and up... (Char page) In Extended Basic, Can I move it to XB256 or Auxiliary

Not directly ... you may close TiCodEd and edit the CSET-File manually:

image.png.d1921125544570399e35ec45db4ab918.png

but make a backup first! You can change the char-page by changing the first number (1=XB,2=XB256,3=Aux) and the character-number in char 2-4 and again in 0-xxx. Did I mention to do a backup first?  🙂

It would be difficult to make a GUI for this to edit and I haven't found the time and broad demand to do so.


4. And can I move it from 32 and start it all from some-place higher, like Char 60? I was using Display at and I only got my Char and not numbers. So I wish to move Char above numbers so I can get values from Display at.

See 3.


5. "code completion feature" is it gone?
No .. start typing and press Control-Space, like  VC<Ctrl-Space> will bring VCHAR. But it should bring also the CALL in front which it doesn't right now... I have to check this.

 

6. I tested the "animation" function on the Char page, very nice function! Can you also do that with a 4*(8*8) Sprite? PS! I did this animation, first in another program, but your Char page was more useful when I knew how it was supposed to be.

Yes, just select 1 row and 4 columns like:

image.thumb.png.09c6f51ee972c21112cde2bead5e3be7.png

This works on 1 row and n colums and 2 rows and an even number of columns. 

 

Have fun!

 

Steve


 

Thank you very much!

Link to comment
Share on other sites

2 hours ago, SteveB said:

5. "code completion feature" is it gone?
No .. start typing and press Control-Space, like  VC<Ctrl-Space> will bring VCHAR. But it should bring also the CALL in front which it doesn't right now... I have to check this.

I did this after 2.4 ... so expect an improved code-completion:

image.png.a3a09f65460f5f047c06564731cf131d.png

VC<Ctrl-Space> will bring CALL VCHAR( in the next release.

image.thumb.png.dfa6fbe9798635a3d3a5d74af0b869e3.png

 

I also added CTRL-T for toggling comments and CTRL-U the Uppercase Beautifier.  I have no clue why it is not working for you, I have no problems with V2.4, the EXE dated 2022-10-24. Please check with Help/About if you have the latest version running.

 

 

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...