Forums

Topic: Petit Computer

Posts 5,321 to 5,340 of 9,618

InsertPi

Anonymous_Ninja wrote:

no offense taken @IAmAPerson, its your game, and if you dont want anyone else working on it, like i said before, i understand completely.

i was planning on doing a map renderer if i tried to do a larger map for the same reasons as you said. i doubt petit computer could handle rendering a map larger than 32x32 anyway. nothings worse than an awesome game that runs too slow to play sometimes cough minecraft cough. the way i thought of it was each pixel in the GRP would be for a block and the color would be the block's id. then at some point, such as when the map is loaded, the grp is converted to data, then the data for 32x32 blocks (or however much when the renderer is added) around the player is given to the raycaster. this is just a rough idea, and ill need to look into the code more like it said. i was also thinking of using the chunk system, like in minecraft, to load sections of the map, but have it 8x8 since the map is smaller and the blocks are bigger anyway.

@BonChoi "brag and go kid"?

You already know how the blocks are saved and loaded. Exactly how you said. "Brag and go" means you help out with little just to say you helped, then leave and never come back.

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.

X:

BonChoi

@IAmAPerson Or a person who is like "Guys I made the FULL VERSION of Minecraft in petit computer! Right now I'm coding the ender Dragon!"

Programmer for Minecraft DS!

Press B!

Anonymous_Ninja

i dont see the point in helping a little than leaving, then you're shunned by the real game makers and the splash text will insult you forever.

the thing i need to look into is how the game knows how to render each block. im assuming it uses player coords and then renders the blocks acording to those, if thats the case then ill need to figure out how to use that with a larger map.

we had one of those guys on the forum a long time ago who said he had made minecraft in petit computer.

[Edited by Anonymous_Ninja]

nope, no signature here...
I lied, here's my friend code: 2406-5448-5608

InsertPi

Anonymous_Ninja wrote:

i dont see the point in helping a little than leaving, then you're shunned by the real game makers and the splash text will insult you forever.

the thing i need to look into is how the game knows how to render each block. im assuming it uses player coords and then renders the blocks acording to those, if thats the case then ill need to figure out how to use that with a larger map.

we had one of those guys on the forum a long time ago who said he had made minecraft in petit computer.

He was a troll. He never did it. ANYWAY - I fixed the jittery bottom screen thing. Here's how it works: So that the game doesn't show the actual drawing of anything, it draws on the bottom screen, then it draws an invisible screen (GPAGE 2). While its drawin on 2, it shows 1. The it switches. It draws on 1 and shows 2. That's how it works. All I had to do was use pages 2 and 3 instead of 1 and 2. Next up, block IDs! •oh noez hlp dis gunna be troo prigrammn hell...•

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.

X:

Anonymous_Ninja

i have one map data related question @IAmAPerson, the different IDs are just going to be different numbers in the map data right?

nope, no signature here...
I lied, here's my friend code: 2406-5448-5608

InsertPi

Anonymous_Ninja wrote:

i have one map data related question @IAmAPerson, the different IDs are just going to be different numbers in the map data right?

Put in the most basic way possible, yes. I will have different numbers in the @MAPDATA, then read, if its a 1, I'll load brick texture. Oops! The next number is a 2! Just change the TEX array to match the block!

One question @Anonymous_Ninja, what all do you know about PTCom? Please tell me if you know about the following:
DATA
Graphics
Music
Advanced algorithms
Math
Problem solving
Design
Just tell me what all you know about. Also, please tell me the level of math you're on. Sorry for the questions. After this, I'll most likely let you help! (Also, a spot in the credits, splash text, and credit on the Wiki. But the best, a chance to help!)

