DSiWare Forum

Topic: Petit Computer

Showing 3,141 to 3,160 of 9,547

AuthorMessage
Avatar

camedens

3,141. Posted:

hey does anyone know how to make a sprite collide? ps. can someone tell how to make sprite sheets

camedens

AuthorMessage
Avatar

Hairmanban19

3,142. Posted:

KaiserD wrote:

Hey guys I'm new here and only really joined because of this program, reading through loads of comments has been really imformative. I'm currently making a choose your own adventure style game that I hope everyone will like :)
Currently it will have several different choice making segments, several endings and such.
I do have a few questions though, one main one being how do you get background music to play and is there a way to make custom music via a program and save for use elsewhere or anything?

Also most of the logic I got for it came from the Person Rpg :)

I love choose your own adventure style games!

...

3DS Friend Code: 3136-7615-5907

AuthorMessage
Avatar

PixelRobin

3,143. Posted:

@camedens sprite sheets can be made using CHRED. Just go to the sprite section from there. Then in your program, do something like LOAD "SPU0:NAMEHERE". This will load the sprite page and overwrite the default sprite page 0 for the program. What kind of sprite collision do you want to see?

Everybody do a chirp. CHIRP.

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

3DS Friend Code: 3007-9228-5126

AuthorMessage
Avatar

boot

3,144. Posted:

Bad news. My Ds broke

Just your average talking boot. The Boot that can program.

AuthorMessage
Avatar

camedens

3,145. Posted:

Bluerobin2 wrote:

@camedens sprite sheets can be made using CHRED. Just go to the sprite section from there. Then in your program, do something like LOAD "SPU0:NAMEHERE". This will load the sprite page and overwrite the default sprite page 0 for the program. What kind of sprite collision do you want to see?

i want to stop it fro leaving the screen view

camedens

AuthorMessage
Avatar

camedens

3,146. Posted:

also does anyone know how to display a full screen background with my sprite in front

camedens

AuthorMessage
Avatar

PixelRobin

3,147. Posted:

@boot NOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!!!

Everybody do a chirp. CHIRP.

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

3DS Friend Code: 3007-9228-5126

AuthorMessage
Avatar

PixelRobin

3,148. Posted:

@camedens That is done differently depending on the way of which you make your game. Here is some all-purpose code that should work. It might be overkill for you though.

SPNUM = [insert number of sprites here including zero]

FOR D=0 TO SPNUM
SPCHK(D,X,Y) '(You might need to check if that is correct)
IF X<=0 THEN X=0
IF X>=255 THEN X=255
IF Y<=0 THEN Y=0
IF Y>=191 THEN Y=191
SPOFS D,X,Y,0
NEXT

Not tested. Changemthe names of the x and y variables if the names are already in use.

Everybody do a chirp. CHIRP.

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

3DS Friend Code: 3007-9228-5126

AuthorMessage
Avatar

camedens

3,149. Posted:

hey do you know how to do good maps if so can you show me or send me some good maps because i am kinda new and i need to know how to get the maps to work ps. thanks for the help

camedens

AuthorMessage
Avatar

boot

3,150. Posted:

I think I'm gonna send it to nintendo so I can try to save.all my data

Just your average talking boot. The Boot that can program.

AuthorMessage
Avatar

boot

3,151. Posted:

@randomous are you still working on village? If you are I was wondering if you could add inside of the house npcs and more houses. I really like the game a lot and I just, wanted it to be a little more like animal crossing.

Edited on by boot

Just your average talking boot. The Boot that can program.

AuthorMessage
Avatar

PixelRobin

3,152. Posted:

@boot he said he will on the wiki. @ramstrong sorry for not very much progress, but it is summer for me and I have tons of other things I have to do like yard keeping.

Everybody do a chirp. CHIRP.

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

3DS Friend Code: 3007-9228-5126

AuthorMessage
Avatar

Soultic

3,153. Posted:

