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

nKaruga, PC demake of Ikaruga (ported from TI-Nspire)

Started by matrefeytontias, September 15, 2015, 05:35:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

matrefeytontias

Well I mean if you're not gonna make a pull request you're just gonna have your fork sitting there and you'll need to keep it up-to-date with my version. Although I wouldn't advise you to do an actual pull request because it doesn't meet my requirements for the game, that is, to be able to work on it and play it without sudo rights.

Congrats on the GCW0 port though, that looks cool. Just like Juju added the Mac target, it would be nice if you could add a target for that without rewriting all of my toolchain :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

  • 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

Dudeman313

Quote from: gameblabla on November 02, 2016, 06:43:47 AM
QuoteSomething I am curious about is what are the minimum system requirements. For example, would the game run on @Jkolade936 PC from 1989? :P
Matref's version has much higher requirements, despite it being based on the Ti-Nspire port.
That's because software rendering on SDL2 is very slow... much slower than its predecessor, SDL 1.2.
Even a GCW0 with its 1Ghz MIPS32r2 cpu cannot run this game smoothly...
So yeah, it requires at least a Pentium III 1.4Ghz and a decent GPU.

Speaking of which, i spent 4 days trying to switch to textures.
The game runs much faster (1600 Fps versus 300 Fps) and rotations also look nicer now.

Here's my fork :
[spoiler][/spoiler]
And here is matref's version using the software renderer :
[spoiler][/spoiler]

Unfortunely, i couldn't implement everything and i have encountered lots of bugs so i had to introduce lots of ugly hacks.
The font looks different, the background's scrolling is different, enemies flashes black (due to SDL's blending support not working properly)
and the rotations are not quite accurate...

This version should work on better on older pcs with a somewhat ok gpu tho.
Here are the download links (i fixed the Linux version too btw) :
https://gameblabla.nl/files/nkaruga/nKaruga-xenial-amd64.deb
https://gameblabla.nl/files/nkaruga/nKaruga-windows-x86.zip
My PC is from 2008...  <_<
But I have a Pentium Dual Core, and my graphics are permanently Open GL 1.1.
I'll try it from Linux.
  • Calculators owned: TI-84 PCE
  • Consoles, mobile devices and vintage computers owned: Android O Phone
Does this qualify as a signature? 
The answer is "Sure."


gameblabla

Quote from: Jkolade936 on November 04, 2016, 12:31:32 AM
My PC is from 2008...  <_<
But I have a Pentium Dual Core, and my graphics are permanently Open GL 1.1.
I'll try it from Linux.
Feel free to give the Linux version a try.
However, SDL2 only requires Direct3D 9/OpenGL 1.x for hardware rendering so it should work on your PC as well.
  • Calculators owned: None (used to own an Nspire and TI-89)

Dudeman313

Worked great! Game was smooth and speedy. Icon's cool, but when the WARNING message comes up, the background just scrolls and there's no more action.
  • Calculators owned: TI-84 PCE
  • Consoles, mobile devices and vintage computers owned: Android O Phone
Does this qualify as a signature? 
The answer is "Sure."


gameblabla

Quote from: Jkolade936 on November 04, 2016, 01:41:44 AM
Worked great! Game was smooth and speedy. Icon's cool, but when the WARNING message comes up, the background just scrolls and there's no more action.
Hmm... I think i had pushed a buggy build.
I'll fix that, thanks JKolade. (surprised you made it this far !)
  • Calculators owned: None (used to own an Nspire and TI-89)

matrefeytontias

#96
I mean you get infinite continues, so you can finish the game no problem :P you'll get 0 points though, obviously, because your score and max chains are resetted on every continue.

@Jkolade936 can you test my build ? I don't have a Linux machine available unfortunately so you'll have to compile it yourself. It should be easy though, just download the source code as a zip ("Clone or Download" button), extract it somewhere and run make linux in its directory from a terminal. You can then run bin/nix/nKaruga.

EDIT : if you guys want a challenge, try to beat my highscore of over 4 million points after level 2. I did that by getting every single possible score chain from the first level and most of them in the second one (while not doing in the process, except maybe against the second boss).
  • 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

Dudeman313

Quote from: gameblabla on November 04, 2016, 01:43:55 AM
Quote from: Jkolade936 on November 04, 2016, 01:41:44 AM
Worked great! Game was smooth and speedy. Icon's cool, but when the WARNING message comes up, the background just scrolls and there's no more action.
Hmm... I think i had pushed a buggy build.
I'll fix that, thanks JKolade. (surprised you made it this far !)
It was fun! I used [Z] for polarity switch, [X] for fire, [C] for power release and [Enter] for continue after dying several times. :P

