DSiWare Forum

Topic: Petit Computer

Showing 6,561 to 6,580 of 9,296

AuthorMessage
Avatar

GraphicGenius

6,561. Posted:

IAmAPerson wrote:

If you wish for more, just ask!

I would like to know more, like how you can do stuff like drawing.

Bluerobin2 wrote:

you should really check out ramstrong's blog

He's right. I made a really complicated game in less than 9 posts!

Edited on by GraphicGenius

"UGGGHHHHHHHHH I'm such a loser!" -PuppyCat from Cartoon Hangover
That explains my LIFE.

3DS Friend Code: 1478-3545-5136 | Nintendo Network ID: GreatGamer123

AuthorMessage
Avatar

Discostew

6,562. Posted:

randomous wrote:

@Discostew Thanks! @calc84maniac already explained it, but at least now I've got two people backing the same method lol.

It would be nice if the sprite hitbox would follow the angle of SPANGLE. The shots are lines, and I had wanted to make the hitbox a line... but it keeps its orientation when using SPANGLE. Oh well.

What about making a small collision box on one end of the line, and then using SPCOLVEC to extend that box over to the opposite end of the line? The manual says +-16 for both X/Y, but you could check if it'll go beyond that.

"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

randomous

6,563. Posted:

@Discostew Of course, the voice of reason lol. Thank you, I'll try it. Oh, but if it's a line that's angled, I'd need to set the collision box to the right place on one of the edges, wouldn't I?

randomous

AuthorMessage
Avatar

Bluerobin2

6,564. Posted:

You know what guys, screw the wiki entry for now. The deadline is too close. I'm going back to Small_Math. Once I complete it, I will port it to graphing calculators (CASIO color ones first since I have one). I'm also editing my blog, which has some embarrassing typos in it. I will try to post daily on it, as well as progress on PTC Community since mist of it is hidden. BTW, you guys should really check out ramstrong's Blog. It has really good Petit Computer posts.

Houston, We have a Syntax Error.

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

3DS Friend Code: 3007-9228-5126

AuthorMessage
Avatar

InsertPi

6,565. Posted:

programmerpro wrote:

IAmAPerson wrote:

If you wish for more, just ask!

I would like to know more, like how you can do stuff like drawing.

You simply do GPAGE 1, take the TCHX and TCHY system variables, and use those for where you draw! For example:

ACLS:CLEAR:GPAGE 1:GCOLOR 15
PRINT "Touch a place on the screen, and a dot will appear there!"
@LOOP
IF TCHST==1 THEN GPSET TCHX,TCHY
VSYNC 1
GOTO @LOOP

Also, what else would you like to know? You said more, not just drawing.

@Bluerobin2 YAY! I've been waiting for SmallMath! (If I count it as a full coding language, it'll be the 6th programming language I will have learned)

Edited on by InsertPi

Main developer and programmer of Minecraft DS!

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: @PhilLovesPi

AuthorMessage
Avatar

GraphicGenius

6,566. Posted:

IAmAPerson wrote:

programmerpro wrote:

IAmAPerson wrote:

If you wish for more, just ask!

I would like to know more, like how you can do stuff like drawing.

You simply do GPAGE 1, take the TCHX and TCHY system variables, and use those for where you draw! For example:

ACLS:CLEAR:GPAGE 1:GCOLOR 15
PRINT "Touch a place on the screen, and a dot will appear there!"
@LOOP
IF TCHST==1 THEN GPSET TCHX,TCHY
VSYNC 1
GOTO @LOOP

Also, what else would you like to know? You said more, not just drawing.

I actually meant GRPED. Like how do you use it and put it in your program?

"UGGGHHHHHHHHH I'm such a loser!" -PuppyCat from Cartoon Hangover
That explains my LIFE.

3DS Friend Code: 1478-3545-5136 | Nintendo Network ID: GreatGamer123

AuthorMessage
Avatar

Discostew

6,567. Posted:

randomous wrote:

@Discostew Of course, the voice of reason lol. Thank you, I'll try it. Oh, but if it's a line that's angled, I'd need to set the collision box to the right place on one of the edges, wouldn't I?

I was thinking, if you use SPHOME to put one end of the line on where the "origin" of the sprite is, you won't have to change SPCOL everytime for different angles. It's always be on one end, and you can use SPCOLVEC to extend from that box. Using SPHOME like this would also allow you to rotate the line too in the direction you want it to be, with the back-end on the sprite origin.

"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

GraphicGenius

6,568. Posted:

I can do anything for anyone! Except for now. The Million Second Quiz is coming on.

"UGGGHHHHHHHHH I'm such a loser!" -PuppyCat from Cartoon Hangover
That explains my LIFE.

3DS Friend Code: 1478-3545-5136 | Nintendo Network ID: GreatGamer123

AuthorMessage
Avatar

ramstrong

6,569. Posted:

Discostew wrote:

randomous wrote:

Hey, what happens to SPHITNO when the our sprite hits multiple sprites? Is there a way to get each sprite that our sprite is colliding with?

