Author Topic: Getting into homebrew...  (Read 263 times)

VenomMacbeth

  • Hero Member
  • *****
  • Posts: 1837
Getting into homebrew...
« on: March 08, 2013, 07:59:15 AM »
Hey, all.  Well, I've recently made the decision that I'm going to focus on learning how to develop homebrew games for old consoles.  However, I know basically nothing of computer programming.  I know there are some members on here that do this, so I thought this would be a good place to ask where I should start.  Any suggestions at all would be greatly appreciated!
Play Turbografx.
Play the Turbografx. PLAY
THE TURBOGRAFX!!!!!!

Buh buh buh, I have almost all teh games evar.  I R TEH BESTEST COLLECTR!!

Arkhan

  • Hero Member
  • *****
  • Posts: 14142
  • Fuck Elmer.
    • Incessant Negativity Software
Re: Getting into homebrew...
« Reply #1 on: March 08, 2013, 10:01:58 AM »
You need to learn C.

http://www.cprogramming.com/tutorial.html

Without it, you won't get very far.   It's the most widely used language for game programming, for the most part.

Ignore anyone who says you need to start with Assembly.  If you are new to programming in general, jumping straight in with assembly is a great way to completely discourage yourself from trying ever.  Worry about that once you understand C programming.

[Fri 19:34]<nectarsis> been wanting to try that one for awhile now Ope
[Fri 19:33]<Opethian> l;ol huge dong

I'm a max level Forum Warrior.  I'm immortal.
If you're not ready to defend your claims, don't post em.

VenomMacbeth

  • Hero Member
  • *****
  • Posts: 1837
Re: Getting into homebrew...
« Reply #2 on: March 08, 2013, 04:30:41 PM »
Thanks, Arkhan!  So after I learn C, should I go ahead and learn assembly?  And what about basic?
Play Turbografx.
Play the Turbografx. PLAY
THE TURBOGRAFX!!!!!!

Buh buh buh, I have almost all teh games evar.  I R TEH BESTEST COLLECTR!!

Arkhan

  • Hero Member
  • *****
  • Posts: 14142
  • Fuck Elmer.
    • Incessant Negativity Software
Re: Getting into homebrew...
« Reply #3 on: March 08, 2013, 05:24:36 PM »
Well, depending on the console, you could never learn assembly (Sega Genesis, for example).

assembly is what you need to really get performance out of most 8-bit machines.


as for BASIC, it never hurts to learn and experiment with it on a machine.   So many old computers have BASIC.

Akalabeth and Ultima 1 were written in BASIC, so they aren't just toy languages!

If you are into Atari 2600, check out Batari BASIC
[Fri 19:34]<nectarsis> been wanting to try that one for awhile now Ope
[Fri 19:33]<Opethian> l;ol huge dong

I'm a max level Forum Warrior.  I'm immortal.
If you're not ready to defend your claims, don't post em.

BlueBMW

  • Hero Member
  • *****
  • Posts: 4346
Re: Getting into homebrew...
« Reply #4 on: March 09, 2013, 12:40:06 AM »
How translatable is c++ back to c?
[Sun 23:29] <Tatsujin> we have hard off, book off, house off, sports off, baby off, clothes off, jerk off, piss off etc

Arkhan

  • Hero Member
  • *****
  • Posts: 14142
  • Fuck Elmer.
    • Incessant Negativity Software
Re: Getting into homebrew...
« Reply #5 on: March 09, 2013, 04:28:34 AM »
It's not, really.

C++ has a standard library that isn't in C.  You can change stuff over, but it's effort.

Also, C++ introduces classes.   C does not have classes.   You could try fudging them with structs and function pointers or something, but again, totally don't recommend that.

If you know C++, you can pick up on C in about a weekend, since you've accidentally learned most of it via C++.

and if you know C, you can pick up on C++ in about a week.

[Fri 19:34]<nectarsis> been wanting to try that one for awhile now Ope
[Fri 19:33]<Opethian> l;ol huge dong

I'm a max level Forum Warrior.  I'm immortal.
If you're not ready to defend your claims, don't post em.

VenomMacbeth

  • Hero Member
  • *****
  • Posts: 1837
Re: Getting into homebrew...
« Reply #6 on: March 09, 2013, 07:34:54 AM »
So I have a question...one of my goals is to be able to program games with simulated sprite scaling, like the console ports of After Burner, Out Run, etc.  How feasible is this?  I've yet to see it used in homebrew games, though I could be mistaken.
Play Turbografx.
Play the Turbografx. PLAY
THE TURBOGRAFX!!!!!!

Buh buh buh, I have almost all teh games evar.  I R TEH BESTEST COLLECTR!!

BlueBMW

  • Hero Member
  • *****
  • Posts: 4346
Re: Getting into homebrew...
« Reply #7 on: March 09, 2013, 07:58:17 AM »
It's not, really.

C++ has a standard library that isn't in C.  You can change stuff over, but it's effort.

Also, C++ introduces classes.   C does not have classes.   You could try fudging them with structs and function pointers or something, but again, totally don't recommend that.

If you know C++, you can pick up on C in about a weekend, since you've accidentally learned most of it via C++.

and if you know C, you can pick up on C++ in about a week.

I've noticed a lot of references to C commands when I look up C++ commands.  I suspected they overlapped some but werent interchangeable on a lot of things.  Interesting... :twisted:
[Sun 23:29] <Tatsujin> we have hard off, book off, house off, sports off, baby off, clothes off, jerk off, piss off etc

Bernie

  • Hero Member
  • *****
  • Posts: 4271
    • Facebook URL
Re: Getting into homebrew...
« Reply #8 on: March 09, 2013, 09:58:31 AM »
I will leave this stuff to the smarter ones.....