Quote from: matrefeytontias on November 04, 2016, 02:01:15 AM
I mean you get infinite continues, so you can finish the game no problem :P you'll get 0 points though, obviously, because your score and max chains are resetted on every continue.

@Jkolade936 can you test my build ? I don't have a Linux machine available unfortunately so you'll have to compile it yourself. It should be easy though, just download the source code as a zip ("Clone or Download" button), extract it somewhere and run make linux in its directory from a terminal. You can then run bin/nix/nKaruga.

EDIT : if you guys want a challenge, try to beat my highscore of over 4 million points after level 2. I did that by getting every single possible score chain from the first level and most of them in the second one (while not doing in the process, except maybe against the second boss).
Sure, after I figure out how to fix elementaryOS. I accidentally managed to delete my entire home directory, and I can't put the backup there because of an annoying "Permission Denied" message. I'll make a new topic.
  • Calculators owned: TI-84 PCE
  • Consoles, mobile devices and vintage computers owned: Android O Phone
Does this qualify as a signature? 
The answer is "Sure."


matrefeytontias

Yeah those are the most commonly used danmaku coontrols. I kinda liked my left-handed I,O,P though :P glad you like my game anyway.

And wow the home directory thing sounds bad. Good luck with that, although if all you're getting is a permission denied, you should try sudo-ing it up.
  • 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

Dudeman313

I don't know how to get heightened privileges in the file explorer, and now I can't even log in.
I really don't want to lose my files tho.
  • Calculators owned: TI-84 PCE
  • Consoles, mobile devices and vintage computers owned: Android O Phone
Does this qualify as a signature? 
The answer is "Sure."


Dudeman313

Gosh, I hate double posting. >.<

Anyhoo, I completely scrapped my files and reinstalled, then tried to compile the build. I got this:

Building src/ExplosionAnim.cpp to bin/win/obj/ExplosionAnim.o ...
g++ -c src/ExplosionAnim.cpp -I./SDL2/nix/include/SDL2/x86_64 -I./SDL2_mixer/nix/include/SDL2/x86_64 -o bin/win/obj/ExplosionAnim.o -Wl,-rpath,'$ORIGIN/lib' -fpermissive -Wno-write-strings -Wno-pointer-arith -Wno-overflow -std=c++11
Assembler messages:
Fatal error: can't create bin/win/obj/ExplosionAnim.o: No such file or directory
Makefile:56: recipe for target 'bin/win/obj/ExplosionAnim.o' failed
make: *** [bin/win/obj/ExplosionAnim.o] Error 1
  • Calculators owned: TI-84 PCE
  • Consoles, mobile devices and vintage computers owned: Android O Phone
Does this qualify as a signature? 
The answer is "Sure."


matrefeytontias

#101
You're working on Linux right ? Then you should run make linux, not make, that's for Windows.
  • 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

Dudeman313

  • Calculators owned: TI-84 PCE
  • Consoles, mobile devices and vintage computers owned: Android O Phone
Does this qualify as a signature? 
The answer is "Sure."


matrefeytontias

Well that's weird. It seems to be fetching the correct SDL2 lib files (see the /nix/ part) but writing in the wrong obj directories (see the /win/ part). What version of Linux are you using ? Also, can you quote me the first few lines (10 or so) of running man make ?
  • 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

Quote from: matrefeytontias on November 04, 2016, 02:01:15 AM
I mean you get infinite continues, so you can finish the game no problem :P you'll get 0 points though, obviously, because your score and max chains are resetted on every continue.

@Jkolade936 can you test my build ? I don't have a Linux machine available unfortunately so you'll have to compile it yourself. It should be easy though, just download the source code as a zip ("Clone or Download" button), extract it somewhere and run make linux in its directory from a terminal. You can then run bin/nix/nKaruga.

EDIT : if you guys want a challenge, try to beat my highscore of over 4 million points after level 2. I did that by getting every single possible score chain from the first level and most of them in the second one (while not doing in the process, except maybe against the second boss).
At least I am glad it's not like Hong Kong 97, where if you take one hit, the entire game is over, or like in those hard as hell NES games that lacks checkpoints and continues. >.< The difficulty is also a bit easier than Ikaruga overall at first, although by level 2 it gets insane. Sadly, I didn't have time to get further than I was last time, though. I need to give the game another try. I also forgot my highscore.
  • 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