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.

Duke "Tape" Eiyeron

Hmm, not really long, the normal hibernation autonomy of the Prizm is around 160h IIRC. The Nspire has an advantage if using an ARM which is quite battery efficient IIRC but I still can kill the battery in one day of playing GBA games.
  • Calculators owned: A lot.

Dream of Omnimaga

Quote from: Eiyeron on March 18, 2015, 06:48:11 AM
Hmm, not really long, the normal hibernation autonomy of the Prizm is around 160h IIRC. The Nspire has an advantage if using an ARM which is quite battery efficient IIRC but I still can kill the battery in one day of playing GBA games.
Ah right. Thanks for the info. I'll definitively need to watch out if I play ASM/C games at higher speed on my PRIZM. :P As for the Nspire it depends of the OS and hardware combination. On some hardwares from early 2008, if you install both Ndless 1.0/1.1 and OS 1.1 you will get about 10 minutes of battery life when  playing GBC games due to a power management bug. On top of that turning the LCD ON will be very hard (you need to run a reboot program while the screen is disabled so it's kinda hit and miss)
  • 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

That's enough off-topic please.

Back on the subject, I successfully implemented the "ground physics" engine I had in mind, so that means non-horizontal ground is handled seemlessly. The algorithm has a constant complexity, so 5 lines or 1000 will make no difference performance-wise :)
Also, I figured out a way of handling those collisions regardless of where the character is, so that means that virtually, no overflow can happen. In practice, that means that any level can be infinitely long, as long as the right-side coordinates fit in 16-bits variables :P

Did I mention that all of this was less than 2 kB ? ;)

I'll post a screenshot as soon as possible.
  • 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 really want to have some talks with you to understand the collision system, please.
  • Calculators owned: A lot.

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

CKH4

Will we get a screenshot later today? That physics engine sounds impressive.
  • Calculators owned: TI-83+, TI-84+


matrefeytontias

Yeah, just the time to finish cleaning my guitar and transfer and shoot and stuff.
  • 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

(Off topic : do you have telegram? Its a fine way to communicate on one-on-one or in group)
  • Calculators owned: A lot.

matrefeytontias

No and enough with the off-topic >_< you have PM for those questions (and SMS for instance).
  • 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

Or maybe make a forum post about it (there are probably more users who want to know :P)
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Dream of Omnimaga

Matref please, there are more polite ways to warn people to get back on-topic than scolding them like n00bs. You should not make people scared of replying to your topics.

That said, I am amazed that you managed to fit the engine into 2 KB so far. I am curious how fast this will get with actual sprites.
  • 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 already asked to stop with the off-topic because there's already one page and a half of that.

Well, it's really because the calculations are really light. There's one loop for finding the line and a single If block to do the calculations, and that's it for the whole frame.
  • 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

Yeah just making sure CW remains  friendly place. Anyway from what I read on IRC, don't forget to backup often. It would suck if after 2 months of development you accidentally introduced a bug you cannot repair in the engine.
  • 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

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).
  • 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

Aw, that shucks. Hope you get that fixed in no time!
  • Calculators owned: A lot.

Powered by EzPortal