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

Metal Slug: Assault

Started by matrefeytontias, March 14, 2015, 11:52:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dream of Omnimaga

Quote from: matrefeytontias on March 18, 2015, 08:04:12 PM
Well the problem is that I do way too many backups. Like, I erase all my working backups with backups of broken source because I backup before testing, and when I see it doesn't work it's too late. That's what happened, so I'm restarting from scratch (like I said, it's only 2 kB worth of code so it should be fast).
A suggestion I have would be to copy your backups in a different folder elsewhere like how for example I got a folder for FFMF called March 17th backup. That way, if you overwrite a good backup afterward you can simply go a few days back.

Anyway good luck matref!
  • 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
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Snektron

i backup tool less. And if i backup i overwite the old backup :P
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


novenary

Git ftw ? :P

Ok I know you can't exactly use it in axe but still.

Snektron

I don't really like to use git unless i'm uploading source to the public / workng on a project with someone else
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


novenary

Oh really ? I love it personally, it's very convenient.

Duke "Tape" Eiyeron

Very convenient and useful. If you know enough git, you can swiotch over three (or more) feature programing, bug fixing and documenting! :p

But well, How is Metal SLug going on after the source code loss?
  • Calculators owned: A lot.

matrefeytontias

I got back to where I was, with one single bug left instead of an indefinite number like before. This one seems to be tricky though. I'll definitely post a screenshot once I fix this one.
  • 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

Snektron

  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


matrefeytontias

#53
Alright :D finally it's fixed and working. I even show you the size of the program, how nice is that. Also, note that the size includes that fat clipped line routine I wrote and all of Axe's routines.



As I said, levels can have virtually infinite length since coordinates are converted to screen coordinates before any test that might result in an overflow.
  • 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

CKH4

Oooh, that looks amazing. The size is quite incredibly small. Do you slide if the line is slanted?
  • Calculators owned: TI-83+, TI-84+


matrefeytontias

You don't in Metal Slug, so I didn't want to implement it. I know how to do it, but I'm afraid it will slow things down too much (remember Metal Slug is a cataclysm worth of sprites).

If you want to know how to implement sliding on steep slopes, here's the theory : when an object hits a surface with a certain velocity, this velocity is reflected according to the normal vector of the surface (ie the vector that's orthogonal to the surface on the point where the object hit it), and eventually reduced according to surface hardness factors.. Steep slopes make you slide because the weight vector of the object is reflected in such a way that it pushes the object away from the surface, which then falls with augmented velocity.
  • 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

Nice Metal Slug sprite and textures. :P

Kidding aside this looks quite good and I'm glad you got slopes working. Making levels like this should spice the game up. :)
  • 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
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

matrefeytontias

I know right, I worked hard on those visuals :P

Actually you won't see those lines in the final game because they are actually hitboxes, not ground. On the other hand, you'll see nicely tilemapped levels, magically matching with the underlying physics system.
  • 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

Hehe, why not making a tilemapper which would cook the line boundbing box it self? (And how will you manage multiple lines if you ever want to do that?)
  • Calculators owned: A lot.

matrefeytontias

Because that's not possible :P and by the way there are multiple lines, I don't really understand what you're asking.
  • 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

Powered by EzPortal