DSiWare Forum

Topic: Petit Computer

Showing 1,001 to 1,020 of 9,431

AuthorMessage
Avatar

shadowwinds

1,001. Posted:

hey guys I'm back and by the way can someone explain how the enemy ai works in this game
Untitled
by the way i didnt make this game so i give credit to the japanese guy that did

Edited on by shadowwinds

omnomnomnom metaphorical cake
3ds friend code: 4640-0397-5198
current petit computer prodject: peticle:the epic pet battleing game

AuthorMessage
Avatar

petiSnail

1,002. Posted:

shadowwinds wrote:

hey guys I'm back and by the way can someone explain how the enemy ai works in this game

qrs snipped

by the way i didnt make this game so i give credit to the japanese guy that did

Those qrs don't work. Here is the link to the original qrs that do:
http://wiki.hosiken.jp/petc/?Toukou%2F%A5%A2%A5%AF%A5%B7%A5%E...

For that type of ai you basically do a bunch of random movements at random time intervals.
Some psuedocode:

@LOOP
MOVETIME=MOVETIME-1
IF MOVETIME < 0 THEN MOVEDIRECTION=RAND(4) : MOVETIME=RAND(300)

IF MOVEDIRECTION==0 THEN ENEMY_Y=ENEMY_Y - 1
IF MOVEDIRECTION==1 THEN ENEMY_Y=ENEMY_Y +1
IF MOVEDIRECTION==2 THEN ENEMY_X=ENEMY_X - 1
IF MOVEDIRECTION==3 THEN ENEMY_X=ENEMY_X+ 1
GOTO @LOOP

petiSnail

AuthorMessage
Avatar

Morphbug

1,003. Posted:

koopatroopaX wrote:

hey morphtroid, how is petitcross coming. i can't wait for the release of petit farm v 1.2. :) really m hoping that it will come out before the next demo of mega man 2 by discostew. also found out that my 99999, money dissipearing was because i forgot to save, sorry about that.

It's actually pretty complete, I just need to add some more default puzzles... But Pokemon White 2 and other games keep getting in the way!
Also, good to hear that wasn't a glitch!

Oh look! A Morphloggery.
Oh! eShop Gurus.

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

AuthorMessage
Avatar

koopatroopaX

1,004. Posted:

great to hear that, thanks for the update. i have had problems with black and white before, always have to find every little thing in the game before i can think about something else. good luck ! :)

koopatroopaX

AuthorMessage
Avatar

Late

1,005. Posted:

Morphtroid wrote:

koopatroopaX wrote:

hey morphtroid, how is petitcross coming. i can't wait for the release of petit farm v 1.2. :) really m hoping that it will come out before the next demo of mega man 2 by discostew. also found out that my 99999, money dissipearing was because i forgot to save, sorry about that.

It's actually pretty complete, I just need to add some more default puzzles... But Pokemon White 2 and other games keep getting in the way!
Also, good to hear that wasn't a glitch!

Do you design your own puzzles or do you use puzzles made by others? I've made some Picross puzzles and would kindly give them to you to use them in your game but I'm not exactly sure if I can still find my old puzzles. I think I still have some from last year I could find if I'd take a look around. I used to make those at school and let my friends solve them. They got pretty addicted just like me. :)
So if you need some custom Picross, just tell me and I'll try to find old ones and maybe even do new ones.

3DS FC: 3566-1647-7196
My Backloggery
My Pullblox puzzles
Be kind and feed my Pokémon :)

3DS Friend Code: 3566-1647-7196

AuthorMessage
Avatar

Morphbug

1,006. Posted:

I have been making them randomly lol
I'll be glad to accept yours... Making them myself is kinda slow.
They'd need to be 15*15 at max, though.

Edited on by Morphbug

Oh look! A Morphloggery.
Oh! eShop Gurus.

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

AuthorMessage
Avatar

tiger667

1,007. Posted:

May I make a request, I'm not good enough with PC to do anything 3d, would you be able to include some 3d picross puzzles or would that be too hard in PC.
I know someone had a 3d block placing program, not sure how different it would be from that.

tiger667

AuthorMessage
Avatar

81Rambler

1,008. Posted:

I've been vexed with a graphical editor I've been working on. Does anyone know an effective way to pull an 8x8 graphic tile from the GPU/SPU/BGU set and turn it into a 64 character string? (essentially the reverse of the CHRSET command)

81Rambler

AuthorMessage
Avatar

Discostew

1,009. Posted:

81Rambler wrote:

I've been vexed with a graphical editor I've been working on. Does anyone know an effective way to pull an 8x8 graphic tile from the GPU/SPU/BGU set and turn it into a 64 character string? (essentially the reverse of the CHRSET command)

