Author Topic: [東方意地奴 ~ Touhou Ijiyatsu] - Programming Thread  (Read 34148 times)

Drake

  • *
« Last Edit: December 08, 2009, 06:41:27 AM by Nobu~ »

A Colorful Calculating Creative and Cuddly Crafty Callipygous Clever Commander
- original art by Aiけん | ウサホリ -

Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #1 on: November 04, 2009, 05:14:34 AM »
Fill the OP with stuff you've done :V

Also sprites :V
« Last Edit: November 04, 2009, 05:18:38 AM by Suikama »

Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #2 on: November 04, 2009, 05:29:33 AM »
GpopB Pre-Alpha build
Quote
Gpop B: 'Man, way to interrupt my fapping...'
(Gpop + TranceHime) ?
Standard Shot: [Embers of Love]
Spellcard: [Freud Was Right]

http://i641.photobucket.com/albums/uu134/Nautth/snapshot009b.jpg
http://i641.photobucket.com/albums/uu134/Nautth/snapshot010b.jpg

To do;
-Bomb, (no damage, TalonPain ripoff); Completed
-Reduce option radial distance (60 -> 45?), adjust graphic size and animation accordingly (increase osc integral); Completed
-Needs graphics (eyebleed, requesting assistance); Not Completed
-DPS balancing (big issue, 450dps shotgun 280 far, not sure how to approach this); Actively Testing
-Adjust option drag (stops once movement keys are released, get rid of decel; Completed
-Possibly change primary shot pattern; Completed
-Adjust hitbox code from ObjShot to ObjEffect, recalculate vertices using truncated trig, apply angular velocity, change from recalling the task every VK_SLOWMOVE==KeyPush instance to a constantly looping task using conditional statements; Completed

Gpop B Alpha build available.
« Last Edit: November 04, 2009, 06:19:04 PM by Naut »

Helepolis

  • Charisma!
  • *
  • O-ojousama!?
Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #3 on: November 04, 2009, 09:33:54 AM »
What is the idea going to be behind the CutIn. Are we going to immitate SA/UFO style? If so: I remember Suikama/Onthenet producing different texture for the 'Spellcard attack!'. Let me know so I can start modifying my CutIn script and make it more efficient and useable as a function. Because right now the code is a mess.

And I also heard some stuff being dropped by Drake about my spellcircle being wanted (?) Update me about this.


Gpop

Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #4 on: November 04, 2009, 04:49:16 PM »
My god that's awesome.

Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #5 on: November 04, 2009, 06:18:12 PM »
Gpop B Alpha build
Quote
Gpop B: 'Man, way to interrupt my fapping...'
(Gpop + TranceHime) ?
Standard Shot: [Embers of Love]
Spellcard: [Freud Was Right]



To Do;
- DPS testing (~230dps far [two peenmaku hitting for ~half damage, plus mainshots], ~350dps shotgun sweetspot [All shots hitting for ~max damage ~(GetX, GetY + 90)], as of now. Reduced from ~280 far, ~450 close);
- Graphics (still need);
- Minor tweaking, depending on feedback;

Edit: Changed screenshots.
« Last Edit: November 04, 2009, 08:31:01 PM by Naut »

Drake

  • *
Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #6 on: November 04, 2009, 08:58:32 PM »
http://www.mediafire.com/?zmmmzwmovmw

Function sheet now has item spawning included.

A Colorful Calculating Creative and Cuddly Crafty Callipygous Clever Commander
- original art by Aiけん | ウサホリ -

Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #7 on: November 04, 2009, 11:44:06 PM »
Zengar B Pre-Alpha build
Quote
ZengarB: Danmaku Dodger Lunacy
(Zengar + Nintendonut888: Concentrated Attack Type)

"New, complex strategies? Hah! My only strategy: Dodge everything that comes at me!"
Refined technique combined with pure power! A battle against all Gensokyo is one we can fight-- and win!

Shot: Fortuna Star
Spellcard: Mercy Killing - Phantasmic Spark
Deathbomb: Last Moment - No Border Between Us

http://i641.photobucket.com/albums/uu134/Nautth/snapshot015b.jpg
http://i641.photobucket.com/albums/uu134/Nautth/snapshot014b.jpg

To do;
- DPS testing (~243dps far focused, ~290dps shotgun focused, ~155dps far unfocused, ~192 shotgun unfocused); Actively Testing
- Graphics; Half completed
- Get Drake to fix the small star graphic; Completed I'm a dumbass
- Probably sounds; Not Completed
- Option transition states between focused and unfocused distances (smooth it out); Completed
- Different bomb (just abusing Gpop B's for now); Completed

- Any other changes depending on feedback;
     - Options fire at the same time; Disregarded
     - Mini-star angles fan out according to side launched from (fan to left from left, fan to right from right); Completed
     - Change main shot to boring post-MoF style two row bs (single manly tear); Completed

Zengar B Alpha build available.
« Last Edit: November 11, 2009, 09:35:40 PM by Naut »

Helepolis

  • Charisma!
  • *
  • O-ojousama!?
Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #8 on: November 10, 2009, 12:41:04 PM »
Bump + update

Done
- Spellcircles shrinks in proportion to timer ( Thanks Blargel ).
- Spellcircle outer circle explosion has "slingshot" behaviour.
- Spellcircle has proper lagging behaviour

To do
- Use effect object or stick single image scaling? (ZUN style or "script it easy" style )
- Replace the graphics with suitable Iyajitsu

Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #9 on: November 11, 2009, 09:34:54 PM »
Zengar B Alpha build
Quote
ZengarB: Danmaku Dodger Lunacy
(Zengar + Nintendonut888: Concentrated Attack Type)

"New, complex strategies? Hah! My only strategy: Dodge everything that comes at me!"
Refined technique combined with pure power! A battle against all Gensokyo is one we can fight-- and win!

Shot: Fortuna Star
Spellcard: Mercy Killing - Phantasmic Spark
Deathbomb: Last Moment - No Border Between Us



To do;
- DPS testing (~250dps, all shots hitting);
- Graphics (strongly dislike the bomb star graphic);
- Sounds;
- Any other changes depending on feedback;

Helepolis

  • Charisma!
  • *
  • O-ojousama!?
Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #10 on: November 15, 2009, 12:59:13 PM »
This is kind of important and critical to discuss. What are we exactly going to do about the folder structuring and such.

I am right now creating a structure for my own Dance contest game and I thought: "Hey, if I structure and place everything nice and perform clever usage of INCLUDE_SCRIPT functions, I might be able to pull off a nice directory structure" Guess what. WRONG.

So you might think like this looks very tidy and nice


Sure it is, if you want to summon extreme hell and suffering on your head


I am not going to plan on manually including ALL scripts with their full pathname. That is surely going to cause major shit when like renaming or people moving files. Basically splitting your stage, spellcards, dialogues, events, enemies to different directories is a bad idea. Cramming it all in one location and only splitting sfx, music, images, etc. . is not that bad.

Please keep in mind this for Ijiyatsu. I am currently pulling out my hair and decided it is not worth to produce an extreme superb folder structure.

Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #11 on: November 17, 2009, 04:19:31 PM »
Perhaps we could have a few main folders (bgm, img, sfx, etc) and then in each folder split them into stages?

Helepolis

  • Charisma!
  • *
  • O-ojousama!?
Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #12 on: November 19, 2009, 09:30:53 AM »
Splitting causes apeshit problems with include_Scripting. We should throw everything into single folder if we want to safe us the horror and use smart filenaming for the overview. Example:

For functions: function_spellcircle.txt / function_hud.txt / etc..
For stages and other: stage_01.txt / Boss_01.txt
Dialogues / events: dialogue_101.txt / dialogue_102.txt ( where the first number is stage and 01 is the dialogue number. )

Update
- Spellcircle + cutin function completely ready (requires perhaps some tweaking during testing)
- Made placeholder images for now

To do
- Fuse in starshape spellcircle in the spellcircle code or make seperate function?
- Burning aura effect imitation
« Last Edit: November 19, 2009, 11:48:05 AM by Helepolis »

CK Crash

  • boozer
Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #13 on: November 19, 2009, 11:19:01 AM »
Just warning you, if you dump all the scripts in one folder, it gets really crowded fast.

Anyways:

All enemies and stages stay in the base folder so that they can reach everything easily.

Ijiyatsu
      -img
            -sprite
            -cutin (both dialogue and spellcard declaration)
            -bg (both stage and spell bgs)
      -se
      -bgm
      -function (this would have cutin scripts, spell circle, concentration script, etc)

Helepolis

  • Charisma!
  • *
  • O-ojousama!?
Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #14 on: November 19, 2009, 11:44:16 AM »
Just warning you, if you dump all the scripts in one folder, it gets really crowded fast.

Quote from: Helepolis
Basically splitting your stage, spellcards, dialogues, events, enemies to different directories is a bad idea. Cramming it all in one location and only splitting sfx, music, images, etc. . is not that bad.

:V I was more like meaning only the script related stuff (hence the above screenshots + the word "include_script"). There isn't any problem with images, sound files being called from different directories.

The screenshot I showed has a nice structure discarding the stage1,2,3 and function folder because they cause trouble. face = dialogue/portraits,  card = cardpreview in menu, tex = stage textures and 3D drawing stuff and system for system related images like bullets, hpbar, spellcircles etc.
« Last Edit: November 19, 2009, 11:53:07 AM by Helepolis »

Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #15 on: November 23, 2009, 01:20:04 AM »
Roukanken A pre-Alpha build
Quote
Rou A: 'In the name of SCIENCE!'
(Roukanken + Serp) ?
Standard Shot: [Experimental Laser]
Spellcard: [Super Youkai Warhead]

Experimental laser really sums this up nicely.



Eww, screenshots have peices of my laser missing!

To do;
- Graphics;
- Tweak the homing code (stop enumerating enemies before the enemy the lasers are currently aiming at is destroyed);
- Bomb;
- DPS tweaking (~218dps, I don't like how the lasers do so much damage, but I have no idea how to balance this properly without affecting lower powers too much);

To the Ijiyatsu programming team: The player is also fitted for power levels 1, 2 and 3. Go into @MainLoop -> edit the commondata setting to see the other power levels (currently set to reach power level 4 before the enemy script starts, so you can see the max power setting in other scripts).
« Last Edit: November 23, 2009, 01:34:09 AM by Naut »

Drake

  • *
Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #16 on: November 24, 2009, 03:36:40 AM »


I pretty much totally finished the dialogue functions, to a point that all that need to be done is input all the actual data like what stage/section/player type it is, which person is talking at what time and what expressions they have, etc. As in, when we actually start the game programming. Don't mind the mess, it's just my sandbox folder. Just put it in script and run.

http://www.mediafire.com/?znt2yoyk1zo

I hope I don't have to list all the little details that went into this. Because there a lot of them.
(Also the delay between when Donut talks and Slaves appears is a demonstration of how you can delay the picture coming forwards. Which is one of said details.)
« Last Edit: November 24, 2009, 03:39:54 AM by Drake »

A Colorful Calculating Creative and Cuddly Crafty Callipygous Clever Commander
- original art by Aiけん | ウサホリ -

Blargel

  • RAWR!
  • I'M AN ANGRY LOLI!
Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #17 on: November 24, 2009, 05:58:39 AM »
Roukanken A pre-Alpha build
Experimental laser really sums this up nicely.

lasers

Eww, screenshots have peices of my laser missing!


This looks suspiciously similar to my lasers. :V

EDIT: Oh, nvm. I just realized what was really going on in the screenshots.
« Last Edit: November 24, 2009, 06:35:31 AM by Blargel »
<WorkingKeine> when i get home i just go to the ps3 and beat people up in blazblue with a loli
<Azure> Keine: Danmakufu helper by day, violent loli by night.

Drake

  • *
Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #18 on: November 24, 2009, 06:07:42 AM »
Not any more it doesn't.

A Colorful Calculating Creative and Cuddly Crafty Callipygous Clever Commander
- original art by Aiけん | ウサホリ -

Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #19 on: November 24, 2009, 06:42:19 AM »
I fixed it, yo. Also, I've yet to even look at your laser code :V

Helepolis

  • Charisma!
  • *
  • O-ojousama!?
Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #20 on: November 24, 2009, 01:25:50 PM »
Hello burning aura script almost ZUN style:

fuction: burning aura da ze



This was so much easier to script than the spellcircle.
« Last Edit: November 24, 2009, 07:08:38 PM by Helepolis »

Helepolis

  • Charisma!
  • *
  • O-ojousama!?
Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #21 on: November 25, 2009, 10:46:02 PM »
Naut Drake. I had a conversation with Pesco about his bomb. His idea was to:

Human speech: Upon bomb, all enemies get confused and shoot at the player, but the player is not there. It can move freely around without getting targetted.

Danmakufu speech: Bomb -> Forbid movement -> Create afterimage -> keyfunctions move afterimage which is an Effect object. At the end of bombtime, value is parsed to the effectobject warping the player to the afterimage location.

Pic 1: Afro is shooting aimed bullets.
Pic 2: Bombing is active ( see value = 1 ). Player movement = forbidden. But afterimage is moved freely. Makes it look like the enemy is confused.
Pic 3: Bombing ended and player is warped.


Now add horney effects to this like player sprite blurring ( SA style? ) and the afterimage being exact the same sprite ( lol place holder ).

What do you think? This also doesn't require ANY modification on spellcards. Pure player script requirements.

Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #22 on: November 25, 2009, 10:49:17 PM »
Sure I guess. Kind of a waste of a bomb though, doesn't really do anything.

Helepolis

  • Charisma!
  • *
  • O-ojousama!?
Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #23 on: November 25, 2009, 10:50:36 PM »
Don't know. This is just what pesco asked me if it was possible. We could throw in some damage waves being emitted or w/e to make it "useful".

Speaking visually: Just for the effects, I guess it is nice.

Azure Lazuline

  • Looooove!!
  • PM me for free huggles and love!
    • Entanma Project - indie game development
Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #24 on: November 25, 2009, 11:18:42 PM »
I think it's a really neat idea, as long as you can still shoot (or get some sort of attack during it). Maybe keep it misdirected for a little while after your invincibility wears off (you can set the player's hitbox on the "fake" rather than the real one)? That might backfire on a few spells, but it would still be nifty.

Also, I'm working on a function to allow custom fonts, rather than using images. As in, you load one picture and call a function using a string, and it will put the different sections of the picture together to form the words. I don't know when it will be done (or even if it's possible, though my logic on how to do it seems pretty sound), but do you think it would be useful? (I was intending it for use in my project, but I might as well help the community.)

Pesco

  • Trickster Rabbit Tewi
  • *
  • Make a yukkuri and take it easy with me
Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #25 on: November 25, 2009, 11:23:50 PM »
Ideally, the fake is somewhere like middle top of the screen while the player is free to do whatever down below e.g. shotgunning.

It's intended to be a semi-useful bomb for stages and suicide for spellcards.

Drake

  • *
Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #26 on: November 26, 2009, 12:07:14 AM »
I think it's a really neat idea, as long as you can still shoot (or get some sort of attack during it). Maybe keep it misdirected for a little while after your invincibility wears off (you can set the player's hitbox on the "fake" rather than the real one)? That might backfire on a few spells, but it would still be nifty.

Also, I'm working on a function to allow custom fonts, rather than using images. As in, you load one picture and call a function using a string, and it will put the different sections of the picture together to form the words. I don't know when it will be done (or even if it's possible, though my logic on how to do it seems pretty sound), but do you think it would be useful? (I was intending it for use in my project, but I might as well help the community.)
I'm already working on it. If you complete something before I do then go ahead and share. The only thing it'll be used for here is numbers, though.



Pesco, I like how you took your original idea and mutated it to work. It sounds pretty neat, but I'm not sure I like the idea of having stuff aimed elsewhere during spells and screwing the hell out of you. Pesco may be about trickan people and awesome stuff, but it really would get annoying. It doesn't seem useless, but something definitely needs to be changed/added.

The damage could come from something like SA ReimuB, where the bullets are fired back. Maybe the "player" just keeps attacking while standing still and explodes at the end, so you get your shotgunning, a good amount of shot damage when planted right, and a little extra kick.

I would like to see something like this in practice though before anything happens.

A Colorful Calculating Creative and Cuddly Crafty Callipygous Clever Commander
- original art by Aiけん | ウサホリ -

Serp

  • It's all about overwhelming force and irresistible style
  • And in a pinch, style can slide
Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #27 on: November 26, 2009, 12:56:22 AM »
Experimental laser really sums this up nicely.

Ah, I hate to be the stick in the mud, here, but since I don't really like the idea of pure homing types in the first place, would it be too much to ask that someone else get this shot type, so I can have my PCB SakuyaB-esque shot type?  Using bullets instead of lasers is perfectly understandable, but I'd much rather have the same functionality with a different aesthetic than the other way around.

Also note that Rou and I were planning on coming up with a new name for our shot and bomb, since the one displayed was conceptualized when Alice was Rou's partner.
[15:13] <Sana> >:<

Azure Lazuline

  • Looooove!!
  • PM me for free huggles and love!
    • Entanma Project - indie game development
Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #28 on: November 26, 2009, 03:34:23 AM »
After about 1.5 hours:



Should I release what I have so far, or wait until variable-width is done?

Helepolis

  • Charisma!
  • *
  • O-ojousama!?
Re: 東方意地奴 ~ Touhou Ijiyatsu - Monarchly Moron (Programming thread)
« Reply #29 on: November 26, 2009, 08:38:35 AM »
Maybe the "player" just keeps attacking while standing still and explodes at the end, so you get your shotgunning, a good amount of shot damage when planted right, and a little extra kick.

I would like to see something like this in practice though before anything happens.

Shall I pound the code into a test player char and test it out on for example a custom made stage like Sercan's extra or that Mitori phantasm which has alot of aimed bullets. I am like done with my tasks so far: Spellcircle, aura, cutin for the time being. So I can perhaps fool around with this.