• [Ndless] nKaruga 5 2
Currently:  

Author Topic: [Ndless] nKaruga  (Read 96228 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [Ndless] nKaruga
« Reply #165 on: October 21, 2014, 12:39:55 am »
I'M not familiar with non-modular behaviors. Does it means the bosses will follow a pattern you can memorize to beat them easier? I remember doing that in Metroid II Evolution for the 84+ and it was annoying to code, although I did the mistake of hard-coding everything rather than making a list of events that the program cycles through (although I think the latter might have been too slow in BASIC)

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: [Ndless] nKaruga
« Reply #166 on: October 21, 2014, 03:50:12 am »
Yep that's it. A non-modular behavior means that the boss will have a fixed behavior, and if you memorize it it will act as expected everytime.

Offline Princetonlion.tibd

  • Members
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 790
  • Rating: +3/-4
    • View Profile
Re: [Ndless] nKaruga
« Reply #167 on: October 21, 2014, 05:49:29 pm »
Which means we can "cheat" on this by memorizing the pattern? :trollface:

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: [Ndless] nKaruga
« Reply #168 on: October 22, 2014, 03:09:46 am »
You are supposed to memorize the pattern :P you won't last long if you don't.

Offline Princetonlion.tibd

  • Members
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 790
  • Rating: +3/-4
    • View Profile
Re: [Ndless] nKaruga
« Reply #169 on: October 22, 2014, 05:54:19 pm »
:P

I barely lasted past level two on the 83+ version, and I memorized the pattern (I think there was one) :P

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: [Ndless] nKaruga
« Reply #170 on: November 06, 2014, 11:49:53 am »
Today is a special day, and do you know why ?

Because the first public beta of nKaruga is released :w00t:

Thanks to the (painful for me) switch to the Ndless 3.6 SDK and to the help of geekboy for the last bug, the game has been purged of all previous (known) bugs and is also faster ! The game works with both Ndless 3.1 and 3.6, and also on both color and grayscales Nspire calcs.
So far the game features a gorgeous title screen thanks to pierrotdu18, customizable controls including the use of the touchpad, a scrolling background thanks to Metaru, an enemies system,  a fully-fledged bullets engine including normal bullets, power fragments, enemy homing and heavy lasers ; a working polarity, scoring and chaining system, a boss fighting system and three difficulty modes ! Since this is only a beta release, only level 1 is playable, but 99% of the final mechanics are already implemented (lacks continues),  and the boss battle is available at the end of the level !

Everything you need to know is in the readme ; you can go download the beta right away: http://www.ticalc.org/archives/files/fileinfo/461/46162.html

The final game will have 4 other levels and their corresponding bosses, highscore saving and possibly a replay system.

Don't forget to give feedback ;)
« Last Edit: November 06, 2014, 11:59:41 am by Matrefeytontias »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [Ndless] nKaruga
« Reply #171 on: November 06, 2014, 11:58:41 am »
Awesome! I'll have to try this version (and survive more than 1 second) right away :D

Offline Ivoah

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +3/-0
    • View Profile
    • Codinghobbit
Re: [Ndless] nKaruga
« Reply #172 on: November 06, 2014, 12:04:48 pm »
Yay! I played the tech demo and it was great. What new stuff is there in this version?
http://codinghobbit.no-ip.org
My Calcs:
TI-86 (now broken) $2
TI SR-56 - $0
TI-Nspire CX CAS - $152
TI-84+ Silver Edition - $56
TI-84+ Silver Edition - $0
TI-85 - $0
TI-73 Explorer VS - $10
ViewScreen - $3

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [Ndless] nKaruga
« Reply #173 on: November 06, 2014, 12:07:44 pm »
Ok I just tried now and the graphics and smoothness are just amazing. It's very polished per Nspire standards O.O


Also it's quite hard although not as much as CaDan. :P It got signifiantly easier after I figured out that we could hold down the fire button rather than mashing it non-stop, though.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: [Ndless] nKaruga
« Reply #174 on: November 06, 2014, 01:34:23 pm »
Thanks to the (painful for me) switch to the Ndless 3.6 SDK and to the help of geekboy for the last bug, the game has been purged of all previous (known) bugs and is also faster ! The game works with both Ndless 3.1 and 3.6, and also on both color and grayscales Nspire calcs.
So far the game features a gorgeous title screen thanks to pierrotdu18, customizable controls including the use of the touchpad, a scrolling background thanks to Metaru, an enemies system,  a fully-fledged bullets engine including normal bullets, power fragments, enemy homing and heavy lasers ; a working polarity, scoring and chaining system, a boss fighting system and three difficulty modes ! Since this is only a beta release, only level 1 is playable, but 99% of the final mechanics are already implemented (lacks continues),  and the boss battle is available at the end of the level !
I am not even in your credits list D:
* Hayleia sues matref
jk :P

Great work for the boss (and thanks for the three difficulty modes :P) ! I don't know what are the other programs competing for the POTY but this one should be a serious entry :)
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: [Ndless] nKaruga
« Reply #175 on: November 06, 2014, 02:03:38 pm »
You're in the readme though, that shows you didn't read it D:<

Also yeah I hope it'll make a good score :X

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: [Ndless] nKaruga
« Reply #176 on: November 06, 2014, 02:23:28 pm »
You're in the readme though, that shows you didn't read it D:<
Nope, I'll probably read it when I have less than 3 school projects at the same time, which is not going to happen soon considering they announced a new project will start next week and we already have 3 of them -.-
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: [Ndless] nKaruga
« Reply #177 on: November 06, 2014, 02:24:51 pm »
I went full lazy mode and did CTRL-F -> aeTIos in the readme :P
I'm not a nerd but I pretend:

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: [Ndless] nKaruga
« Reply #178 on: November 06, 2014, 02:25:15 pm »
And you found yourself :P

By the way beware, Vogtinator found memory leaks in the version that's currenty at ticalc. I'll try to fix it and submit the fixes as soon as possible. Sorry 'bout that :/

EDIT : actually maybe not. There might be a misunderstanding, waiting for more details from Vogtinator.

EDIT  : yep, just as I thought. There's no memory leak guys, you can go and download ;D
« Last Edit: November 06, 2014, 02:45:49 pm by Matrefeytontias »

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: [Ndless] nKaruga
« Reply #179 on: November 06, 2014, 03:15:00 pm »
Quote
EDIT  : yep, just as I thought. There's no memory leak guys, you can go and download :D
Actually, in rare circumstances it can leak and may actually crash the calc. As your code doesn't catch std::bad_alloc and you're using "new" sometimes, the exception doesn't get caught and terminates the program instantly, not freeing any resources. The solution is simple: Use std::shared_ptr and std::unique_ptr and your code is instantly exception safe. Just a FYI :)