Jump to content
IGNORED

My 7800 Vertical Shooter - Heofonfīr


Recommended Posts

Some newer code I wrote:

titleScreenLoop
    restorescreen
    drawscreen
    plotsprite heofonfir_logo_h 0 9 25
    plotsprite heofonfir_logo_e 0 26 25
    plotsprite heofonfir_logo_o 0 42 25
    plotsprite heofonfir_logo_f 0 58 25
    plotsprite heofonfir_logo_o 0 74 25
    plotsprite heofonfir_logo_n 0 90 25
    plotsprite heofonfir_logo_f 0 107 25
    plotsprite heofonfir_logo_i 0 123 25
    plotsprite heofonfir_logo_r 0 137 25
    if joy0fire then clearscreen : goto init
    goto titleScreenLoop

init
    clearscreen
    plotbanner heofonfir_push_fire 0 44 128
    savescreen
    drawscreen
characterSelectLoop
    plotchars 'Select your angel' 0 4 16
    if joy0left then heofonfir_character_select_arrow 
    plotchars "Lucelia Iustitia" 0 16 40
    if joy0right then heofonfir_character_select_arrow 
    plotchars "Aeris Vis" 0 64 40
    if joy0fire then goto level_1 : lives = 3 : score0 = 0
    return

game_over
    game_over_flag = 0
game_over_flag
    if lives<0 then game_over
    plotsprite heofonfir_gameover_g 7 40 56
    plotsprite heofonfir_gameover_a 7 48 56
    plotsprite heofonfir_gameover_m 7 56 56
    plotsprite heofonfir_gameover_e 7 64 56
    plotsprite heofonfir_gameover_o 7 88 56
    plotsprite heofonfir_gameover_v 7 96 56
    plotsprite heofonfir_gameover_e 7 104 56
    plotsprite heofonfir_gameover_r 7 112 56
    goto game_over_loop
    if joy0fire then goto titleScreenLoop

I used those mock up screenshots to give me a good idea on how to plotsprite the letters.

  • Like 2
Link to comment
Share on other sites

In case anyone is wondering, I am still working on this, but due to an issue with my left mouse button's microswitch crapping out, it will take a while. By the way, is anyone here experienced in coding a player select screen?

Edited by SlidellMan
Spelling/grammar mistakes.
Link to comment
Share on other sites

10 hours ago, SlidellMan said:

Thought I would show you what one of the bosses looks like so far. Yes, this boss will be another case of sprite layering.

heofonfir_boss_gold_dragon_WIP.png

Nice! Make sure to check out my tips on TallSprites!

 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...

I know that I haven't updated this in a while, and would like to apologize for a lack of progress reports. To compensate, here's what I have. I still don't have a functioning ROM, and have fixed the incgraphics bugs in one of the Main files. However, I Will Not Give Up on This.

heofonfir_7-6-2020.zip

  • Like 1
Link to comment
Share on other sites

38 minutes ago, SlidellMan said:

I know that I haven't updated this in a while, and would like to apologize for a lack of progress reports. To compensate, here's what I have. I still don't have a functioning ROM, and have fixed the incgraphics bugs in one of the Main files. However, I Will Not Give Up on This.

 

The important thing is what you end up creating, not how many progress reports you posted.

  • Like 4
Link to comment
Share on other sites

Some sound effects I coded:

data sfx_shot
    $10,$10,$01
    $16,$04,$05
    $16,$04,$09
    $16,$04,$0A
    $16,$04,$09
    $0B,$0C,$08
    $09,$0C,$07
    $0A,$04,$06
    $07,$0C,$05
    $06,$04,$04
    $05,$04,$03
    $04,$06,$02
    $00,$06,$01
    $00,$00,$00
end

data sfx_lightning
    $10,$10,$02
    $14,$08,$0A
    $18,$08,$0F
    $05,$08,$0C
    $15,$03,$0A
    $1C,$03,$0F
    $07,$03,$0C
    $10,$06,$06
    $13,$06,$0A
    $03,$06,$08
    $0A,$02,$05
    $10,$02,$09
    $03,$02,$07
    $00,$06,$01
    $00,$00,$00