CHRREAD can grab 64-character strings from the BGUx and SPUx sets, but not from graphics, as it is just layers, and not holding tiled data. You'd have to use loops and read from it manually to construct such a string via GSPOIT, but each pixel isn't 4-bit like they are with the BGu/SPUx sets. They are 8-bit pixels, so if you were to construct a string with that using 4-bit digits, it would most likely be a 128-character string with 2 HEX digits per pixel.

"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

81Rambler

1,010. Posted:

Discostew wrote:

81Rambler wrote:

I've been vexed with a graphical editor I've been working on. Does anyone know an effective way to pull an 8x8 graphic tile from the GPU/SPU/BGU set and turn it into a 64 character string? (essentially the reverse of the CHRSET command)

CHRREAD can grab 64-character strings from the BGUx and SPUx sets, but not from graphics, as it is just layers, and not holding tiled data. You'd have to use loops and read from it manually to construct such a string via GSPOIT, but each pixel isn't 4-bit like they are with the BGu/SPUx sets. They are 8-bit pixels, so if you were to construct a string with that using 4-bit digits, it would most likely be a 128-character string with 2 HEX digits per pixel.

Actually you nailed what I ment to say directly on the head. I ment to refer to BGU/SPU/BGF sets, that is sprites, background and console tiles respectively. While I figured that CHRREAD was the command I was looking for, the help file/manual doesn't seem to be very helpful to it'd proper use (not listing anything on it's Return section, for starters).b I've been pretty busy lately, so I havn't had as much time to mess with coding. Pardon my redundant questions x_x

I may post a QR code of the base character viewer this weekend, which while working does not serve a greater function than viewing, but it will help illustrate what I'm working on.

81Rambler

AuthorMessage
Avatar

Discostew

1,011. Posted:

@81Rambler

Yeah, the use of CHRREAD is different from other functions, because the result is set at the end of its parameters (outside of the parenthesis). The input is within the parenthesis, while the output is after it. Many other "read" functions operate in this fashion as well.

Edited on by Discostew

"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

Late

1,012. Posted:

Morphtroid wrote:

I have been making them randomly lol
I'll be glad to accept yours... Making them myself is kinda slow.
They'd need to be 15*15 at max, though.

Couldn't find my notebook which had many Picross of all kind of sizes so I've now made some new ones. I have four video game related 15x15 sized puzzles ready for your use and I'm going to make more. How should I put them here? Would you like to have them scanned (with or wihout the completed version) or should I just give you the numbers or what?

3DS FC: 3566-1647-7196
My Backloggery
My Pullblox puzzles
Be kind and feed my Pokémon :)

3DS Friend Code: 3566-1647-7196

AuthorMessage
Avatar

portealmario

1,013. Posted:

I need some people to work with, so do any of you want to be on my 3DS friends list?

meng 😐
3ds friend code:1762-2769-7142

AuthorMessage
Avatar

Morphbug

1,014. Posted:

If you could put them in image form here it would be great. (or you could also send them to the email direction I included in the code of petit farm).

Oh look! A Morphloggery.
Oh! eShop Gurus.

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

AuthorMessage
Avatar

Late

1,015. Posted:

It's already an evening and I'm pretty tired so I'll put them here tomorrow. I wish I could play your Petit Farm, Petit Blocks and your Picross game but I'm from Finland and we Europeans don't have Petit Computer yet. :(

3DS FC: 3566-1647-7196
My Backloggery
My Pullblox puzzles
Be kind and feed my Pokémon :)

3DS Friend Code: 3566-1647-7196

AuthorMessage
Avatar

Morphbug

1,016. Posted:

Oh ouch sorry.
If you don't feel like scanning them, you can also do them in paint with plain pixels.

Thanks again.

Edited on by Morphbug

Oh look! A Morphloggery.
Oh! eShop Gurus.

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

AuthorMessage
Avatar

Late

1,017. Posted:

Like this?
Thanks to you too. Would you kindly add my name to credits or something?

3DS FC: 3566-1647-7196
My Backloggery
My Pullblox puzzles
Be kind and feed my Pokémon :)

3DS Friend Code: 3566-1647-7196

AuthorMessage
Avatar

bloodofgore

1,018. Posted:

Ug, would someone please explain how to use DATA? I've read up on it and still can't understand how to use it. How set the variables for DATA?

bloodofgore

AuthorMessage
Avatar

lolkelvinlol

1,019. Posted:

im making an OS called Kelvin OS and it is EPIC! Like pokemon, you walt around the city except its just a small town and the houses you enter take you to a program. i have 6 apps,9 games and2 extras. Amusement park, just walk left,go through gate and play. And also Panic mode. Inspired by Sally OS. So far it has 928 lines! :o

my friend code:0817-5045-4594

Twitter: no

AuthorMessage
Avatar

petiSnail

1,020. Posted:

bloodofgore wrote:

Ug, would someone please explain how to use DATA? I've read up on it and still can't understand how to use it. How set the variables for DATA?

http://snailfacia.zxq.net/#DATA
or
http://snailfacia.zxq.net/#READ

Edited on by petiSnail

petiSnail