Someone had asked about sprite collision some pages back, and I explained it, including code for handling collision of multiple sprites with one.

http://www.nintendolife.com/forums/dsiware/petit_computer?sta...

That post not in Tutorial thread, no way people are going to find it. How about reposting it to Tutorial thread?

@bluerobin2
Thanks for the endorsement. The link in my signature is specific to Petit Computer Tutorial, so you don't have to deal with Raspberry Pi or cooking posts. I still need to update the QR codes, though. They're on the old blogspot site at ramstrong, if you're looking for them.

@programmerpro
I did a Paint program blogpost when I was learning graphics. I suggest you check it out! It's the paint program I used to draw the Goldfish for Coral Maze, FYI.

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

607jf

6,570. Posted:

Sorry if i havent seem to have been on much, IRL crap has invaded my time, im still following though.

Chao!, Nintendo, Need For Speed, Minecraft And More! 3Ds FC-4742-5514-6521.

AuthorMessage
Avatar

Slayer

6,571. Posted:

607jf wrote:

Sorry if i havent seem to have been on much, IRL crap has invaded my time, im still following though.

Heh. I have nothing else to do than browse WiiWare. No eShop for me...
I am hunting down tutorials on this programming language... I wish I had more knowledge of this like most people here...

"When the men ran dry of ammunition, they used their blades. And when the
blades ran dull, they used their hands."
Elias, Call of Duty Ghosts
Accents I know: British
Accents I'm working on: Irish, Scottish

AuthorMessage
Avatar

GraphicGenius

6,572. Posted:

I found out how to do graphics, but I still don't know what to do @Pootrick2!
What should I do to help on the game?

Edited on by GraphicGenius

"UGGGHHHHHHHHH I'm such a loser!" -PuppyCat from Cartoon Hangover
That explains my LIFE.

3DS Friend Code: 1478-3545-5136 | Nintendo Network ID: GreatGamer123

AuthorMessage
Avatar

randomous

6,573. Posted:

@Discostew That's true, I'll try that. Changing SPHOME may meddle with some things, but all in all, it should be fine... hopefully lol.

randomous

AuthorMessage
Avatar

TAINT_Zzyex

6,574. Posted:

damolii wrote:

TAINT_Zzyex wrote:

http://petitcomputer.wikia.com/wiki/RPG_Sprites FINAL edition of my rpg sprites. more will come i guess. these are all that i will have in my first game. (ize got movement in) when i have a battle system i will post

You could just try and use mine.......

i have 4 people per party so yours wouldnt work well... also i have the game on the wiki the movment stopped working so i posted it for help. just search trpg

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

Twitter: MetricCat

AuthorMessage
Avatar

GraphicGenius

6,575. Posted:

The forums have been really slow today. And I still don't know what to do @Pootrick2! I really need to know because I just read everything in the manual and now I know a lot. And if there's anybody new to Petit Computer I will give as many tutorials as wanted!

"UGGGHHHHHHHHH I'm such a loser!" -PuppyCat from Cartoon Hangover
That explains my LIFE.

3DS Friend Code: 1478-3545-5136 | Nintendo Network ID: GreatGamer123

AuthorMessage
Avatar

twinArmageddons

6,576. Posted:

@programmerpro maybe you should start working on the main gameplay

get in loser we're going titan hunting

3DS Friend Code: 2879-0639-8952 | Nintendo Network ID: merp_aottg

AuthorMessage
Avatar

InsertPi

6,577. Posted:

Good news! I have render distance working! It loads all blocks until 16 blocks in front of you (in all directions). I'm gonna make it to where each time you press the Y button, it will toggle 8 block render, 16 block render, render distance off. What the Y button does currently will be put in the touch GUI. Beta 1.5.5 is almost here!

Edited on by InsertPi

Main developer and programmer of Minecraft DS!

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: @PhilLovesPi

AuthorMessage
Avatar

Slayer

6,578. Posted:

LOL! Check this out, I recommend this to @Discostew, it's Megaman 2 related.
http://www.newgrounds.com/portal/view/525514
This is absolutely hilarious.

"When the men ran dry of ammunition, they used their blades. And when the
blades ran dull, they used their hands."
Elias, Call of Duty Ghosts
Accents I know: British
Accents I'm working on: Irish, Scottish

AuthorMessage
Avatar

randomous

6,579. Posted:

@Discostew Well, that did the trick... I think. I've only tried stationary targets so far (I haven't programmed enemy movement yet), but it seems to work well. Thank you very much! I actually just let the system decide the SPCOLVEC by using SPOFS (according to the manual, SPCOLVEC is automatically set based on previous position mixed with interpolation time).

randomous

AuthorMessage
Avatar

mystman12

6,580. Posted:

I found a great way to load background tiles into my game, and tomorrow I'll try to fix up movement. Then I'll release some new QR codes, in case any of you are interested.

Future Pinball Table Development Blog Currently working on: Joe's Ultimate Bus Ride
I'm trying to share as many Wario Ware D.I.Y. microgames as possible, before WiFi is taken down. Share your microgames in this thread.

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