Author Topic: What's the best way to start programming?  (Read 1702 times)

touko

  • Hero Member
  • *****
  • Posts: 953
Re: What's the best way to start programming?
« Reply #45 on: February 25, 2012, 03:20:40 AM »
Excellent vecanti, TOR's tutorials are very good ...
But Rover must be careful to put spr_set(); in his tutos, else many people will forget to do, and in case of more than 1 sprite,  :lol:...
« Last Edit: February 25, 2012, 03:24:03 AM by touko »

seieienbu

  • Hero Member
  • *****
  • Posts: 1995
Re: What's the best way to start programming?
« Reply #46 on: November 01, 2012, 07:05:33 PM »
I figure this is as good of a place as any to ask my stupid-noob HuC questions.

First thing's first, I copy the code from obeybrew for a  "Hello world!"
Try to compile, I get the message "******   Could not open include file   ******"

Well, I put the full path in there to see what that'd do, now I get a message saying it can't open .include "startup.asm"

Yeah, how do I get everything to point to the right place for libraries/etc?
Current want list:  Bomberman 93

TheOldMan

  • Hero Member
  • *****
  • Posts: 958
Re: What's the best way to start programming?
« Reply #47 on: November 01, 2012, 07:30:59 PM »
Did you set the include paths, like it says in the instructions ???

seieienbu

  • Hero Member
  • *****
  • Posts: 1995
Re: What's the best way to start programming?
« Reply #48 on: November 01, 2012, 07:54:09 PM »
No I did not.  According to Zeograd's page I need to set PCE_INCLUDE with something like.

SET PCE_INCLUDE=c:\huc\include\pce

I'm unsure where/how to actually do this though...
« Last Edit: November 01, 2012, 08:40:11 PM by seieienbu »
Current want list:  Bomberman 93

Arkhan

  • Hero Member
  • *****
  • Posts: 14142
  • Fuck Elmer.
    • Incessant Negativity Software
Re: What's the best way to start programming?
« Reply #49 on: November 02, 2012, 03:03:46 AM »
Are you on PC?

You just right click my computer, click properties, go to advanced settings, edit the environment variables, and add it there as a variable...

http://www.windows7hacker.com/index.php/2010/05/how-to-addedit-environment-variables-in-windows-7/

Like this!
[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.

_joshuaTurbo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5160
Re: What's the best way to start programming?
« Reply #50 on: November 02, 2012, 03:51:39 AM »
No I did not.  According to Zeograd's page I need to set PCE_INCLUDE with something like.

SET PCE_INCLUDE=c:\huc\include\pce

I'm unsure where/how to actually do this though...
Did you set the include paths, like it says in the instructions ???

The process of adding environment variables and how to compile can be pretty odd and confusing to someone that regularly codes with an IDE (.net or eclipse), so don't feel embarrassed about asking questions here, there are a gaggle of good guys here that can help out.

With that said, I still have issues now and again with compiling an actual PCE file by using the command prompt or just dragging and dropping, so just keep plugging away and get through the tutorials.  Lots of AMAZING softs can come of more and more peeps drumming out with HuC!  :)

Arkhan

  • Hero Member
  • *****
  • Posts: 14142
  • Fuck Elmer.
    • Incessant Negativity Software
Re: What's the best way to start programming?
« Reply #51 on: November 02, 2012, 04:14:47 AM »
Yeah there are no such things as stupid questions.

Only stupid people... who are stupid enough to ask questions that aren't worth asking!

>_>

:)

 Don't worry about asking about stuff.  Especially with HuC, because HuC is a finnicky dickhead.
[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.

seieienbu

  • Hero Member
  • *****
  • Posts: 1995
Re: What's the best way to start programming?
« Reply #52 on: November 02, 2012, 07:40:28 AM »
Thanks for all the help.  Now that I've gotten it to compile I'ma run through a bunch of demos then perhaps program something on my own. 
Current want list:  Bomberman 93

Bonknuts

  • Hero Member
  • *****
  • Posts: 3292
Re: What's the best way to start programming?
« Reply #53 on: November 02, 2012, 09:00:17 AM »
If you always have the command prompt open for HuC coding, then you can just type it out in the command prompt "SET PCE_INCLUDE=c:\huc\include\pce" once and be done with it for that shell instance. I use batch files a lot for my compiling/assembling. If you do the same, you can always put it in the batch file as well (put it as the first line).

Arkhan

  • Hero Member
  • *****
  • Posts: 14142
  • Fuck Elmer.
    • Incessant Negativity Software
Re: What's the best way to start programming?
« Reply #54 on: November 02, 2012, 09:47:15 AM »
Batch files:

http://www.dostips.com/DtCodeBatchFiles.php


Incase seieienbu doesn't know what they are!
[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.