Parsec - I'm making a game
Forum rules
Be nice. No drama.
Be nice. No drama.
Parsec - I'm making a game
Hey Everyone!
I ordered a Gigatron kit a couple of weeks back and have been waiting impatiently for it to make its way here to me in Australia. Walter let me know it could take up to 8 weeks! No worry though, I figured I could get a head start on learning how to program it and set up a bit of a development environment.
Given I'm a Ruby developer, I've taken a bunch of inspiration from the existing vASM assembler written in Python and gone about learning the architecture and instruction set. It's been super fun!
All this fiddling about has started to evolve into a game which I've called "Parsec". I plan for it to be a side-scroll space shoot-em-up. Attached is my progress so far. It's currently just a tech demo of the ship moving and firing, but I'm pretty happy with how it's coming together.
I can't wait to see this run on my real-life Gigatron when its built
I ordered a Gigatron kit a couple of weeks back and have been waiting impatiently for it to make its way here to me in Australia. Walter let me know it could take up to 8 weeks! No worry though, I figured I could get a head start on learning how to program it and set up a bit of a development environment.
Given I'm a Ruby developer, I've taken a bunch of inspiration from the existing vASM assembler written in Python and gone about learning the architecture and instruction set. It's been super fun!
All this fiddling about has started to evolve into a game which I've called "Parsec". I plan for it to be a side-scroll space shoot-em-up. Attached is my progress so far. It's currently just a tech demo of the ship moving and firing, but I'm pretty happy with how it's coming together.
I can't wait to see this run on my real-life Gigatron when its built
Re: Parsec - I'm making a game
Looks great and works great on real hardware, good stuff!
Re: Parsec - I'm making a game
New games! Cool!! You might want to get your code in github in the contrib section.
Re: Parsec - I'm making a game
That's a massive win! Thanks for giving it a go
Thanks, I'll definitely do that soon. I've been finding that section a fantastic resource while I've been learning. How do I go about doing getting it in there?
Re: Parsec - I'm making a game
I think at67 will send you a message.
Re: Parsec - I'm making a game
You'll need to have git installed and a github account, (you can manage everything from the git command line and through github's browser interface).
Clone the entire repo at https://github.com/kervinck/gigatron-rom into a suitable directory.
Code: Select all
git clone https://github.com/kervinck/gigatron-rom
Code: Select all
md/mkdir gigatron-rom\Contrib\blaknite
Check your local repo is not modifying any files outside of your Contrib area:
Code: Select all
git status
Code: Select all
git add .
git commit -a
Code: Select all
git push
Code: Select all
- login to github in your favourite browser.
- go to your gigatron-rom repo and click on the Pull Requests tab across the top.
- click on the green New Pull Request button, (this should give you a list of changes that you have made to the repo).
- make sure you have only made changes to the Contrib\blaknite area.
- add a title/version/description and click Create Pull Request
In the context of this message:
- main repo means https://github.com/kervinck/gigatron-rom
- remote repo means your github repo
- local repo means your local physical copy of the repo
More information can be found here.
https://www.atlassian.com/git/tutorials ... ll-request
Re: Parsec - I'm making a game
Easy. Thank you!
I've got an existing git repo for what I've been working on. I'll also fork kervink/gigatron-rom and commit some of my stuff to it periodically and submit some PRs. As I get more familiar with the platform I'd love to contribute to the rom. In particular, I've found the sys functions super handy.
Until then, feel free to have a look at what I've got so far at https://github.com/blaknite/gigatron. If you spy any patterns I've been using that have more optimal approaches, I'd love the feedback
I've got an existing git repo for what I've been working on. I'll also fork kervink/gigatron-rom and commit some of my stuff to it periodically and submit some PRs. As I get more familiar with the platform I'd love to contribute to the rom. In particular, I've found the sys functions super handy.
Until then, feel free to have a look at what I've got so far at https://github.com/blaknite/gigatron. If you spy any patterns I've been using that have more optimal approaches, I'd love the feedback
-
- Posts: 68
- Joined: 16 Jul 2019, 09:19
- Location: UK
Re: Parsec - I'm making a game
I'm a Python guy, but I must say that I think your vASM as a Ruby embedded DSL looks really nice - very little visual noise. I like the way you have a macro function which consumes a block - it signals the intent much more clearly than having a function for each macro.
Re: Parsec - I'm making a game
Thanks! It's one of the things I like most about Ruby. It lends itself really well to DSLs. In this case it almost looks just like a *.asm fileqwertyface wrote: ↑26 Jun 2020, 12:09 I'm a Python guy, but I must say that I think your vASM as a Ruby embedded DSL looks really nice - very little visual noise. I like the way you have a macro function which consumes a block - it signals the intent much more clearly than having a function for each macro.
Re: Parsec - I'm making a game
Great work blaknite! It worked perfectly on my Gigatron (currently running ROMv4), very smooth!