Forums

Topic: Petit Computer

Posts 7,161 to 7,180 of 9,620

InsertPi

Ok, I found the C-- language already existed, as @Malltog said. What's a good name? I'm considering calling it SimpleC. Good or bad name?

Edited on by InsertPi

If Facebook, Myspace, Twitter, Instagram, and Snapchat were all destroyed, 90% of teens would go insane. If you're one of the 10% that would be laughing at them, copy & paste this into your signature and hope it happens.

3DS Friend Code: 2148-9259-0831 | Nintendo Network ID: IAmAPerson620 | Twitter:

ShadowGame

@IAmAPerson
Can you give me a link to c--?
And whats with the code now? Can you give me it please?
Thanks

ShadowGame

Slayer

ShadowGame wrote:

@IAmAPerson
How did you make SimpleBasic?

Was I inactive so long IAmAPerson made some sort of language?
Oh God, yeah. Now I'm so tempted to learn an ENTIRELY NEW LANGUAGE! C++ and SmileBASIC is enough...

Edited on by Slayer

I have nothing really to say about myself.

Discostew

ShadowGame wrote:

@IAmAPerson
Thanks!
If have only One problem:
I made a command to load sprites.
You must set the variable SP for the sprite select:
Spset SPN,SP,0,0,0,1,16,16
The problem: if i Set the variable SP to, lets say, 76 then it doesnt Show the sprite with Nr 76 (a Boy).
Its always the sprite with the arrow to the right. Why?

The only sprite that has the arrow to the right is the one at index 0. Are you sure you are setting SP to 76, or are accidentally switching SPN and SP? If this is happening with the first call to it, you could put a WAIT 60 statement right after, then when it sets it, press SELECT immediately after and examine what SP is using ?SP on the console (not edit mode).

Discostew

3DS Friend Code: 4425-1477-0127 | Nintendo Network ID: Discostew

Northrnpikefish

For anyone who remembers my post about the Contra game on June 22nd, I am disappointed to announce that it will be postponed until August 2014. I'm taking a computer class in python and I hope to use some of my knowledge from it to further my project, but with all of my schoolwork this year, I have no time for it until summer.

Northrnpikefish

InsertPi

@0Games it's not that hard. I'm posting a 3-page manual on how the language works and a list of commands. It's very easy, and MUCH, MUCH like C++. That's why I'm calling it SimpleC. One command even has the EXACT same syntax as its partner in C++.

If Facebook, Myspace, Twitter, Instagram, and Snapchat were all destroyed, 90% of teens would go insane. If you're one of the 10% that would be laughing at them, copy & paste this into your signature and hope it happens.

3DS Friend Code: 2148-9259-0831 | Nintendo Network ID: IAmAPerson620 | Twitter:

InsertPi

Malltog wrote:

@IAmAPerson
SimpleC is a behavioural technology company.
All the good names are taken.

Untitled
I don't even care anymore. IT WILL BE CALLED SIMPLEC!!!

If Facebook, Myspace, Twitter, Instagram, and Snapchat were all destroyed, 90% of teens would go insane. If you're one of the 10% that would be laughing at them, copy & paste this into your signature and hope it happens.

3DS Friend Code: 2148-9259-0831 | Nintendo Network ID: IAmAPerson620 | Twitter:

InsertPi

Sorry for double post.
SimpleC version 1.1 QRs!!!
SimpleC Wiki!!!!
The download for the user guide is on the Wiki. Just download the .rtf and open it. I tell about all the commands in an easy-to-learn way. If you have any questions, just ask! DO NOT ASK ME A QUESTION ABOUT A COMMAND IF YOU HAVE NOT READ THE TUTORIAL FILE!!! That's what it's for!

Edited on by InsertPi

If Facebook, Myspace, Twitter, Instagram, and Snapchat were all destroyed, 90% of teens would go insane. If you're one of the 10% that would be laughing at them, copy & paste this into your signature and hope it happens.

3DS Friend Code: 2148-9259-0831 | Nintendo Network ID: IAmAPerson620 | Twitter:

Malltog

TAINT_Zzyex wrote:

Malltog wrote:

@IAmAPerson
SimpleC is a behavioural technology company.
All the good names are taken.

just name it c--. the real c-- is a joke langauge.

You're thinking of C+- which is on GNU Fun. There really is a C--. From Wikipedia:

C-- (pronounced "see minus minus") is a C-like programming language. Its creators, functional programming researchers Simon Peyton Jones and Norman Ramsey, designed it to be generated mainly by compilers for very high-level languages rather than written by human programmers. Unlike many other intermediate languages, its representation is plain ASCII text, not bytecode or another binary format.

Malltog

Nintendo Network ID: Malltog

UltraWolf2X

Hey, Discostew, have you ever played Tristones?

Herpa-Derp Derp!!!
My 3DS Friend Code: 3609-1380-2642

TAINT_Zzyex

Malltog wrote:

TAINT_Zzyex wrote:

Malltog wrote:

@IAmAPerson
SimpleC is a behavioural technology company.
All the good names are taken.

just name it c--. the real c-- is a joke langauge.

You're thinking of C+- which is on GNU Fun. There really is a C--. From Wikipedia:

