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 1 Guest are viewing this topic.

matrefeytontias

Hi,

It's been a while since I last worked on an Axe project because school kept me busy and non-motivated, but since it's the holidays, I thought of getting back into it.

I'm not getting straight back into Worms (I will, later) because I wanted to do a quick little project before, and that had to be Hexagon. Note that I'll only do Hexagon, not Super Hexagon.

Screenshots coming soon, at the time of writing everything has been done except collisions and patterns after 3 hours worth of programming. The game runs smoothly at 6 MHz as always.
  • 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

Quick projects can be the most rewarding ones. I like to finish making games and who doesn't.
If you like my work, why not give me an internet?

Dream of Omnimaga

Hexagon would be cool for Z80 calcs. :) There is one already called Super Square or something but it doesn't even look close to hexagon.
  • 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

#3
There you go, screenshot of it running at 6 MHz (as always, but I have to re-lose the habit of saying it everytime :P).



Also, you don't see it on the screenshot because it's randomized, but the rotation changes direction randomly (it will also change speed).

EDIT : oops, you actually see it :P
  • 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

Oooh pretty nifty so far. Glad you got rotation working by the way. That was the main feature the CSE version lacked. :D
  • 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

Yeah, I was thinking how I'd do that without a polygon filling routine (as I was pretty sure the poor 83+ wouldn't handle it), so I thought of giving up on filling surfaces and going full lines. It works rather nicely, but I'm worried about how it will look like with many obstacles.
  • 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

Duke "Tape" Eiyeron

I have the same thing running on Casio Fx-9860. it runs quite fast until multiple obstacles are there and the fps sinks down...
  • Calculators owned: A lot.

pimathbrainiac

Great job man! I was thinking about doing this, actually. Nice to see you beat me to the punch!
Well, I'm bach here too!

aetios

ceci n'est pas une signature

matrefeytontias

Alright, now that complex patterns are nicely supported and easy to add at will, the only things left are collisions and a proper menu !

  • 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

Holy hell that gets quite insane near the end! O.O

I also notice the lines are not as thick. Was it done for speed?
  • 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

pimathbrainiac

Looks nice! Will the collisions be handled as pixel perfects or some other way?
Well, I'm bach here too!

matrefeytontias

DJ: yeah, I reduced the thickness so I have less lines to draw.

pimath: I use the fact that the player's coordinates are polar to make collision detection easy: when the obstacle's R coordinate is close enough to the player's (which is a constant), just compare the angles of the player and each side of the obstacle.
  • 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

pimathbrainiac

Ah okay the polar coordinate system makes sense. I was thinking about that when I almost started this as a project, but I wasn't thinking about collisions.
Well, I'm bach here too!

Dream of Omnimaga

I never did 3D and rotation, so I would probably have an hard time porting this game to the HP Prime or CSE in short terms, but maybe if I ever learn them, I could manage to do it. For the HP Prime version I could use actual polygon commands since they're filled and just change the colors gradually without speed loss.
  • 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

Powered by EzPortal