Join us on Discord!
You can help CodeWalrus stay online by donating here.

Axagon

Started by matrefeytontias, December 21, 2014, 10:18:21 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

Duke "Tape" Eiyeron

DJ O, just make the rotations, the pesudo perspective can be done with some tweaks to the simple formulas (I should find them again. I lost them)
  • Calculators owned: A lot.

Dream of Omnimaga

Yeah it's the formulas that I am missing actually, plus getting collision done would probably require me to learn about polar coordinates and that stuff anyway.

Also I wonder how hard it is to use polar coordinates that are pixel-based instead of Window-based, because on the Prime I prefer to work in pixel mode to avoid changing user's window settings (people didn't care in the 90's and early 2000's but nowadays whenever a program does it they bitch and moan about it like if it was worse than Custer's Revenge).
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Duke "Tape" Eiyeron

Actually, collisions on this game is stupidly easy and not touching any polar coordonate stuff:

Let's say that your current angle is in [0, 360] (I like degres), in Hexagon, you have six sides, so you're on the side a/360.
For the obstacle, you have just its side, its length(depth) and it's time.  Once it reaches the center hexagon (after a certain time), if your angle is in this side, game over. If you want to have Super-Hexagon-esque collisions, you just check at the meeting the death, and to stop at the "wall", you just check and clamp to a/60.
  • Calculators owned: A lot.

matrefeytontias

Well yeah, that "angle" is called a polar coordinate. I'm applying this technique, because everybody would.
  • Calculators owned: TI-83+.fr, TI-Nspire CAS prototype, TI-84+ CSE, TI-Nspire CX
My TI games (some got their own article on non-calc websites !) : http://www.ticalc.org/archives/files/authors/112/11202.html

My moozik (100% free metal) : http://www.soundcloud.com/matrefeytontias

novenary

Hmmm, looks pretty good so far. Keep it up. :)

Duke "Tape" Eiyeron

You made me dig unto my 2yo prototype on Casio. I fixed things here and there but it's already working. I should poke Adbook (it was a duo work back then) for doing some work with me too. It's fun because it's quite close to what you did actually! ^^
  • Calculators owned: A lot.

Dream of Omnimaga

Hm is he still around in the community? I think I recall seeing that name before. It would be nice to see new programs from him too indeed. Also Siarpan :P
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Duke "Tape" Eiyeron

Adbook is deep in his studies and Sirapran, I don't know 'bout him.
  • Calculators owned: A lot.

novenary

Hmmm, you should poke Siapran into coming to CW. :P

Duke "Tape" Eiyeron

He doesn't find the time to derp or program between the school and his preoccupations. We're derailling the topic quite heavily, should we stopping?
  • Calculators owned: A lot.

novenary

Oh ok. And yes, back on topic. :)

matrefeytontias

So yeah, back on topic. Collisions are implemented, next is scoring. Aaand I actually want to bring it a little further afterwards, so we'll see about that when the time comes :3 (I also have to do a titlescreen first).
  • Calculators owned: TI-83+.fr, TI-Nspire CAS prototype, TI-84+ CSE, TI-Nspire CX
My TI games (some got their own article on non-calc websites !) : http://www.ticalc.org/archives/files/authors/112/11202.html

My moozik (100% free metal) : http://www.soundcloud.com/matrefeytontias

Dream of Omnimaga

Cool ro hear Matref. I can't wait to see the final product ^.^
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

matrefeytontias

  • Calculators owned: TI-83+.fr, TI-Nspire CAS prototype, TI-84+ CSE, TI-Nspire CX
My TI games (some got their own article on non-calc websites !) : http://www.ticalc.org/archives/files/authors/112/11202.html

My moozik (100% free metal) : http://www.soundcloud.com/matrefeytontias

Keoni29

That is pretty darn impressive!
If you like my work, why not give me an internet?

Powered by EzPortal