Spidey vs Doc Ock

Basic and Machine Language

Moderator: Moderators

User avatar
darkatx
Vic 20 Afficionado
Posts: 471
Joined: Wed Feb 04, 2009 2:17 pm
Location: Canada

Spidey vs Doc Ock

Post by darkatx »

I haven't programmed a Basic game in over 20 years! I tried to conserve space by shying away from custom graphics and just using what I got but I went overboard and ran out of memory...any tips on tight Basic RAM code would be most welcome ;)

Here's what I got so far...

Image

Image

I think I might actually have a extremely limited game for release soon. :roll:
Learning all the time... :)
User avatar
Jeff-20
Denial Founder
Posts: 5759
Joined: Wed Dec 31, 1969 6:00 pm

Post by Jeff-20 »

The title had me, but the screenshots looks unimaginably fun! C'mon, the statue of liberty?? hahaha

Why haven't there been more comic book games?!
High Scores, Links, and Jeff's Basic Games page.
Boray
Musical Smurf
Posts: 4064
Joined: Mon May 03, 2004 10:47 am

Post by Boray »

PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
User avatar
Witzo
Vic 20 Afficionado
Posts: 381
Joined: Thu Dec 01, 2011 9:14 am
Location: The Hague

Post by Witzo »

Despite the blocky graphics, that looks remarkably dynamic!
User avatar
Muzz73
Vic 20 Hobbyist
Posts: 141
Joined: Thu May 03, 2012 12:12 pm
Location: Farmersville, CA,
Occupation: Consultant

Post by Muzz73 »

Looks fun! Keep us posted!
BCNU,
Louis
User avatar
darkatx
Vic 20 Afficionado
Posts: 471
Joined: Wed Feb 04, 2009 2:17 pm
Location: Canada

Post by darkatx »

Thanks everyone and Thanks again for the tips Boray :D
Some of it I already figured out but stuffing all my subroutines to the top made perfect sense! I have over 200 bytes to play with now...still not finished tightening the code yet but it should be enough to get the battle damage in and maybe add back in some features I took out.

EDIT - did some cheap compression on my data statements and moved most everything up under line 100...have almost 350 bytes now. :)
Learning all the time... :)
User avatar
Schema
factor
Posts: 1430
Joined: Tue Mar 23, 2004 7:07 am
Website: http://www.jammingsignal.com
Location: Toronto, Ontario

Post by Schema »

Love the screenshots. Well done, can't wait to try it.
Boray
Musical Smurf
Posts: 4064
Joined: Mon May 03, 2004 10:47 am

Post by Boray »

Why not use a ram expansion instead of taking things out?
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
User avatar
darkatx
Vic 20 Afficionado
Posts: 471
Joined: Wed Feb 04, 2009 2:17 pm
Location: Canada

Post by darkatx »

Boray wrote:Why not use a ram expansion instead of taking things out?
If I do that then I would end of making custom characters and would start using ML and defeating the purpose of my personal challenge. Also, I only took out narrative and a wall crawling feature that I plan to squeeze back in there now. ;)

Don't get me wrong, I am entertaining the idea - I'd probably end up using RHurst SSSprites utility for sure. It would make this turn based mini into a full blown animated, arcade ML beast! I was working on something else though...this was just a side project.
Learning all the time... :)
User avatar
Jeff-20
Denial Founder
Posts: 5759
Joined: Wed Dec 31, 1969 6:00 pm

Post by Jeff-20 »

Choosing not to use memory expansion is a design choice just like choosing to use a VIC 20. I like the look of your game as it is! Something is very fun about using the VIC's built-in character set.
High Scores, Links, and Jeff's Basic Games page.
User avatar
RobertBe
Vic 20 Elite
Posts: 2312
Joined: Sat Jul 14, 2007 2:48 pm

Post by RobertBe »

It looks like a cute game.

Truly,
Robert Bernardo
Fresno Commodore User Group
http://videocam.net.au/fcug
User avatar
darkatx
Vic 20 Afficionado
Posts: 471
Joined: Wed Feb 04, 2009 2:17 pm
Location: Canada

Post by darkatx »

I've caved in...I'm going to have to use memory expansion. I finished the game but it ain't close to done :P
Learning all the time... :)
wimoos
Vic 20 Afficionado
Posts: 347
Joined: Tue Apr 14, 2009 8:15 am
Website: http://wimbasic.webs.com
Location: Netherlands
Occupation: farmer

use basedit

Post by wimoos »

Try basedit as a development tool.
VICE; selfwritten 65asmgen; tasm; maintainer of WimBasic
User avatar
darkatx
Vic 20 Afficionado
Posts: 471
Joined: Wed Feb 04, 2009 2:17 pm
Location: Canada

Re: use basedit

Post by darkatx »

wimoos wrote:Try basedit as a development tool.
What a neat tool :D
Thanks!!!

I've done as much as I can with what I have - and its playable but nowhere near enjoyable. :(

I have animated swinging, webshots, battle damage and even a tiny death scene but no narrative, wall crawling and worst of all no sound. So as it stands now its a very bare bones game.

I'm switching hats now and will be slowly swapping out my Basic subroutines for ML. My main goal was to make as complete a game as possible on the unexpanded Vic using the base character set as my first choice. I knew it was going to be challenging...oh well. :roll:

Image

EDIT - Wow, this BasEdit tool is pretty powerful stuff! I have some more room to play with now (removed a load of variables) and dare I say it - I had to add for/next loops to slow some Basic routines down :shock:
Learning all the time... :)
RJBowman
Vic 20 Enthusiast
Posts: 198
Joined: Tue Oct 25, 2011 7:50 pm

Post by RJBowman »

What's eating up all the memory?
Post Reply