end

data sfx_fireblast
    $10,$10,$09
    $03,$04,$0A
    $06,$0C,$08
    $09,$04,$0A
    $06,$0C,$08
    $03,$04,$0A
    $06,$0C,$08
    $09,$04,$0A
    $0C,$0C,$08
    $09,$04,$0A
    $0C,$0C,$08
    $0F,$04,$0A
    $06,$0C,$08
    $09,$04,$06
    $03,$0C,$04
    $06,$04,$02
    $03,$0C,$01
    $00,$00,$00
end

data sfx_icicle
    $10,$10,$01
    $15,$07,$09
    $13,$05,$09
    $11,$06,$09
    $0E,$04,$08
    $0C,$06,$07
    $0A,$08,$06
    $09,$07,$05
    $07,$09,$04
    $05,$07,$03
    $03,$04,$02
    $01,$01,$01
    $00,$00,$00
end

data sfx_explosion
    $10,$10,$06
    $03,$10,$0F
    $08,$08,$0E
    $0A,$08,$0D
    $18,$06,$0C
    $14,$06,$0B
    $10,$08,$0A
    $0C,$08,$09
    $09,$06,$08
    $07,$06,$07
    $06,$04,$06
    $05,$04,$05
    $04,$02,$04
    $03,$02,$03
    $02,$02,$02
    $01,$02,$01
    $00,$00,$00
end 

data sfx_laser
    $10,$10,$01
    $10,$08,$01
    $10,$08,$01
    $0D,$08,$01
    $0D,$06,$01
    $0A,$06,$01
    $0A,$06,$01
    $06,$04,$01
    $04,$04,$01
    $02,$04,$01
    $00,$00,$00
end

data sfx_extralife
    $10,$10,$05
    $1F,$03,$0F
    $14,$08,$0F
    $1C,$03,$0E
    $11,$08,$0D
    $19,$03,$0C
    $0D,$08,$0B
    $13,$03,$0A
    $06,$08,$08
    $0E,$03,$07
    $05,$08,$06
    $09,$03,$04
    $03,$08,$03
    $07,$03,$02
    $02,$01,$01
    $00,$00,$00
end 

I would like to thank Mord for helping out with the syntax errors that I didn't even see.

  • Like 1
Link to comment
Share on other sites

My advice would be to start with bite sized chunks of code.

 

Pick a task or an action and the code that standalone. Understand how it works and experiment and then when you feel comfortable and have achieved your goal, add something else. 

 

Trying to create a magnum opus from the get go will be hard work. It's like picking up a paintbrush and deciding to paint the ceiling of the Sistine chapel without any previous paining experience - it's going to be a rough journey and will probably end up being overwhelming :)

 

When I started learning 7800Basic, that was the approach that I took. I started figuring out concepts incrementally, each new little project or piece of code was to learn about a feature or element of the language.

 

I started with things like sprites sprites and figuring out the limitations of banks and blocks. Then I moved the sprites, then I animated them, then I collided them, then I exploded them. Once I was happy I started the next learning chapter, maybe that's reading control inputs and combining that with moving a sprite, or maybe it's tiles and having sprite and tiles working together. Maybe that next part is learning about how logic works in the language, if..then..else, and..or etc and making decision in your code based on conditions.

 

Eventually I strung those learning "chapters" together and started to make code that if you stood back 20 ft and squinted a bit, it looked a bit like a game.

 

The concept here is this : start small and build.

 

7800Basic comes with a bunch of really good examples. Use them and tweak them until they break, figure out why and tweak them more. I learned a huge amount from the examples and experimenting with them.

 

 

  • Like 4
  • Thanks 1
Link to comment
Share on other sites

On 8/11/2020 at 1:48 AM, SlidellMan said:

I know that I haven't updated this in a while, and would like to apologize for a lack of progress reports. To compensate, here's what I have. I still don't have a functioning ROM, and have fixed the incgraphics bugs in one of the Main files. However, I Will Not Give Up on This.

heofonfir_7-6-2020.zip 128.97 kB · 7 downloads

In the zip, which is your current program file is it the V3 one ?

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

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...