DSiWare Forum

Topic: Petit Computer

Showing 8,001 to 8,020 of 9,296

AuthorMessage
Avatar

InsertPi

8,001. Posted:

Ralph wrote:

IAmAPerson wrote:

@Lego-Meister or you can do

GFILL 0,0,255,191,colour

Why not GCLS?

Or that. I prefer the GFILL way. IDK why. It's slower and more complicated. :/

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

8,002. Posted:

I haven't really tested my theory in which I had to put the LOCATE text print for the health in a different place other than after the controls. I've been playing for my backloggery a lot, so I didn't have time to do that.

"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

bigdog00

8,003. Posted:

Someone please give me an update on what I missed. I couldn't put it down and now I am writing a zombies game (top down) for it. I started writing it on the computer, but then ported it over for petit computer. My only problem is that I can make a list of zombies on the PC but I have to make every single variable for every zombie and make ZHLT(health) ZX(Zombie X) ZY(Zombie Y) ZACTIVE(If the zombie is alive) and stuff like that. can I make a list for them instead? and, did I miss any important posts or new games worth scanning or what? Please fill me in and thanks!

I like petit computer! Asphault 3d is awesome!

3DS Friend Code: 0473-8697-6288 | Twitter: bigdogdt

AuthorMessage
Avatar

bigdog00

8,004. Posted:

@ramstrong RaspberryPi? Yeah!!! I am writing the PC version of DeadWorld: Infestation for the RasPi! Deadworld is the game I just mentioned above about me porting it over to the DS.

I like petit computer! Asphault 3d is awesome!

3DS Friend Code: 0473-8697-6288 | Twitter: bigdogdt

AuthorMessage
Avatar

ramstrong

8,005. Posted:

bigdog00 wrote:

Someone please give me an update on what I missed. I couldn't put it down and now I am writing a zombies game (top down) for it. I started writing it on the computer, but then ported it over for petit computer. My only problem is that I can make a list of zombies on the PC but I have to make every single variable for every zombie and make ZHLT(health) ZX(Zombie X) ZY(Zombie Y) ZACTIVE(If the zombie is alive) and stuff like that. can I make a list for them instead? and, did I miss any important posts or new games worth scanning or what? Please fill me in and thanks!

PTC doesn't support lists. If Zombies are sprites, there are attached variables that you can use. I'm too busy to explain it right now, so I'll let other people explain it for you.
PS:There's a Raspberry Pi thread in NL somewhere if you want to post there. :)

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

twinArmageddons

8,006. Posted:

i finally got around to redesigning the menus :D
the main menu was just modified a bit, but the mission select was deleted and remade from scratch
http://imageshack.com/a/img708/8177/sj8b.jpg
http://imageshack.com/a/img203/6403/55n9.jpg
http://imageshack.com/a/img5/820/bj6v.jpg

get in loser we're going titan hunting

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

AuthorMessage
Avatar

noxuss

8,007. Posted:

Yo people, I'm out here lurking and playing your awesome games. They are all soooo fun :). Anyways, does anyone know how to use SPOFS to make something go the same speed no matter where it's heading?

noxuss

AuthorMessage
Avatar

Discostew

8,008. Posted:

I haven't truly decided what I want to do after Megaman 2 PTC, but I have had thoughts about making The Guardian Legend (another NES game). I already made one of the song tracks for it posted earlier. The main problem for me with that is the vertical scrolling shooter portion, as there are no "map rips" for those parts that I could find on the internet. Having examined the game itself so far, the actual playable area (when you take out the HUD at the bottom of the screen) is exactly 256x192, so that's a nice coincidence. I could throw the HUD and other stuff on the bottom screen if need be.

"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

twinArmageddons

8,009. Posted:

i did what persson said to reduce lag in aottg and i removed a ton of lag. now the forest isn't nearly as laggy although it's still a bit laggy. hopefully i can shorten some more stuff and reduce the lag even more :D i also started working on a new character selection with 8 characters, although i'll only use 4 of them. i'm also working on adding custom character support with a set of template sprites. you'll have to make the sprites in CHRED and they'll have to be 64x64

get in loser we're going titan hunting

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

AuthorMessage
Avatar

Slayer

8,010. Posted:

I tried LOCATE 0,0:?"100" in a good place. It didn't work! This is starting to get annoying.

"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

Discostew

8,011. Posted:

0Games wrote:

I tried LOCATE 0,0:?"100" in a good place. It didn't work! This is starting to get annoying.

