Forums

Topic: Petit Computer

Posts 5,421 to 5,440 of 9,618

InsertPi

ramstrong wrote:

IAmAPerson wrote:

Often speed and simplicity go together. Take this for example:

FOR X=2 TO 10 STEP 2
GLINE X,(X+1)•2,Y,(Y+1)•2
GLINE X,(X+2)•2,Y,(Y+2)•2
NEXT

...and...

FOR X=1 TO 5
XA=X•2:XB=(X+1)•2:YA=(Y+1)•2
GLINE XA,XB,Y,YA
GLINE XA,XB+1,Y,YA+2
NEXT

Which one is faster? The second one. Which one is simpler? The second one.

The first one is simpler. I have no trouble understanding it. The second one is confusing. I still don't get it after staring it for a while.

Aren't you missing Y loop? Can you give the timing values on these codes?

Oops! Mixed it up. The first one is faster and simpler... I did a couple tests. I don't know how to time correctly, so I shoved a VSYNC 1 in both of the loops, then printed TIME$ before and after each loop. The first is faster.

EDIT: and they do do the same thing. I tested

[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:

randomous

@swordx OK, I uploaded your Dungeon 1.1 stuff. Check out the wiki.

randomous

swordx

randomous wrote:

@swordx OK, I uploaded your Dungeon 1.1 stuff. Check out the wiki.

Thank you! I hope everyone enjoys it!!!

swordx

ramstrong

IAmAPerson wrote:

ramstrong wrote:

Aren't you missing Y loop? Can you give the timing values on these codes?

Oops! Mixed it up. The first one is faster and simpler... I did a couple tests. I don't know how to time correctly, so I shoved a VSYNC 1 in both of the loops, then printed TIME$ before and after each loop. The first is faster.
EDIT: and they do do the same thing. I tested

Y is still missing. You don't put VSYNC in loops when timing codes. Even WAIT is questionable. You still need to give TIME$ values for both.
XB=(X+1)•2:YA=(Y+1)•2
XB+1,YA+2
I think that's an off-by-one error. Because both +1, +2 should have the same value, at least.
EDIT
Petit Computer Journal #12 has an example for timing codes.

[Edited by ramstrong]

Petit Computer Journal
Old site http://ramstrong.blogspot.com

Let's just call a spade, a spade.

Gimmemorecoinz

hey if anyone wants to talk to me I'm in the live chat on the wiki page. Nothing fancy just hanging around.
Lastnight I was on but I missed a bunch of people saying hello. That chat really needs a sound effect or something.

Got a project? PM ME on here!
Youtube: lostkitty64x
Want help with coding? PM ME! PM ME PM ME!! XD
FC: WIll post later.
Systems I own: ds lite, 3DS, PC/gaming, steam platform. I play alot of games. Just ask ! Minecraft anyone? :D

Gimmemorecoinz

Not trying to waste forum page space (not that anyone's ever been concerned with that? )
I'm working on petit smash bros tonight and I might be able to get V1.2 LITE out by the end of this week. No promises yet but we'll see.
I have alot of things to add and do.

Got a project? PM ME on here!
Youtube: lostkitty64x
Want help with coding? PM ME! PM ME PM ME!! XD
FC: WIll post later.
Systems I own: ds lite, 3DS, PC/gaming, steam platform. I play alot of games. Just ask ! Minecraft anyone? :D

ramstrong

Gimmemorecoinz wrote:

Not trying to waste forum page space (not that anyone's ever been concerned with that? )
I'm working on petit smash bros tonight and I might be able to get V1.2 LITE out by the end of this week. No promises yet but we'll see.
I have alot of things to add and do.

Will you be using the graphics that bluerobin2 kindly gave you?

Petit Computer Journal
Old site http://ramstrong.blogspot.com

Let's just call a spade, a spade.

Gimmemorecoinz

ramstrong wrote:

Gimmemorecoinz wrote:

Not trying to waste forum page space (not that anyone's ever been concerned with that? )
I'm working on petit smash bros tonight and I might be able to get V1.2 LITE out by the end of this week. No promises yet but we'll see.
I have alot of things to add and do.

Will you be using the graphics that bluerobin2 kindly gave you?

Ermm I never saw that message? Or maybe I don't remember.

Got a project? PM ME on here!
Youtube: lostkitty64x
Want help with coding? PM ME! PM ME PM ME!! XD
FC: WIll post later.
Systems I own: ds lite, 3DS, PC/gaming, steam platform. I play alot of games. Just ask ! Minecraft anyone? :D

Gimmemorecoinz

I didn't get as far as I thought I would. Oh well. There's always tommorow. :3 and the next day. and so on. One day V1.2 will be out. I might have more time tommorow. I'll be so happy when it finally releases. The edge of link's sword takes up an extra sprite in memory. This might make it hard to test for sword specific collisions... Oh well I might try using ray tracing collision.. or something to that effect :/ we'll see o.0 Or line intersection.
Mehh I need to finish V1.2 so I can work on other stuff XD

Got a project? PM ME on here!
Youtube: lostkitty64x
Want help with coding? PM ME! PM ME PM ME!! XD
FC: WIll post later.
Systems I own: ds lite, 3DS, PC/gaming, steam platform. I play alot of games. Just ask ! Minecraft anyone? :D

Ralph

@IAmAPerson
To have multiple block IDs try to save all the textures in one grp file then you can do something like tex(t+blockoffset,0).

[Edited by Ralph]

Ralph

InsertPi

Ralph wrote:

@IAmAPerson
To have multiple block IDs try to save all the textures in one grp file then you can do something like tex(t+blockoffset,0).

•gasp• and then... When the map says block ID 2, then do what you said! WHY DIDN'T I THINK OF THIS?!?! You will get a spot in the credits 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:

607jf

@IAmAPerson You can ad me if ya want My Fc is 4742-5514-6521. Turns out the xl has the screen scratch problem. :/ on another note i MIGHT try smilebasic.

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

InsertPi

607jf wrote:

@IAmAPerson You can ad me if ya want My Fc is 4742-5514-6521. Turns out the xl has the screen scratch problem. :/ on another note i MIGHT try smilebasic.

I will once I get my 3ds. I always forget to bring it...

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

I have no idea what to put in this update :/ Any suggestions for me? Also I'm on the PTC wiki live chat.

[Edited by BonChoi]

Programmer for Minecraft DS!

Press B!

Ralph

IAmAPerson wrote:

You will get a spot in the credits now.

Neat

Currently working on a football(soccer) game, got a couple of things working like passing and shooting but it will be a while before I get the AI and collision detection done. Oh well at least the sprites look cool.

[Edited by Ralph]

Ralph

SmokedSausage

I'm running out of ideas....If you guys got any recommendations i'll be at the wiki live chat

Worst case scenario i may do a Punch-Out port!

(Dang forums are slow today.)

[Edited by SmokedSausage]

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

X:

Miblon

New member of NL here. I've been secretly stalking this thread as a guest since I got PTC and I finally got the courage to make a account. I have some questions though.

1. Is a Cave Story port or similar game possible? Platformers and RPGs are popular genres on Petit Computer, and if you mix them together you get the genre of Cave Story. Sure, it's going to be difficult to program, but I just want to know if it's possible.

2. My QR reader is bugged. When I try to download a Qr code, the camera to do so is all pink. My 3DS camera application works fine though. Is there a solution to fix this?

3. This isn't a question, but Randomous, Ramstrong, Morphtorok are all awesome.

P.S. I typed this with my Wii U GamePad.

This isn't a interesting signature. Go look at someone elses.
Friend Code: 5370-0889-8930

607jf

Miblon wrote:

New member of NL here. I've been secretly stalking this thread as a guest since I got PTC and I finally got the courage to make a account. I have some questions though.

1. Is a Cave Story port or similar game possible? Platformers and RPGs are popular genres on Petit Computer, and if you mix them together you get the genre of Cave Story. Sure, it's going to be difficult to program, but I just want to know if it's possible.

2. My QR reader is bugged. When I try to download a Qr code, the camera to do so is all pink. My 3DS camera application works fine though. Is there a solution to fix this?

3. This isn't a question, but Randomous, Ramstrong, Morphtorok are all awesome.

P.S. I typed this with my Wii U GamePad.

1.With enough effort im sure you could

2.Try Redownloading it.

3.Yes, Yes they are.

If im wrong abou #1 somebody correct me. lol

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

SmokedSausage

Miblon wrote:

New member of NL here. I've been secretly stalking this thread as a guest since I got PTC and I finally got the courage to make a account. I have some questions though.

1. Is a Cave Story port or similar game possible? Platformers and RPGs are popular genres on Petit Computer, and if you mix them together you get the genre of Cave Story. Sure, it's going to be difficult to program, but I just want to know if it's possible.

2. My QR reader is bugged. When I try to download a Qr code, the camera to do so is all pink. My 3DS camera application works fine though. Is there a solution to fix this?

3. This isn't a question, but Randomous, Ramstrong, Morphtorok are all awesome.

P.S. I typed this with my Wii U GamePad.

Welcome to the forums!
And yes the people listed are very awesome.

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

X:

Sorry, this topic has been locked.