Hey guys Im new to this website, not petit computer.Ive seen some of your games and wow,there amazing guys. Im working on a couple projects my self. Heres the three im working on.
OverworlDS- Its a game like Terraria, but its my own sandbox game. Its 2d. It has randomly generated worlds and a few crafting recipes, but thats it.
Soul-A first person shooter. 1 level done.
Hunt-My best and most completed game yet. Your a medevil(sorry for spelling) hunter and theres different towns and i have 1 boss done. Im adding classes and stuff, and so far its on good progression!:D But i wont post a demo yet, because of it being low on features.
Ok thats it but I have a favor to ask someone- Can you post a link to Morphtroids(or Morphtorok, whatever his name is.) Petit pet craft? Thanks and this is my first post. Also what does watch topic do?
EDIT:Im programming on a dsi so I dont have a friend code.

Edited on by Soultic

"Lets fight fire with fire!" "won't that just burn the house down?"

AuthorMessage
Avatar

Soultic

3,154. Posted:

Oh and can someone tell me how to use data statements and arrays? I couldnt find the edit button in my post so I had to post another...post. :/

"Lets fight fire with fire!" "won't that just burn the house down?"

AuthorMessage
Avatar

Discostew

3,155. Posted:

Just finished the intro to my MM2 PTC project. Sorry, no QR codes, or demo yet.

"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

Soultic

3,156. Posted:

I love the intro! I have the MM2 PTC demo on my ds. Thats really cool.

"Lets fight fire with fire!" "won't that just burn the house down?"

AuthorMessage
Avatar

InsertPi

3,157. Posted:

Hey guys! If you know me from the qr sharing thread then you can skip past this. I programmed in VB (Visual Basic) when I was younger, but dropped it. Recently, I found petit computer and decided to give it a shot. I've been doing pretty good, but I still have yet to learn a lot of things, so please expect a lot of questions.

Anyway, first off, I was wondering how to look for "keywords" in an input. For example, in minecraft bukkit, if you say:
I like &4potatoes.
the &4 will make the word "potatoes" red. I know, because of that, it's possible in JavaScript. But can I do it in petit? Please help

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

AuthorMessage
Avatar

PixelRobin

3,158. Posted:

@Morphtorok see how much you're loved? FINISH PETIT PETCRAFT ALREADY! :D.

Btw everyone I made the name.It probably won't be the name of the final version. I hate to take credit for others work...

Is there a more efficient way of:
IF BUTTON(1) THEN SPANIM 0,4,16,0
It works, but if you switch buttons really fast, it wont work...

Everybody do a chirp. CHIRP.

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

3DS Friend Code: 3007-9228-5126

AuthorMessage
Avatar

Morpheel

3,159. Posted:

Hah I had forgotten about that!

To be honest I'm kinda rusty and I would probably need to start the project again to be able to understand it (that, and I remember not being completely happy with it and unsure of how fun it would actually be).

Animal Crossing is taking a lot of my gaming time right now too (and my Mom's too, who is using the 3DS right now lol). I'll eventually go back to it.

Edited on by Morpheel

Oops, no username pun.

Oh look! A Morphloggery.
Oh! eShop Gurus.

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

AuthorMessage
Avatar

Discostew

3,160. Posted:

IAmAPerson620 wrote:

Hey guys! If you know me from the qr sharing thread then you can skip past this. I programmed in VB (Visual Basic) when I was younger, but dropped it. Recently, I found petit computer and decided to give it a shot. I've been doing pretty good, but I still have yet to learn a lot of things, so please expect a lot of questions.

Anyway, first off, I was wondering how to look for "keywords" in an input. For example, in minecraft bukkit, if you say:
I like &4potatoes.
the &4 will make the word "potatoes" red. I know, because of that, it's possible in JavaScript. But can I do it in petit? Please help

Yes it can, but it require a bit more to do. Text color is based on what COLOR is set to, so you would have to do something like this...

PRINT "I like ";
COLOR 13
PRINT "potatoes."
COLOR 0

It prints the first part, changes to Red (which is index 13), prints the next part in red, then sets back to white.

To do this on one line and using ? instead (which is the same as PRINT)...

?"I like";:COLOR 13:?"potatoes.":COLOR 0

"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