Forums

Topic: Petit Computer

Posts 7,101 to 7,120 of 9,618

Slayer

ShadowGame wrote:

Hello,
Im going to make a new game in petit computer.
But i dont know wich Genre i could choose. I like simulation games like Animal crossing, but i think im
not able to program that.
Can someone give me a suggestion?
Thanks

Animal Crossing is off the table anyway. @randomous already made the shadow of Animal Crossing that is named Village.
Ah, QR codes are HAAAAARD to port over. I'll do it anyway. Maybe Sunday. (I'm not finished yet, @hansausage just wants to help me and I need help)

programmerpro wrote:

is it wrong that since I play Minecraft so much my fingers are always on keys A,W,S,and D

Nope. We all play PC games. More than half of that population have WASD controls.

[Edited by Slayer]

I have nothing really to say about myself.

Pixelrobin

It seems that we have a bunch of new members to the forum. First of all, Welcome! Second of all, there are things you should know:

  • If you have a question, please try and see If you could find it elseware before asking here. The included manual is a great place to start. The included demos help a lot too.
  • Please do not ask stereotypical questions such as "How do I control this sprite with buttons?". A more correct way would be "How do I use the BUTTON() variable?"
  • STAY ON TOPIC. This thread has a name. Its not Minecraft and its not generic control methods for PC games. Ask thise questions in more appropriate forums such as the off-topic one.
  • Do not post stuff just because you're bored. We like it clean here (Right Guys?)
  • If you're on the live chat, good for you. You do not need to make a permanent post here about it.

Thank you

Everybody do a chirp. CHIRP.

TAINT_Zzyex

thanks for that blue... havnt seen ya for a while...
so i need help i have
@atalk
input talk$
if talk$=='name' then goto @a
@a
print'i am chris
goto @atalk
when ran, it displays
?[normal]
name[what you entered]
i am chris
i am chris
i am chris
i am chris
[etc.]
wut is happening

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

X:

InsertPi

Got drawing down.
DRAW.LINE[100;110;150;160] 10
means
GLINE 100,110,150,160,10

It successfully interprets and runs fine.

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.

X:

Discostew

TAINT_Zzyex wrote:

thanks for that blue... havnt seen ya for a while...
so i need help i have
@atalk
input talk$
if talk$=='name' then goto @a
@a
print'i am chris
goto @atalk
when ran, it displays
?[normal]
name[what you entered]
i am chris
i am chris
i am chris
i am chris
[etc.]
wut is happening

I assume it's going in an infinite loop, printing "i am chris"? I tried your code, and it continues to ask my name each time. Did you accidentally put a space in your last line to make it goto @a talk instead of goto @atalk?

Discostew

Switch Friend Code: SW-6473-2521-3817

Malltog

I just thought of something...
What if someone posted code to get help and @mentioned somebody with a label?

Malltog

InsertPi

SimpleBASIC v1.0 is complete! Stats:
Up to 22 lines
Up to 10 strings
Up to 10 variables
Output/input
Math
IF...THEN like statement (WHEN...DO)
Basic graphics

I'll release QRs tomorrow (Saturday) along with a full list of commands.

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.

X:

randomous

@Discostew Yes, that's exactly what I wanted to do. But CHRSET is too slow... oh well.

randomous

Discostew

@randomous I would have imagined the forming of those strings would have been the slow part with all those HEX$ conversions, not to mention you're having to work with a great number of 8x8 pixel blocks instead of one large sequential buffer that goes from left-to-right, top-to-bottom.

Discostew

Switch Friend Code: SW-6473-2521-3817

Malltog

UltraWolf2X wrote:

@Discostew May I ask you a question?

While I'm not @Discostew, you can always ask a question. That's one of the main things this thread is for.
@Bluerobin2 That made me laugh so hard.

EDIT Just a few minutes later I pulled out my DS to program a bit. Used headphones cause the neighbourhood is still waking up. SUCH GOOD SOUND!

EDIT 2
Anybody know how I could make a GUI-driven input box? I need it for Carrot OS.
And not graphics, I am still using text. But a TUI-driven input box?

[Edited by Malltog]

Malltog

InsertPi

@Malltog I'm not completely sure what you mean. Do you mean something like:
Untitled

If not, example?

[Edited 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.

X:

ShadowGame

Does someone know how to change a sprite by pressing a Button?
Im would make it moving and change the sprite, but of i press a Button, then it moves in a direction first and change the sprite, but then it moves back Where the Sprite was before.
The code is for example:
Spread(1),x,y
Spofs 1,x,y+10,07
Spset 1,76,0,0,0,1,16,16
Goto @loop

Whats wrong?
Please help!!

ShadowGame

InsertPi

@ShadowGame

@LOOP
IF BUTTON() AND 1 THEN Y=Y-number (bigger for more speed)
IF BUTTON() AND 2 THEN Y=Y+number
IF BUTTON() AND 4 THEN X=X-number
IF BUTTON() AND 8 THEN X=X+number
SPOFS 1,X,Y,and so on...
VSYNC 1
GOTO @LOOP

[Edited 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.

X:

Malltog

IAmAPerson wrote:

@Malltog I'm not completely sure what you mean. Do you mean something like:
Untitled

If not, example?

Yes except not necessarily hidden input.
I would like the hidden input, though. But as an optional thing.
/me is inspired to make a password system in his OS

EDIT Oh, and if it helps, I've got TS$(0-7) and TI(0-7) as Temporary Strings and Temporary Integers (EDIT 2 which can be real numbers too, just I called them TI). You could use them.

EDIT 2 [REMOVED as SOLVED in EDIT 3]

[Edited by Malltog]

Malltog

GraphicGenius

@IAmAPerson i am looking forward to your simplebasic program. When will it come out?
And you could probably add sprites like:
INPUT "Control Number";CN
INPUT "Sprite Number";SN
SPSET CN,SN,0,0,0
Oh Yeah,it's 3 days until I can change my username!
Should I change it? And if I should, what should it be?
I will choose the best username (or no username at all) and will change programmerpro to whatever you choose

[Edited by GraphicGenius]

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. Wait was that just a joke?

Pixelrobin

@ShadowGame don't use a brand new SPSET, use SPCHR sprite id,new sprite

Everybody do a chirp. CHIRP.

InsertPi

@programmerpro do ProgrammerPRO or something like that

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.

X:

Sorry, this topic has been locked.