Author Topic: My First Quantum Translocator  (Read 40620 times)

0 Members and 1 Guest are viewing this topic.

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: My First Quantum Translocator
« Reply #270 on: November 30, 2010, 06:51:41 am »
Where's that upload rush you promised?
Standard procedure. All updates must always take 3-5 days longer than expected to be delivered.
Which just means it is 3-5 days awesomer!
Would you, by any chance, happen to have bought an epic Mario hoodie yesterday?
Yes! How did you know?
Instincts, my friend. That and those security cameras and the... j/k :D

Offline JustCause

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 810
  • Rating: +115/-5
    • View Profile
Re: My First Quantum Translocator
« Reply #271 on: November 30, 2010, 08:21:45 am »
Why didn't you go to Portugal and warn ScoutDavid that you couldn't come and made him very sad?
I had to reread this a couple times to understand it. Lol scout. If I ever need to get out of the country you'll be the first person I call.

tonight i ordered this shirt
I want one.

PROJECT RELATED STUFF:
anyone know how to OR buffers? I've looked through the command list and there's no hardcoded way evidently...axe is hard. how are you guys all so good at this...
See you, space cowboy...

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: My First Quantum Translocator
« Reply #272 on: November 30, 2010, 02:41:52 pm »
Why didn't you go to Portugal and warn ScoutDavid that you couldn't come and made him very sad?
I had to reread this a couple times to understand it. Lol scout. If I ever need to get out of the country you'll be the first person I call.
Not me? D:

PROJECT RELATED STUFF:
anyone know how to OR buffers? I've looked through the command list and there's no hardcoded way evidently...axe is hard. how are you guys all so good at this...

Good question, I think this was asked in the Axe section before. You might want to check through the threads there. I'm sure there's a way around simply updating each pixel one by one...
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: My First Quantum Translocator
« Reply #273 on: November 30, 2010, 06:12:36 pm »
Why didn't you go to Portugal and warn ScoutDavid that you couldn't come and made him very sad?
I had to reread this a couple times to understand it. Lol scout. If I ever need to get out of the country you'll be the first person I call.
Not me? D:

DJ, it's just a matter of being cool!  Nah, you're cool j/k

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: My First Quantum Translocator
« Reply #274 on: December 01, 2010, 04:51:48 am »
Lol :P
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline JustCause

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 810
  • Rating: +115/-5
    • View Profile
Re: My First Quantum Translocator
« Reply #275 on: December 01, 2010, 08:49:49 am »
Lol scout. If I ever need to get out of the country you'll be the first person I call.
Not me? D:
Oh right, Canada is another country too...come to think of it, that's a little bit closer than Portugal. Hmm. I'll have to think this one over. :)

If you want a really extreme optimization for or-ing the screen, here it is.  It will be noticeably faster and smaller:
Code: [Select]
.# represents the 16-bit or operation
L₆→A
While -768-L₆
{A}ʳ#{A+L₃-L₆}ʳ→{A}ʳ+1→A
End
This seems like it should work. And apparently it runs >40x/second, so it's plenty fast. I've already implemented nondestructive sprites (with a noticeable speed increase attached,) so noncolliding text and backgrounds should come soon.
See you, space cowboy...

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: My First Quantum Translocator
« Reply #276 on: December 01, 2010, 11:34:55 am »
If that is the 16 bit OR operation, shouldn't you be incrementing A by 2 every cycle since you need to increment 2 bytes?

Offline JustCause

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 810
  • Rating: +115/-5
    • View Profile
Re: My First Quantum Translocator
« Reply #277 on: December 01, 2010, 11:42:49 am »
If that is the 16 bit OR operation, shouldn't you be incrementing A by 2 every cycle since you need to increment 2 bytes?
...dunno. not my code. prolly tho.
See you, space cowboy...

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: My First Quantum Translocator
« Reply #278 on: December 01, 2010, 12:41:49 pm »
If that is the 16 bit OR operation, shouldn't you be incrementing A by 2 every cycle since you need to increment 2 bytes?

No. Because of how loading values into 2-byte pointers works, it actually returns the address of the pointer plus 1.

Offline JustCause

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 810
  • Rating: +115/-5
    • View Profile
Re: My First Quantum Translocator
« Reply #279 on: December 01, 2010, 03:04:53 pm »
If that is the 16 bit OR operation, shouldn't you be incrementing A by 2 every cycle since you need to increment 2 bytes?

No. Because of how loading values into 2-byte pointers works, it actually returns the address of the pointer plus 1.
Thanks for the clarification.
See you, space cowboy...

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: My First Quantum Translocator
« Reply #280 on: December 08, 2010, 02:14:49 am »
Yeah, I won't be uploading until I have something intuitive. And stable. I'm fairly sure the dev build of the engine is broken right now, I might be writing outside of saferam...grr.

Also, if anyone has any ideas for a pathing system for platforms and hazards, that would be awesome. I've held off on making them because I want the data structures to support movement.

Spoiler For My activity level:
Well, over the weekend everything pretty much fell apart. I have a C or worse in every class and my dad nearly beat the shit out of me yesterday because of it (Mom got in the way and prolly saved me from quite a few bruises). They also searched my backpack and discovered my iPod, Game Boy Color, and two calc cables. Fortunately, I keep a spare elsewhere, so I'm not totally cut off.

More important are my priorities right now. I'm out of the house at 18 (I'm 15.5 and a junior), and my parents refuse to co-sign for a license, apartment, or any kind of loan. I don't qualify for most student loans anyway because my rents are in too high of an income bracket, and I can't join the military because of my bone defect. And there's no way in HELL I'm getting a scholarship. So I need to make sure I'm as presentable to potential employers as possible. With that in mind, my activity level is likely to stay where it's been recently. I can't get on during the weekends or holidays, but even during the week my activity level will be fairly low. I'm not quitting programming or Omni, because I love you guys too much, but I definitely need to take a look at my life and where it's going.

That said, I'll be doing an upload rush in a few hours. Included will be Missile Run DX, a sample maze generation program, a BASIC cipher program that uses the rand seed, and my DM utility for DnD 3.5. Basically everything cool that I've done and haven't shown you all yet.

Omni isn't getting rid of me just yet. :)

Cheers! -Cause
Wow, really sorry to hear. I know you said you reconciled, but still...I hope your home situation improves.  On a brighter note... how are things coming along with this, anything new?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: My First Quantum Translocator
« Reply #281 on: December 08, 2010, 03:34:50 am »
Yeah I am curious as well. Maybe he's busy with finals, though, but I hope he wasn't mega-grounded or something. X.x
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline JustCause

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 810
  • Rating: +115/-5
    • View Profile
Re: My First Quantum Translocator
« Reply #282 on: December 08, 2010, 08:58:56 am »
Yeah I am curious as well. Maybe he's busy with finals, though, but I hope he wasn't mega-grounded or something. X.x
I'm ok. Just lots of work is all. Progress is being made, slowly, and I hope to upload some unrelated things today.
See you, space cowboy...

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: My First Quantum Translocator
« Reply #283 on: December 08, 2010, 01:36:02 pm »
Yeah I am curious as well. Maybe he's busy with finals, though, but I hope he wasn't mega-grounded or something. X.x
I'm ok. Just lots of work is all. Progress is being made, slowly, and I hope to upload some unrelated things today.

That's great. I can see your signature is on 75% :D

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: My First Quantum Translocator
« Reply #284 on: December 08, 2010, 03:54:22 pm »
Cool to hear, I am curious what you'll come up with. :)
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)