DSiWare Forum

Topic: Petit Computer

Showing 1,541 to 1,560 of 9,502

AuthorMessage
Avatar

Credible

1,541. Posted:

@petiSnail
Sorry about that, I was editing the array data to make the post smaller.
I tried your collision idea like this:
IF (BUTTON(0) AND 1) AND MAP (X,Y-1) != 1 THEN Y=Y-1

However, this prevents me from moving up at all, even if I'm outside the room. I feel like I'm getting close, though!

Edited on by Credible

Credible

AuthorMessage
Avatar

petiSnail

1,542. Posted:

Credible wrote:

@petiSnail
Sorry about that, I was editing the array data to make the post smaller.
I tried your collision idea like this:
IF (BUTTON(0) AND 1) AND MAP (X+1,Y) != 1 THEN Y=Y-1

However, this prevents me from moving up at all, even if i'm outside the room. I feel like I'm getting close, though!

you are close:
(X+1,Y) should be (X, Y-1)

Remember to check in the direction you're headed.

Edited on by petiSnail

petiSnail

AuthorMessage
Avatar

Credible

1,543. Posted:

petiSnail wrote:

@petiSnail
you are close:
(X+1,Y) should be (X, Y-1)

Remember to check in the direction you're headed.

Right, sorry, noticed that, fixed it in my old post, but even this:
IF (BUTTON(0) AND 1) AND MAP (X,Y-1) != 1 THEN Y=Y-1
Prevents me from moving up no matter what.

Edited on by Credible

Credible

AuthorMessage
Avatar

Hairmanban19

1,544. Posted:

swordx wrote:

@Hairmanban19 Check the QR code thread for your answer. Thanks for the support, I really appreciate it!

Your welcome.Since i like the beta you made for Dungeon adventure,then i am sure i will love the full version since there is a town and sidequests and other things that i do not know about.

...

3DS Friend Code: 3136-7615-5907

AuthorMessage
Avatar

Linput

1,545. Posted:

Well, I'm back. Been playing Pokemon a little too much. ANYWAYS I am looking for people to help me with Sally. look in my signature to see what u can do!

Linput-3DS friend code: 4725-8494-2702
Pokemon White 2 pal-pad code: 1979 9213 55

I'm currently looking for some peeps to make SALLY a website, facebook, and email. If anyone does this u will be mentioned as a producer in the SALLY OS credits! :)

AuthorMessage
Avatar

Hairmanban19

1,546. Posted:

Does anybody know some websites with good petit computer tutorials cause i cant learn much from any of the websites i know?

...

3DS Friend Code: 3136-7615-5907

AuthorMessage
Avatar

Credible

1,547. Posted:

hairmanban19 wrote:

Does anybody know some websites with good petit computer tutorials...

One of the best ways to learn code is to look at some. Scan the QR's for some more simple programs and study them. See what commands do, and mess around with some of their values to see what effects it will have. Then, you should write your own program using what you learned to help get it set in, and to prove to yourself that you really do understand what you're doing. Also, Petit Professor has a good set of videos to learn things. http://www.youtube.com/user/PetitProfessor

Credible

AuthorMessage
Avatar

Hairmanban19

1,548. Posted:

Thank you.

...

3DS Friend Code: 3136-7615-5907

AuthorMessage
Avatar

ZombieChiggers

1,549. Posted:

...sigh... so bored...

Cameron Stover VVVVVVVVVVVVVV ALSO VVVVVVVV and i like trains (BOOM!) also minecraft and trollface!
INFECTED. NEW ZOMBIE

3DS Friend Code: 4854-7026-5042

AuthorMessage
Avatar

ramstrong

1,550. Posted:

Credible wrote:

petiSnail wrote:

@petiSnail
you are close:
(X+1,Y) should be (X, Y-1)

Remember to check in the direction you're headed.

Right, sorry, noticed that, fixed it in my old post, but even this:
IF (BUTTON(0) AND 1) AND MAP (X,Y-1) != 1 THEN Y=Y-1
Prevents me from moving up no matter what.

You may have to repost your corrected code, but before you do, please check that you're not confusing wall/character coordinates, which goes 32x24, and sprite/screen coordinates, which goes 255x191.

As well, don't use the same variable names on both. Try MAPX,MAPY AND SCREENX,SCREENY. I'd probably use MX,MY and SX,SY because I'd be too lazy to type out the full name, but it does get confusing after a while.

snoremac wrote:

...sigh... so bored...

You need help, but not from this thread. Why don't you find a thread where people have fun? Please stop posting irrelevant topics.

Edited on by ramstrong

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

Bluerobin2

1,551. Posted:

