was8bit 2022-04-05 07:26 (Edited)

Use the control codes to attack or defend...

You are the player on the left...

The code sequences get longer with each level, much like the Simon game does

Fight!.nx | Open in app
2022-04-06 01:27
Fight!.nx | Open in app
2022-04-05 22:37
Fight!.nx | Open in app
2022-04-05 18:25
Fight!.nx | Open in app
2022-04-05 07:35
Fight!.nx | Open in app
2022-04-05 07:26

was8bit 2022-04-05 07:36 (Edited)

The idea will be that actions will occur only with correct button combinations, getting longer with each game level...

Currently a/b for testing

McPepic 2022-04-05 14:24

Good work so far! The sound effects sound really good on this one!

was8bit 2022-04-05 16:24

Thanky :)

GAMELEGEND 2022-04-05 20:12

when it comes to lowres and BASIC I'm a rookie and everytime I look at your code at first I don't really understand what is going on but of course part of being a good programmer is making it where your code can be understood by other programmers so after a little bit of time passes I can kind of understand what is going on and sometimes it's so clever.

I have so much to learn

was8bit 2022-04-05 20:57

Thanks :)

With this game I only had the vision in my mind, how the game looked and played...

Then I added graphics, and slowly added code for each function until I got that function to work...

This is not the best way to code, but currently I have little time or energy left for coding, so I kinda “hack” around with the code until it works the way I want it too...

I also don’t do a good job documenting the code for others to read... as this is a smaller game i can add comments once its finished, mayb clean it up abit, so u can better figure out what’s going on....

was8bit 2022-04-05 21:01

Basically i designed the graphics first... into blocks of 4x4 cell sized sprites... this makes it easier to manipulate the graphics because
1) changing the graphics in a sprite only requires referencing the top left cell of the block
2) contact of sprite with sprite is super easy with HIT command

was8bit 2022-04-05 21:03

As the other graphics were just display only, I made little SUBS to make it easier to put 2x2 blocks of graphics up, also I use math to help calculate things like position and character#s

was8bit 2022-04-05 21:05

I probably ought to clean up the current code before adding the more complicated code that is still needed .... will hopefully get this all done soon :)

was8bit 2022-04-05 21:07

Perhaps the trickiest thing to do is animation and timing of things... if you only animate or do only one thing at a time, then it isn’t an issue.. it’s when you have several things animating and doing all at the same time that it gets tricky..

was8bit 2022-04-05 21:12

For me, I start with one main DO LOOP with one VBL... this means that this loop get executed every 1/60th of a second, or 60 loops per second...

You will notice how when someone in my game gets hit, any fireball in the air pauses while the hit player flashes... i decided that it was an acceptable compromise and left that as is...

Log in to reply.