Forums

Topic: Petit Computer

Posts 541 to 560 of 9,620

Drobotic

So do you need some scripting experience for this game?

Currently playing:A little bit of everything :D
Fan of:Adventure Time,The Legend of Korra,The Amazing World of Gumball,Regular Show,Futurama,and gaming on handhelds,consoles,and the PC.

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

ramstrong

@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

KAHN

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

ramstrong

@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

Tingle

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

Eel

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.

Bloop.

<My slightly less dead youtube channel>

SMM2 Maker ID: 69R-F81-NLG

My Nintendo: Abgarok | Nintendo Network ID: Abgarok

Tingle

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

Cocobanana

Thanks for the fast replys:)

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

Cocobanana

ramstrong

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

KAHN

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

ramstrong

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

ramstrong

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

Cocobanana

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

Eel

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 Eel

Bloop.

<My slightly less dead youtube channel>

SMM2 Maker ID: 69R-F81-NLG

My Nintendo: Abgarok | Nintendo Network ID: Abgarok

KAHN

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

KAHN

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

ramstrong

@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

Cocobanana

Anyone know how to get your own sounds/music?

Cocobanana

ramstrong

Cocobanana wrote:

Anyone know how to get your own sounds/music?

HELP 10,43,44

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

Let's just call a spade, a spade.

3DS Friend Code: 1091-7596-4855

Cocobanana

Thanks!

Also, i got this error:
Subscript out of range (11)

My code is:
F(Q)=0

Whats wrong with that?

Cocobanana

Please login or sign up to reply to this topic