Board Thread:Questions and Answers/@comment-24454571-20140517053531/@comment-24454571-20140520024721

xD

This place is Heaven!

02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)~

Randomouscrap98 wrote: First question: the code you posted is missing some stuff I think.

FOR J=0 TO 31 MAP(J,I)=0 IF MID$(MAPLINE$,J,1)=="1" NEXT

I think in my code, line 3 should be:

IF MID$(MAPLINE$,J,1)=="1" THEN MAP(J,I)=1 ... Ah! Yes, I did indeed miss this since I didn't scroll over.

That was quite a noobie derp on my part - I know that IF statements need THENs.

02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)~

SquareFingers wrote:

That you are concerned about these kinds of issues suggests to me that you may appreciate, and get a lot out of, computer science courses - or at least, from learning other types of programming language. You're thinking on a higher level than SmileBasic - go find a programming language that's a more suitable playground for your brain! I'm flattered! I have taken a look at a few tutorials on Youtube, for codes like C++ which I am interested in learning, indeed - as well, Randomous has sparked my curiosity in a platform which has near boundless limitations compared to PTC, although I am quite satisfied to learn this for now because there is scant a thing cooler than making and playing video games on your DS.

I consider my Game Design knowledge to far exceed my knowledge of any programming language in the present-time, so I'm really anxious about being able to put all of the components together to create something that I can not only play but share with others as well.

02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)02:47, May 20, 2014 (UTC)~

I decided to cast aside all of the examples that I've been studying and used what I learned here today from this thread to create a simple program, which was:

DIM EXAMPLE(5) FOR E=1 TO 5 READ 1,2,3,4,5:? EXAMPLE$ NEXT

and that did indeed work how I expected! I still have some questions about the code, particularly in the area of collision detection (I'm not seeing where it detects walls, or where 1 is converted into the idea of impassability) but I haven't put TOO much thought into it yet, so you may want to treat me as if you were a truly concerned teacher who thought it was in my best interest to figure it out for myself, or give me subtle clues.

The idea of creating an imaginary "grid" intrigues me; I know that in the world of BG commands and Sprite stuff that most of this is already handled by the machine, but in the tense of "creating my own frame-work" I'm curious about how to imitate/replicate these concepts for inspiration. Ideally I would be able to create, for example for Tic-Tac-Toe, a Grid where I can say, "Oh yeah, there's 9 squares, each one is labled, 1-9. It's all very organized."

Anyway guys, thank you so much for your help - seriously, when I found this place it was as if I had all of the sudden walked into Paradise.