Author Topic: CaDanITE  (Read 34081 times)

0 Members and 2 Guests are viewing this topic.

Offline Iambian

  • Coder Of Tomorrow
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 739
  • Rating: +216/-3
  • Cherry Flavoured Nommer of Fishies
    • View Profile
CaDanITE
« on: September 04, 2010, 01:36:27 am »
Calculator Danmaku Integrated Test Environment.

An idea for a rather hefty level editor for whenever CaDan will support external levels. With this utility you should be able to:
  • Create, modify, or import stage backgrounds
  • Adjust scroll and graphic loop settings
  • Draw new boss graphics, edit boss properties, and set special attacks
  • Place enemies and assign scripts to them, be it ones you made or those that come with CaDan
  • Write text for character/boss interactions. Great for storybuilding!

A few problems need to be worked out with CaDan before I can write CaDanITE, but it's a serious thought I'm thinking of. I mean, it would be pretty awesome to build your own levels for CaDan right on your calc, then test out those levels from the editor if you have a compatible version of CaDan on-calc.

Still. Just a thought at this stage. With a few sheets of paper serving as notes.
A Cherry-Flavored Iambian draws near... what do you do? ...

Offline Geekboy1011

  • The Oneironaut
  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2031
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: CaDanITE
« Reply #1 on: September 04, 2010, 01:43:08 am »
cant wait to see how this progresses but knowing some of the putfalls in cadans current set up you got your work cut out for your self ^_^ so gluck
cant wait
and if you need any help testing feel free to ask ^_^

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: CaDanITE
« Reply #2 on: September 04, 2010, 01:44:59 am »
Should be fun!  But don't pressure yourself :)  Have some cherry flavored coffee.

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: CaDanITE
« Reply #3 on: September 04, 2010, 01:46:00 am »
This sounds really cool :) Good luck!
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

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: CaDanITE
« Reply #4 on: September 04, 2010, 06:38:18 pm »
I remember you brought this up on IRC one night. Indeed this would rule, providing it's not too hard to use. :D

Offline Geekboy1011

  • The Oneironaut
  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2031
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: CaDanITE
« Reply #5 on: September 05, 2010, 01:19:15 pm »
well i think the whole goal is to make it easy to use because atm making levels and scripts is a real PITA its easier than java to me though so

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: CaDanITE
« Reply #6 on: September 05, 2010, 01:31:11 pm »
Yeah I remember you discussed about it on IRC and it seemed rather hectic x.x

Offline Geekboy1011

  • The Oneironaut
  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2031
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: CaDanITE
« Reply #7 on: September 05, 2010, 02:44:57 pm »
well its very heavy on the math as all the bullets movements are caculated via math using 1 or more of 4 registers thus its hard to manipulate them all and have multiple patters at once

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: CaDanITE
« Reply #8 on: September 07, 2010, 02:36:40 am »
X.x

yeah my hope for the editor is that it will have some ways to generate some patterns using some equations or filling a form. But coding such thing may be kinda hard. Good luck Iambian!

Offline Geekboy1011

  • The Oneironaut
  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2031
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: CaDanITE
« Reply #9 on: September 07, 2010, 10:17:51 pm »
i think that may be the plan or at least have pre-entered patterns that you can slightly modify speed(i think) angle rotation ect.

atm to make a bullet move around in circle motion like in this pattern



is
Boss0EvE0:
 cd.shoot(r1)
 cd.add(r1,60)
 cd.shoot(r1)
 cd.add(r1,60)
 cd.shoot(r1)
 cd.pause
 cd.goto(Boss0EvE0)

and atm i don't even remember how that works X.x

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: CaDanITE
« Reply #10 on: September 07, 2010, 10:19:46 pm »
OUch that seems kinda confusing x.x

Looks pretty awesome, though.

Offline Geekboy1011

  • The Oneironaut
  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2031
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: CaDanITE
« Reply #11 on: September 07, 2010, 10:23:09 pm »
yeah funny thing is its not even what i wanted to happen its just how it came out X.x

and its looks confusing but it gets easy once you learn the scriptin engine :/

the hard part is that you only have r1-r4 to work with

thats it X.x

here is a script iambian made



this one is in proper format though it calls teh end of the boss and every thing not just the script bullet pattern it self

Edit: actually i think this one has all the levels of the boss in it i mean liek easy medium hard lunatic i forget X.x

Code: [Select]
Boss0EvE:
 cd.startup(300,30)
 cd.call(0,Boss0Flyin)
 cd.ld(r3,32)
 cd.jid(Boss0EvE1)
Boss0EvE0:
 cd.track(r2)
 cd.add(r2,24)
 cd.ld(r1,(256-(24+28))/2)
Boss0EvE0L0:
 cd.shoot(r2)
 cd.add(r2,2)
 cd.djnz(r1,Boss0EvE0L0)
 cd.ld(r1,10)
 cd.track(r2)
 cd.add(r2,50)
Boss0EvE0L1:
 cd.shoot(r2)
 cd.add(r2,24)
 cd.shoot(r2)
 cd.add(r2,-28)
 cd.pause
 cd.pause
 cd.djnz(r1,Boss0EvE0L1)
 cd.ld(r1,10)
Boss0EvE0L2:
 cd.shoot(r2)
 cd.add(r2,28)
 cd.shoot(r2)
 cd.add(r2,-24)
 cd.pause
 cd.pause
 cd.ld(r3,32)
 cd.djnz(r1,Boss0EvE0L2)
Boss0EvE0L3:
 cd.shoot(r1)
 cd.add(r1,60)
 cd.shoot(r1)
 cd.add(r1,60)
 cd.shoot(r1)
 cd.pause
 cd.add(r3,-1)
 cd.djnz(r3,Boss0EvE0L3)
 cd.goto(Boss0EvE0)
Boss0EvE1:
 cd.call(0,NormalExplosion)
 cd.callspell(Boss0EvESp1)
 
« Last Edit: October 14, 2011, 03:00:00 pm by Geekboy1011 »

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: CaDanITE
« Reply #12 on: September 07, 2010, 10:28:08 pm »
I see. Well at least it's smaller than I thought, though. I was certain it would be like 100-200 lines of code or something per level, since it's in ASM x.x

Offline Geekboy1011

  • The Oneironaut
  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2031
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: CaDanITE
« Reply #13 on: September 07, 2010, 10:30:12 pm »
no thats the nice thing all the bullet scripts are written in a scripting system iambian wrote for it i mean i can make patterns in pure asm if i so choose but its not really worth it ^_^

the system isn't that hard actually its just gets tricky with the small amount of variables :/

Offline Iambian

  • Coder Of Tomorrow
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 739
  • Rating: +216/-3
  • Cherry Flavoured Nommer of Fishies
    • View Profile
Re: CaDanITE
« Reply #14 on: September 08, 2010, 04:44:32 pm »
Some code has been laid down but it still needs some work. Don't expect this thing to be a fancy-pantsy editor. It wont' be graphically impressive, but I intend on having it just do its job. When I get something that *can* be edited down, I'll start working on something to allow CaDan to accept these levels.
A Cherry-Flavored Iambian draws near... what do you do? ...