Explain what you mean by "it didn't work"? Did it come up with an error? Are you using CLS at any point after that line? Are you printing against a background of a solid color, and if so, what do you have COLOR set to? The console can print from an assortment of 16 colors, with each one taking the 16th color from each 16-color palette row. If you have a solid black background, and you used COLOR 1 prior to printing, your text will be written with a black color (assuming you haven't changed the palette either manually or through a LOAD command) and it will look like it was not printed. Here is the list of colors that be used for printing on the console when using "COLOR x" prior to it on the default background palette.

0 - White, 1 - Black, 2 - Grey, 3 - Yellow, 4 - Light Green, 5 - Green, 6 - Peach, 7 - Orange
8 - Brown, 9 - Turquoise, 10 - Purple, 11 - Blue, 12 - Pink, 13 - Red, 14 - Dark Grey, 15 - Light Grey

(Colors taken from the 55th page of the Petit Computer manual on their website)

"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

TAINT_Zzyex

8,012. Posted:

Discostew wrote:

I haven't truly decided what I want to do after Megaman 2 PTC, but I have had thoughts about making The Guardian Legend (another NES game). I already made one of the song tracks for it posted earlier. The main problem for me with that is the vertical scrolling shooter portion, as there are no "map rips" for those parts that I could find on the internet. Having examined the game itself so far, the actual playable area (when you take out the HUD at the bottom of the screen) is exactly 256x192, so that's a nice coincidence. I could throw the HUD and other stuff on the bottom screen if need be.

ehem I have some ultima 4 sprites and grps I could hook you up with, i've lost the will to program it...

"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

Lego-Meister

8,013. Posted:

IAmAPerson wrote:

@Lego-Meister or you can do

GFILL 0,0,255,191,colour

Yes, but using colset changes the BG without messing up the graphic sceen. It changes the backmost layer.

Edited on by Lego-Meister

Some programmers pride themselves on how many more lines of code they can write. I pride myself on how many less.

3DS Friend Code: 3652-1447-0455 | Nintendo Network ID: Legos-Meister

AuthorMessage
Avatar

TAINT_Zzyex

8,014. Posted:

[quote=IAmAPerson]

Lego-Meister wrote:

@Lego-Meister or you can do

don't use blockquote just clip and do [/quote[
(with the last braket faceing in). also i've decided to make a game similar to a game in the mud and blood series. What war should I make the game based in?

"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

noxuss

8,015. Posted:

Alright guys, so I'm making a 2d defense style game. and every wave, I want there to be a different amount of enemys, and different kinds (only one kind for each wave though). Would this be possible? I'm thinking somewhere along the lines of like a FOR-NEXT loop but I suck with them.

noxuss

AuthorMessage
Avatar

TAINT_Zzyex

8,016. Posted:

noxuss wrote:

Alright guys, so I'm making a 2d defense style game. and every wave, I want there to be a different amount of enemys, and different kinds (only one kind for each wave though). Would this be possible? I'm thinking somewhere along the lines of like a FOR-NEXT loop but I suck with them.

what im doing is

GOSUB @wavePRINT "WAVE OVERWAVE=WAVE+1
IF WAVE=WAVE+1THEN ENEMY=ENEMY+1IF WAVE=5 THEN GOTO @WAVE 5
every 5 waves a new enemy type could be added. Also 1 enemy is added per wave.

Edited on by TAINT_Zzyex

"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

Slayer

8,017. Posted:

Discostew wrote:

0Games wrote:

I tried LOCATE 0,0:?"100" in a good place. It didn't work! This is starting to get annoying.

Explain what you mean by "it didn't work"? Did it come up with an error? Are you using CLS at any point after that line? Are you printing against a background of a solid color, and if so, what do you have COLOR set to? The console can print from an assortment of 16 colors, with each one taking the 16th color from each 16-color palette row. If you have a solid black background, and you used COLOR 1 prior to printing, your text will be written with a black color (assuming you haven't changed the palette either manually or through a LOAD command) and it will look like it was not printed. Here is the list of colors that be used for printing on the console when using "COLOR x" prior to it on the default background palette.

0 - White, 1 - Black, 2 - Grey, 3 - Yellow, 4 - Light Green, 5 - Green, 6 - Peach, 7 - Orange
8 - Brown, 9 - Turquoise, 10 - Purple, 11 - Blue, 12 - Pink, 13 - Red, 14 - Dark Grey, 15 - Light Grey

(Colors taken from the 55th page of the Petit Computer manual on their website)

I did not use COLOR, I'm using a background. It didn't show an error or anything, the text just didn't show. I expected it to, but it just didn't do anything. It ran normally as well. I'll remember these, they will help. Maybe I just need a different color for text...

Edited on by Slayer

"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

Bluerobin2

8,018. Posted:

noxuss Its very possible, But I think a two dimensional array is your friend there.

Houston, We have a Syntax Error.

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

3DS Friend Code: 3007-9228-5126

AuthorMessage
Avatar

noxuss

8,019. Posted:

Bluerobin2 wrote:

noxuss Its very possible, But I think a two dimensional array is your friend there.

Ooh, that's a good idea, but I'm not sure where to start.

noxuss

AuthorMessage
Avatar

Lego-Meister

8,020. Posted:

Look at this I found. Amazing stuff right?
Japan PTC Contest Winners

Some programmers pride themselves on how many more lines of code they can write. I pride myself on how many less.

3DS Friend Code: 3652-1447-0455 | Nintendo Network ID: Legos-Meister