I am currently working on Battlewood's bottom screen, where you will be able to access power-ups and such from the bottom screen. I was wondering, is there a way to make your own panel buttons for the bottom screen? If not, Is there a way to make your own custom backgrounds? All of my trials failed. BTW I have figured out how to display a grp on the bottom screen quite by accident. Here is how:
LOAD "GRP1:NAMEHERE"
notice the ”1” next to GRP. Lol I thought those numbers worked like sprites :D. I do not need it now thanks to the awesome @morphtroid who told me about bgpage. Thanks!
@linput14 what is "SALLY” stand for? and will it be for PTCOM? Welome back! (this is the first time I saw that you existed but welcome back netherless) ;)

Everybody do a chirp. CHIRP.

Blog: bluerobin2.blogspot.com
Backloggery: backloggery.com/bluerobin2

3DS Friend Code: 3007-9228-5126

AuthorMessage
Avatar

Bluerobin2

1,552. Posted:

oh yeah, really quick, who uses ptcomp on a 3ds? Who uses it on a dsi?

Everybody do a chirp. CHIRP.

Blog: bluerobin2.blogspot.com
Backloggery: backloggery.com/bluerobin2

3DS Friend Code: 3007-9228-5126

AuthorMessage
Avatar

Morphbug

1,553. Posted:

@Bluerobin2: I use my 3DS XL

Oh look! A Morphloggery.
Oh! eShop Gurus.

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

AuthorMessage
Avatar

Discostew

1,554. Posted:

Using PTC on my 3DS

"What fun is there in making sense?"
Lazer Light Studios - Home of the MM2 PTC project

Pokemon 3DS Friend Safari - Ice - Spheal, Sneasel, Lapras

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

AuthorMessage
Avatar

Sprite

1,555. Posted:

3DS

I'm not saying let's kill all the stupid people, I'm just saying let's take off the warning labels, and see what happens. Friend Code: 1075-1228-4183

AuthorMessage
Avatar

Linput

1,556. Posted:

bluerobin2 wrote:

I am currently working on Battlewood's bottom screen, where you will be able to access power-ups and such from the bottom screen. I was wondering, is there a way to make your own panel buttons for the bottom screen? If not, Is there a way to make your own custom backgrounds? All of my trials failed. BTW I have figured out how to display a grp on the bottom screen quite by accident. Here is how:
LOAD "GRP1:NAMEHERE"
notice the ”1” next to GRP. Lol I thought those numbers worked like sprites :D. I do not need it now thanks to the awesome @morphtroid who told me about bgpage. Thanks!
@linput14 what is "SALLY” stand for? and will it be for PTCOM? Welome back! (this is the first time I saw that you existed but welcome back netherless) ;)

Thanks for the welcome! I have been on this forum for about a year, so I'm surprised u haven't seen me before. SALLY doesnt stand for anything, its just my OS (Operating Sysytem). And yes< it is for PTC.

Linput-3DS friend code: 4725-8494-2702
Pokemon White 2 pal-pad code: 1979 9213 55

I'm currently looking for some peeps to make SALLY a website, facebook, and email. If anyone does this u will be mentioned as a producer in the SALLY OS credits! :)

AuthorMessage
Avatar

Bluerobin2

1,557. Posted:

Linput14 wrote:

Thanks for the welcome! I have been on this forum for about a year, so I'm surprised u haven't seen me before. SALLY doesnt stand for anything, its just my OS (Operating Sysytem). And yes< it is for PTC.

Well I started posting here a month and a half ago I believe... :)

Everybody do a chirp. CHIRP.

Blog: bluerobin2.blogspot.com
Backloggery: backloggery.com/bluerobin2

3DS Friend Code: 3007-9228-5126

AuthorMessage
Avatar

damolii

1,558. Posted:

@bluerobin2 Dsi!!! I have had mine for 4 years.

Edited on by damolii

I don't have a 3DS so what do I put here? -Damolii

AuthorMessage
Avatar

Bluerobin2

1,559. Posted:

damolii wrote:

@bluerobin2 Dsi!!! I have had mine for 4 years.

Wow. Just wow. In a good way. :) That must be a world record :D

Everybody do a chirp. CHIRP.

Blog: bluerobin2.blogspot.com
Backloggery: backloggery.com/bluerobin2

3DS Friend Code: 3007-9228-5126

AuthorMessage
Avatar

Credible

1,560. Posted:

I'm making some progress on my game. While I'm still stuck on some of the more core mechanics, I've been working on some other things, like attacks and sounds. I just made it so that when you touch the screen (IF TCHST==1), a ball will appear and follow the position (TCHX,TCHY) and blow up when you release the screen (IF TCHST ==0 THEN GOSUB @BOOM). While the ball is on the screen, it beeps and pans to the speakers depending on where it is (BEEP 1,-2000,50, TCHX/2). Now that I think about it, I may add sound panning to most of my sound effects. It's a pretty cool feature!
Also, I use a 3DS XL.

Edited on by Credible

Credible