DSiWare Forum

Topic: Petit Computer

Showing 541 to 560 of 9,530

AuthorMessage
Avatar

Cocobanana

541. Posted:

Is petit computer different then the old BASIC programming?
Because im using my old coding i used 3 years ago,

So what should i change in my coding?

Cocobanana

AuthorMessage
Avatar

Drobotic

542. Posted:

So do you need some scripting experience for this game?

Currently playing:A little bit of everything :D
Fan of:Adventure Time,MLP:FiM,and gaming on handhelds,consoles,and the PC.

3DS Friend Code: 1332-8187-4581 | Nintendo Network ID: Bubblenom

AuthorMessage
Avatar

ramstrong

543. Posted:

@Tingle
Yes, but the answer to that is too long to be put in forum post. Try reading the manual and see if that helps.
http://www.petitcomputer.com/manual/

@Cocobanana
That depends on your program and your previous BASIC language. FYI, there's more than 1 version of BASIC 3 years ago. I was counting 15 dialects of BASIC including MS Visual BASIC. I'm sure there's quite a few more now.

For hints, look on Help 11 BASIC Standard Features, and go from there. Petit Computer BASIC is actually called Smile BASIC.

Petit Computer Journal
Old site http://ramstrong.blogspot.com

Let's just call a spade, a spade.

3DS Friend Code: 1091-7596-4855

AuthorMessage
Avatar

KAHN

544. Posted:

Cocobanana wrote:

Is petit computer different then the old BASIC programming?
Because im using my old coding i used 3 years ago,

So what should i change in my coding?

im going to try my best to answer your question. alright, im going to do that.
from what i understand, there are several versions of programming, and probably several versions of BASIC. i dont want to say there is or isnt at the risk of being told im an idiot, so let's just say that there may or may not be several versions. if there are, then you'd need to be more specific about what the old" BASIC was.

KAHN

3DS Friend Code: 1032-1301-2772 | Nintendo Network ID: Milkman12

AuthorMessage
Avatar

ramstrong

545. Posted:

@Drobotic
Need? No. You can learn it if you're stubborn. Everybody has to start somewhere. Different stages of programmer's evolution (abbreviated):
1. Play games
2. Load games, review games
3. Read source code. Type into computer
4. Edit source code (to cheat, ahem, customize the game)
5. Read programming book to understand (There's one out, you can read it if you can read Japanese)
6. Write simple programs
7. Write complex program (and failed)
8. This is where most people give up. If not, then learn design.
9. Learn Program Structure, Data Structure, Algorithm, Design Pattern
10. Write complex program successfully.
11. Got addicted, and well, here's to your successful computer programming career!

I have source code in my blog. I suggest you read them and type them into Petit Computer. There's QR code, but use that to check your work, instead of being lazy. Okay if you're still at stage 2.

Petit Computer Journal
Old site http://ramstrong.blogspot.com

Let's just call a spade, a spade.

3DS Friend Code: 1091-7596-4855

AuthorMessage
Avatar

Tingle

546. Posted:

Specifically, could you help me with the SPOFS command?

Here's an example of how I'm using SPOFS: SPOFS 99,+30,-30,30

Edited on by Tingle

Tingle

AuthorMessage
Avatar

Morpheel

547. Posted:

I won't be able to use Petit Computer for a while until I get a new stylus and screen protector :(

Keep programming for me, you all.

Oops, no username pun.

Oh look! A Morphloggery.
Oh! eShop Gurus.

3DS Friend Code: 0173-1330-0080 | Nintendo Network ID: Abgarok

AuthorMessage
Avatar

Tingle

548. Posted:

What happened? Did your stylus break? Mine did, so what I do until I get a new one is I use a mechanical pencil without any lead in it.

Tingle

AuthorMessage
Avatar

Cocobanana

549. Posted:

Thanks for the fast replys:)

Heres my first line:
Print tab(33);"pokemon tcg"
Is there something wrong with this?

Cocobanana

AuthorMessage
Avatar

ramstrong

550. Posted:

Tingle wrote:

Specifically, could you help me with the SPOFS command?