C-- (pronounced "see minus minus") is a C-like programming language. Its creators, functional programming researchers Simon Peyton Jones and Norman Ramsey, designed it to be generated mainly by compilers for very high-level languages rather than written by human programmers. Unlike many other intermediate languages, its representation is plain ASCII text, not bytecode or another binary format.

wutever. and now for slight offtopicness mixed with non-offtopicness. I was playing mas effect 3 and it was like 'commander Sanchez wants to see you below' so i waz like 'ok...' i went down and he said 'i lost my husband in the war!'... I didnt stop laughing for an hour! gaaaaaaaaa...
and now for ontopicness. I got bored of ultima so i did more work on Ziri. Ziri 2.0 will be out tommarow! It currently has 0+0 to 10+20! yay! it also has 4 new questions and more splashtext← dosnt work yet.

"Did somebody say Aincrad?"
"No, go back to your own game!"
"awwww"
"And make out with Asuna."
"Aww-I mean YAY"

Twitter:

InsertPi

@TAINT_Zzyex with Ziri, just use MID$. It's very quick and compact. I looked at the code for Ziri, and it'd definitely be better to use MID$ with the math instead of all those IFs. :/

If Facebook, Myspace, Twitter, Instagram, and Snapchat were all destroyed, 90% of teens would go insane. If you're one of the 10% that would be laughing at them, copy & paste this into your signature and hope it happens.

3DS Friend Code: 2148-9259-0831 | Nintendo Network ID: IAmAPerson620 | Twitter:

TAINT_Zzyex

IAmAPerson wrote:

@TAINT_Zzyex with Ziri, just use MID$. It's very quick and compact. I looked at the code for Ziri, and it'd definitely be better to use MID$ with the math instead of all those IFs. :/

well the math in ziri was only programmed 'cause i got board. i dont mind typing hundreds of ifs... eye twitches and anyways i already have 200 of them i just usr something called... COPY AND PASTE POWEEEER!!!!! and the magical power of editing. it would take longer to delete them then to just do what ive been doing.

"Did somebody say Aincrad?"
"No, go back to your own game!"
"awwww"
"And make out with Asuna."
"Aww-I mean YAY"

Twitter:

mystman12

I finished the first stage of my game. I'll post QR codes and update the wiki page later.

Edit: Oops. I actually haven't finished it yet, but the basics are finished, I just haven't created any enemies yet. I'll still post QRs.

Edited on by mystman12

I like makin' games!
Future Pinball games!
Petit Computer games!!
and SmileBASIC games!
Waiting for Kirby Air Ride 2. One day, it will come. One day...

3DS Friend Code: 0259-0292-5888 | Nintendo Network ID: mystman12 | Twitter:

Malltog

Hello. Got ANOTHER question!
I'm making a simple game so as to learn sprites.

I've got this: (skipping past initialization, yes I do CLEAR)

I wrote:

@LOOP
SPREAD(CUR), X, Y
SPREAD(1),WX,WY
IF MAINCNTL%90==0 THEN GOSUB @WITCH
IF SPHIT(0,1) GOTO @END
IF SPHIT(2,1) GOTO @END
IF SPHIT(3,1) GOTO @END
IF BUTTON() AND 1 THEN GOSUB @UP
IF BUTTON() AND 2 THEN GOSUB @DOWN
IF BUTTON() AND 4 THEN GOSUB @LEFT
IF BUTTON() AND 8 THEN GOSUB @RIGHT
IF BUTTON()==0 THEN SPANIM 0,1,0 : AN = TRUE
IF BUTTON()==0 THEN SPANIM 2,1,0
IF BUTTON()==0 THEN SPANIM 3,1,0
IF BUTTON() AND 16 THEN CUR=(CUR+1)%3
IF CUR>0 THEN CUR=CUR+1
GOTO @LOOP

@UP
SPCHR CUR,76
IF AN THEN SPANIM CUR,4,20 : AN = FALSE
SPOFS CUR,X,Y-2,2
RETURN

@DOWN
SPCHR CUR,68
IF AN THEN SPANIM CUR,4,20 : AN = FALSE
SPOFS CUR,X,Y+2,2
RETURN

@LEFT
SPCHR CUR,72
IF AN THEN SPANIM CUR,4,20 : AN = FALSE
SPOFS CUR,X-2,Y,2
RETURN

@RIGHT
SPCHR CUR,64
IF AN THEN SPANIM CUR,4,20 : AN = FALSE
SPOFS CUR,X+2,Y,2
RETURN

(snipped, the witch stuff doesn't touch CUR)

Does anyone know how CUR can get set to 4?

EDIT Hey, look! I @mentioned @Loop. Without noticing for about two minutes.

Edited on by Malltog

Malltog

Nintendo Network ID: Malltog

Anonymous_Ninja

Hey @IamAPerson, I know this is a bit late, but what about SmileC? I don't think that's used anywhwere.

nope, no signature here...
I lied, here's my friend code: 2406-5448-5608

ShadowGame

@IAmAPerson
Why is the tutorial in a downloadfile?
Can You copy the tutorial in the Wiki?
Please do this

Edited on by ShadowGame

ShadowGame

Please login or sign up to reply to this topic