Jump to content

SlidellMan

Members
  • Content Count

    912
  • Joined

  • Last visited

Posts posted by SlidellMan


  1. I decided to write down some notes in regards to what I have learned over the months.

    1. Be sure to set up what you need.

    2. Be sure to dim your variables, properly plot them, and never dim labels.

    3. '&&' comes in between 'if' and 'then'; ':' always comes after 'then'.

    4. All subroutines must be placed after 'goto mainloop'.


  2. Here's some new progress on an older source file:

     

    I also would like to mention that it took a few minutes to realize that syntax error.

    heofonfir_lucelia_160b_wip.png

    shooting_test.78b.a78 shooting_test.78b.bin shooting_test.78b.list.txt shooting Test 12-18-2020.zip

     

    Quick update: I just added a continue screen routine to my other demo. However, here's the catch:

    --- Unresolved Symbol List
    BREAKPROTECTOFF          0000 ????         (R )
    0.playerX                0000 ????         (R )
    0.titlescreen_loop       0000 ????         (R )
     
       stack allowance: 30 nested subroutines.
       the canary is situated at: $1c1
       873 bytes of ROM space left in the main area.
                 790 bytes of ROM space left in DMA hole 0.
         $1880 to $1fff used as zone memory, allowing 15 display objects per zone.
         2310 bytes left in the 7800basic reserved area.

     

    Vertical Shooter 12-18-2020.zip


  3. It has been over one month since I last touched this, but I'm still confounded on how to get the return to title screen to work upon the Game Over screen. Here's the subroutine:

    gameover_loop
        if lives<1 then gameover_flag=1:clearscreen
        plotchars 'Game Over!' 0 40 16
        if joy0fire then fire_debounce=1
        if !joy0fire then fire_debounce=0
        goto gameover_loop
        if fire_debounce=1 then clearscreen:goto plot

    What also needs to be done:

    -Get the laser power-up working

    -Get the explosions to work properly

    -Get the firing sound effect to work properly

    -Get the Lives and score to display properly


  4. I'm currently writing in a Twin laser power-up for the shooting demo.

    power_up_obtained
        if power_upFlag=1 then 
        if joy0fire && joyposup=1 then twinlaserY=twinlaserY-10 : playsfx sfx_plainlaser
        if joy0fire && joyposdown=1 then twinlaserY=twinlaserY-10 : playsfx sfx_plainlaser
        if joy0fire && joyposleft=1 then twinlaserY=twinlaserY-10 : playsfx sfx_plainlaser
        if joy0fire && joyposright=1 then twinlaserY=twinlaserY-10 : playsfx sfx_plainlaser
        if !joy0fire then twinlaserX=playerX+2:twinlaserY=playerY-8

    No build, just the source files this time.

    vertical_shooting_laser.png

    Vertical Shooter 10-23-2020.zip

    Update: Here's the latest ROMs and list file.

    New_VerticalShooter_Test_sprani.78b.a78 New_VerticalShooter_Test_sprani.78b.bin New_VerticalShooter_Test_sprani.78b.list.txt

    • Like 2
×
×
  • Create New...