Here's an example of how I'm using SPOFS: SPOFS 99,+30,-30,30

Try this:
SPSET 99,64,0,0,0,0,16,16
SPOFS 99,0,0
SPOFS 99,255,0,64
You should see a sprite moving at the top of the screen going to the right.

Petit Computer Journal
Old site http://ramstrong.blogspot.com

Let's just call a spade, a spade.

3DS Friend Code: 1091-7596-4855

AuthorMessage
Avatar

KAHN

551. Posted:

Cocobanana wrote:

Thanks for the fast replys:)

Heres my first line:
Print tab(33);"pokemon tcg"
Is there something wrong with this?

probably, the problem is that you used a semicolon instead of a regular colon. i've seen people use regular colons in their codes. try replacing the semicolon with a colon. or did you make a typo on your computer? did you mean to type in a colon on this forum without holding shift? you gotta hold shift, buddy :|

Edited on by KAHN

KAHN

3DS Friend Code: 1032-1301-2772 | Nintendo Network ID: Milkman12

AuthorMessage
Avatar

ramstrong

552. Posted:

Cocobanana wrote:

Thanks for the fast replys:)

Heres my first line:
Print tab(33);"pokemon tcg"
Is there something wrong with this?

tab isn't a function in Petit Computer. Try this:
LOCATE 10,1: ?"POKEMON TCG"

There is a tab character. You can use that, too.

Petit Computer Journal
Old site http://ramstrong.blogspot.com

Let's just call a spade, a spade.

3DS Friend Code: 1091-7596-4855

AuthorMessage
Avatar

ramstrong

553. Posted:

There is your subscript out of range error. Petit Computer takes your tab(33) as Variable Array "tab" element number 33! See how a simple posting of source code clears the issue immediately? Better make that a usual practice!

Petit Computer Journal
Old site http://ramstrong.blogspot.com

Let's just call a spade, a spade.

3DS Friend Code: 1091-7596-4855

AuthorMessage
Avatar

Cocobanana

554. Posted:

You guys are so helpful!
Thanks so much!

And no, i ment to use a ;..should i use : instead?
Expect to see pokemon tcg soon!
I just have to work on the story line and sprites

Cocobanana

AuthorMessage
Avatar

Morpheel

555. Posted:

When you use PRINT (or ?) you can use either , or ; to separate normal text from variables.
, will print the variable after a "tab" while ; will print it right after the text.

: is used to separate different functions on the same line, like PRINT "HI": PRINT "HI AGAIN".

Edited on by Morpheel

Oops, no username pun.

Oh look! A Morphloggery.
Oh! eShop Gurus.

3DS Friend Code: 0173-1330-0080 | Nintendo Network ID: Abgarok

AuthorMessage
Avatar

KAHN

556. Posted:

you heard @Morphtroid(AKA the GOD of programming). do what he says! i doubt he doesnt know what hes talking about, unlike some people emphasis on self

KAHN

3DS Friend Code: 1032-1301-2772 | Nintendo Network ID: Milkman12

AuthorMessage
Avatar

zfwman

557. Posted:

Morphtroid! Can iplees have ur qr code for petit farm and I'll give u a qr for this great app that I found ( I don't make it)

Nom, it yummy

AuthorMessage
Avatar

KAHN

558. Posted:

zfwman wrote:

Morphtroid! Can iplees have ur qr code for petit farm and I'll give u a qr for this great app that I found ( I don't make it)

you dont need to ask him for it buddy, its the internet :/ just go into the depths of the forum and find it for yourself

Edited on by KAHN

KAHN

3DS Friend Code: 1032-1301-2772 | Nintendo Network ID: Milkman12

AuthorMessage
Avatar

ramstrong

559. Posted:

@Morphtroid
That's great explanation for using commas and semicolon with PRINT. Would you repost it in tutorial thread? It'd be good to keep all the explanations together.

Petit Computer Journal
Old site http://ramstrong.blogspot.com

Let's just call a spade, a spade.

3DS Friend Code: 1091-7596-4855

AuthorMessage
Avatar

Cocobanana

560. Posted:

Anyone know how to get your own sounds/music?:p

Cocobanana