Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
sighnoceros
Mar 11, 2007
:qq: GOONS ARE MEAN :qq:
So IJ convinced me to give CHIP-8 a shot after the SA Game Dev Challenge so here I am. Last night I went through his Octo docs and went through his Intermediate tutorial and it was pretty helpful.

I have had no previous low-level language or memory management experience, pretty much all of my coding experience is in stuff like VB script or C#.

But today I made a little space shooty thing! http://johnearnest.github.io/Octo/index.html?gist=d0c627c9e8183b2f13e8

I initially had just 1 enemy and was storing their info in the basic... registers?... just as an exercise to get it working. Then I had to do a bunch of conversion to get it working with multiple enemies, but now it should theoretically support however many rows I can fit into the enemydata table.

Now I have to do the same treatment for the player bullets so you can shoot more than once and I will have a nice little basic game. I am also aware I am doing stuff really inefficiently so I need to go back and clean up the enemy update logic so I don't have to load and save each enemy's data multiple times per game loop, among other things.

But yeah, a pretty neat little experiment so far!

sighnoceros fucked around with this message at 06:16 on Aug 4, 2014

Adbot
ADBOT LOVES YOU

sighnoceros
Mar 11, 2007
:qq: GOONS ARE MEAN :qq:
I've finished SPACE DEFENSE!



w/s to move up and down, e to fire. You now have to defend against multiple enemies and can have multiple bullets on screen at once.

It was a pretty fun experiment for only taking a couple days, especially having no experience with this type of programming in the past.

Try it out here: http://johnearnest.github.io/Octo/index.html?gist=6a4a180bb8b94c005410

sighnoceros
Mar 11, 2007
:qq: GOONS ARE MEAN :qq:

HappyHippo posted:

Pretty good, but could you maybe lengthen the pause after you lose? I barely have enough time to see my score, sometimes I miss it.

I can, and did! http://johnearnest.github.io/Octo/index.html?gist=d9007f1d214891c5e748

sighnoceros
Mar 11, 2007
:qq: GOONS ARE MEAN :qq:
WHAT, my post from earlier disappeared. Curse you, forums!

  • Locked thread