Since I only had a VIC20, my only basis of comparison was against videogames and cartridges (Vic Avenger, Super Alien, Jupiter Lander). I couldn't get fast and smooth motion with BASIC; my unsophisticated childish programming skill level didn't help.
Anyway, I spent much of last night struggling with code for the bullets...I really am rusty.
Game speed in basic
Moderator: Moderators
-
- Omega Star Commander
- Posts: 1371
- Joined: Thu Jan 31, 2008 2:12 pm
- Website: https://robert.hurst-ri.us
- Location: Providence, RI
- Occupation: Tech & Innovation
Write your game using machine language with a modern assembler. Try something simple to start with, then step up and make it hires with some software sprites. You will not be disappointed, and you will be amazed how quickly you can learn 6502 ML. Ask Ghislain how well his recent game project went.
Jeff-20 here writes excellent games in BASIC for unexpanded VICs; but having robots and bullets are going to be too much animation for BASIC -- unless you plan on hitting ALT-W in VICE.
Jeff-20 here writes excellent games in BASIC for unexpanded VICs; but having robots and bullets are going to be too much animation for BASIC -- unless you plan on hitting ALT-W in VICE.
Any technology distinguishable from magic is insufficiently advanced.
https://robert.hurst-ri.us/rob/retrocomputing
https://robert.hurst-ri.us/rob/retrocomputing
- Mike
- Herr VC
- Posts: 4845
- Joined: Wed Dec 01, 2004 1:57 pm
- Location: Munich, Germany
- Occupation: electrical engineer
You might check out my version of TRON lightcycles first.IsaacKuo wrote:I couldn't get fast ...
With BASIC, pixel-wise motion is quite difficult, to say the least. Usually the farthest you get is remembering character, and colour code beneath your player, foe, or "missile" character - and moving these objects character-wise one step in every iteration of the game main loop ...... and smooth motion with BASIC; ...
... as I had done in this version of Moon Patrol I wrote several years ago.my unsophisticated childish programming skill level didn't help.
Anyway, I spent much of last night struggling with code for the bullets...I really am rusty.
Both games run on an unexpanded VIC-20, and are written in pure CBM BASIC.
Last edited by Mike on Thu Aug 06, 2009 3:50 am, edited 1 time in total.
in regards to the tron light cycles - very topical with the new movie in the works - http://en.wikipedia.org/wiki/Tron_LegacyMike wrote:You might check out my version of TRON lightcycles first.IsaacKuo wrote:I couldn't get fast ...With BASIC, pixel-wise motion is quite difficult, to say the least. Usually the farthest you get is remembering character, and colour code beneath your player, foe, or "missile" character - and moving these objects character-wise one step in every iteration of the game main loop ...... and smooth motion with BASIC; ...... as I had done in this version of Moon Patrol I wrote several years ago.my unsophisticated childish programming skill level didn't help.
Anyway, I spent much of last night struggling with code for the bullets...I really am rusty.
Both games run on an unexpanded VIC-20, and are written in pure CBM BASIC.
Android Tablet running Frodo 64 emulator running VIC 20 emulator....
I plan on learning 6502 coding after I do a few things in pure BASIC. I understand 6502 coding in theory, but I've never actually done anything with it yet.rhurst wrote:Write your game using machine language
I'm satisfied with the already frantic speed of my game. Each game loop, there are only 5 "moves"--the player, the player bullet (twice), the enemy bullet, and one random enemy. I'm doing a rewrite to clean things up a bit and make it easier to type in (to my real VIC, which currently has no mass storage).rhurst wrote:having robots and bullets are going to be too much animation for BASIC