[Edited 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.

X:

SmokedSausage

boot wrote:

Hansausage wrote:

Can someone help me..... I need it to where when the sprite touches a coordinate it will goto @label just a test any helpers?

X=15
Y=15
SPSET 1,1,0,0,0,1
SPOFS 1,X,Y
'Add your movment
IF X==16 AND Y==16 THEN GOTO @LABEL

I have tried....No luck

Hi, I'm SmokedSausage and i like meemoos :^)

X:

SmokedSausage

IAmAPerson wrote:

Anonymous_Ninja wrote:

i have one map data related question @IAmAPerson, the different IDs are just going to be different numbers in the map data right?

Put in the most basic way possible, yes. I will have different numbers in the @MAPDATA, then read, if its a 1, I'll load brick texture. Oops! The next number is a 2! Just change the TEX array to match the block!

One question @Anonymous_Ninja, what all do you know about PTCom? Please tell me if you know about the following:
DATA
Graphics
Music
Advanced algorithms
Math
Problem solving
Design
Just tell me what all you know about. Also, please tell me the level of math you're on. Sorry for the questions. After this, I'll most likely let you help! (Also, a spot in the credits, splash text, and credit on the Wiki. But the best, a chance to help!)

I have previously added splash text to Raycraft just as a little bit cooler of a menu. I could send you the QR code!

Hi, I'm SmokedSausage and i like meemoos :^)

X:

boot

Im not sure what GPAGE is but how do you use it? and what does it do?

Just your average talking boot. FC: 0791-4881-1672 for Smash and Pokemon.

Anonymous_Ninja

@IAmAPerson thanks i figured thats how it was going to work but i wanted to make sure. the way i was planning on converting the map was to have it set a variable for each pixel of the GRP and use the variables in the data, thats why i needed to make sure you were doing it that way first. there might be a faster way though because if i do this it will probably take a few seconds to load the map, the more blocks IDs that are added the longer loading the map will take. it might not be that bad though, and besides loading maps do usually take a little bit of time anyway.
i understand DATA
pretty good with graphics
music i don't know, havent really taken the time to learn how those commands work
yeah i understand algorithms
im pretty good at math
not sure exactly what you mean by problem solving
im not that great at designing things, i can if i have too, but dont expect anything fancy

@Boot the GPAGE command is for setting which screen to use when you use graphics commands. for example GPAGE 1 will make it so that any graphics command you use will show up on the touch screen.

[Edited by Anonymous_Ninja]

nope, no signature here...
I lied, here's my friend code: 2406-5448-5608

twinArmageddons

Hansausage wrote:

boot wrote:

Hansausage wrote:

Can someone help me..... I need it to where when the sprite touches a coordinate it will goto @label just a test any helpers?

X=15
Y=15
SPSET 1,1,0,0,0,1
SPOFS 1,X,Y
'Add your movment
IF X==16 AND Y==16 THEN GOTO @LABEL

I have tried....No luck

try making it bigger
IF X>10 AND X<20 AND Y>10 AND Y<20 THE GOTO @LABEL

get in loser we're going titan hunting

BonChoi

@IAmAPerson I will attempt to port Hal 2 and I know I will fail XD

Programmer for Minecraft DS!

Press B!

steriaca

programmerpro wrote:

BonChoi wrote:

programmerpro wrote:

Can someone explain the DATA command? I don't mean arrays I mean graphics. EXPLAIN IT don't just say a certain game has it.

I think the manual explains this.

The manual isn't helpful at all to me.

Welcome to the club. I downloaded the manual, and all it realy is, is an oversize version of the less than helpful 'help' pages bundled with the program.

My Friend Code is 3368-1310-0690.

InsertPi

Does anyone know if it's possible to import a PNG into PTCUtilities and convert it into a GRP? I need to know how... And also, @randomous @boot @BonChoi @steriaca @anonymous_ninja I'm on the PTCom Wiki Live Chat right now.

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.

X:

InsertPi

@boot GPAGE 0 is top screen. 1 is bottom screen. 2 and 3 are invisible, for purposes like what I'm using them for.

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.

X:

Discostew

IAmAPerson wrote:

Does anyone know if it's possible to import a PNG into PTCUtilities and convert it into a GRP? I need to know how... And also, @randomous @boot @BonChoi @steriaca @anonymous_ninja I'm on the PTCom Wiki Live Chat right now.

Under the Graphic Editor window, there are 2 buttons for Import Picture. One that will convert the image to the current color palette, or one that is made from the image (scaled down to 256 colors). It will not scale down the image itself to fit into 256x192. Instead, it will crop it to that dimension if it is over it, so if you want an image to be 256x192, and the source image is greater, then you'll have to scale it down yourself with something like Paint.

Be aware that it requires Quicktime installed to import images. Without it, nothing will happen. Also, there might be a problem with importing PNG, only because of how it deals with transparency. PNG Images with transparency might show up having large solid blocks of color in the areas that are meant to be transparent.

[Edited by Discostew]

Discostew

Switch Friend Code: SW-6473-2521-3817

InsertPi

Ok. The block textures are now on my 3DS. Now to convert them to DATA, and the block textures in-game for MCDS are the ones used in the PC game!

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.

X:

607jf

IAmAPerson wrote:

Ok. The block textures are now on my 3DS. Now to convert them to DATA, and the block textures in-game for MCDS are the ones used in the PC game!

EPIC! Id never thought that id see projects as advanced as this! It just shows me how many devoted developers their are for petitcom. :3

[Edited by 607jf]

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

Anonymous_Ninja

cant wait for the minecraft block textures. Im assuming brick's ID will stay 1, but which block are you planning on adding in first? it will be funny to see later on how the block IDs in raycraft match up with the block IDs in real minecraft.

also, i would get on the live chat, but the wiki refuses to send me the confirmation email. :/

nope, no signature here...
I lied, here's my friend code: 2406-5448-5608

Sorry, this topic has been locked.