Author Topic: Danmakufu ph3 β4 is out!  (Read 41089 times)

Danmakufu ph3 β4 is out!
« on: July 09, 2011, 03:30:58 AM »
Download ph3 β4 here.

This is the online function list and manual for ph3 (Japanese).

v0.12m scripts are not compatible with the new version. There is a lot of stuff added (and removed), so it'll probably take a while for us to get used to the new version. If you can figure out or translate some of the newer useful functions, post 'em up here so we can all start scripting under this new engine as soon as possible!
« Last Edit: February 03, 2012, 07:40:32 PM by Naut »

Re: Danmakufu ph3 β1 is out
« Reply #1 on: July 09, 2011, 03:39:38 AM »
Danmakufu being updated? What is this madness? :O

Chronojet ⚙ Dragon

  • The Oddity
  • 今コソ輝ケ、我ガ未来、ソノ可能性!!
Re: Danmakufu ph3 β1 is out
« Reply #2 on: July 09, 2011, 03:43:41 AM »
In italics = I don't really get it.

Quote from: 更新履歴
Changelog for July 1, 2011
    ph3 β1
       Config executable created (config.exe)
       Two user keys implemented (USER1, USER2) (defaults to C, V respectively)
       The preview images for the script and player selection screens are now viewable.
       Implemented a function to check whether a replay is playing (isReplay)
       Replay viewing is less expensive



SetPauseScriptPath
   1 Parameter
      1) Path of the pausing script
               Set the system that should be run as the pause menu.
               Please refer to the "Menu-based scripts" section.
« Last Edit: July 09, 2011, 03:56:02 AM by Mewkkyuuri »

KrackoCloud

  • I don't mean to be greedy...
  • ... but white rice is my favorite food.
Re: Danmakufu ph3 β1 is out
« Reply #3 on: July 09, 2011, 04:58:39 AM »
Hohhhh snap... Is that DnhViewer program what I think it is?!
Also, more resolutions! Yes!

Hopefully the transition won't be too painful.

Darkness1

  • Nothing to see here.
  • Enigmatic, isn't it?
Re: Danmakufu ph3 β1 is out
« Reply #4 on: July 09, 2011, 06:55:25 AM »
Quote
Set2DCamera
Oh god...

Also seems like we'll have fully customsizable text and sound with ObjSound and ObjText  :).

Another function:
InstallFont( 1 argument, which is the path to the font file)
Fonts added in this function will be specified in ObjText_SetFontType.

Helepolis

  • Charisma!
  • *
  • O-ojousama!?
Re: Danmakufu ph3 β1 is out
« Reply #5 on: July 09, 2011, 09:04:16 AM »
Yes

Yes

Yes

Yes

FUCK YES

Chau

  • Warning! Incoming Engrish post!
Re: Danmakufu ph3 β1 is out
« Reply #6 on: July 09, 2011, 09:28:49 AM »
Hmm, what about the game I'm already working on?  :ohdear:
I'm not too far yet but I think I'll stick to the v0.12m...

Helepolis

  • Charisma!
  • *
  • O-ojousama!?
Re: Danmakufu ph3 β1 is out
« Reply #7 on: July 09, 2011, 11:02:31 AM »
Hmm, what about the game I'm already working on?  :ohdear:
I'm not too far yet but I think I'll stick to the v0.12m...
I think many of us are. I am also kind of now thinking if it is worth to switch and redo everything.

Zengar Zombolt

  • Space-Time Tuning Circle - Wd/Fr
  • Green-Red Divine Clock
Re: Danmakufu ph3 β1 is out
« Reply #8 on: July 09, 2011, 02:56:29 PM »
InstallFont
HOLY FLYING DICKS IS THIS REAL OH SHIT

Stuffman

  • *
  • We're having a ball!
Re: Danmakufu ph3 β1 is out
« Reply #9 on: July 09, 2011, 02:57:16 PM »
Oh man oh god oh man it's finally here :*

Alright now that we're finally going to be able to settle into a true upgrade, we gotta do a proper job of populating the wiki with information and tutorials and stuff.

EDIT: Oh dear, it seems default Reimu and Marisa aren't there anymore. Would anyone mind if made another set of DPS scripts and took charge of creating a Reimu and Marisa to work as a benchmark for balancing other players? Nevermind, Naut is doing it
« Last Edit: July 09, 2011, 04:15:44 PM by Stuffman »

Re: Danmakufu ph3 β1 is out
« Reply #10 on: July 09, 2011, 07:23:10 PM »
The default HUD looks pretty nice now.

CK Crash

  • boozer
Re: Danmakufu ph3 β1 is out
« Reply #11 on: July 09, 2011, 10:01:40 PM »
Pretty much every item/bullet making function returns an object ID now, which is awesome for full game making :V

I would actually be very willing to migrate over to this once we get a decently translated function list.

Stuffman

  • *
  • We're having a ball!
Re: Danmakufu ph3 β1 is out
« Reply #12 on: July 09, 2011, 10:24:23 PM »
Working on the wiki. Finished listing all the function entries, starting to work on function descriptions. Google translate is clear enough for me to do this on function names I don't recognize, most of the time. I'd appreciate people going back and double-checking my descriptions, making them clearer, etc.

Re: Danmakufu ph3 β1 is out
« Reply #13 on: July 10, 2011, 12:33:38 AM »
Think this version will be less finicky about hardware? v0.12m was really horrible in that regard.
The SoEW patch has had its second release, come and get it!

Helepolis

  • Charisma!
  • *
  • O-ojousama!?
Re: Danmakufu ph3 β1 is out
« Reply #14 on: July 10, 2011, 07:03:45 AM »
Think this version will be less finicky about hardware? v0.12m was really horrible in that regard.
That is something that has to be tested out by creating some heavy-stuff once we are more familiar with the new engine. It would be really ace if stage 3D drawing would become more efficient, so it doesn't cause fps lag.

Atfyntify

  • Danmakufu worshipper
  • I worship Danmakufu
Re: Danmakufu ph3 β1 is out
« Reply #15 on: July 10, 2011, 11:24:41 AM »
oh my. yes. I've been waiting. I AM SO HAPPY
I CAN'T WAIT FOR TOUHOU 14!

TheMasterSpark

  • Lunatic lemurialist
Re: Danmakufu ph3 β1 is out
« Reply #16 on: July 10, 2011, 12:32:13 PM »
This is certainly exciting. I'm looking over the sample scripts in order to pull off something simple with the new framework, but a wiki to rival the one for the older version would be terrific. Keep up the good work. :)

Cykyrios

  • 猫巫女霊夢
  • にゃにゃにゃにゃにゃん
Re: Danmakufu ph3 β1 is out
« Reply #17 on: July 10, 2011, 12:36:17 PM »
Although this is my first post here, I've been on this forum for some time.
I decided to help with the wiki, so I'm starting to translate the descriptions of some functions.
However, as English is not my native language, I guess someone should check what I write.

Edit: I am currently checking Stuffman's descriptions and trying to fix the parts marked "unsure".
« Last Edit: July 10, 2011, 02:48:35 PM by Cykyrios »

TheMasterSpark

  • Lunatic lemurialist
Re: Danmakufu ph3 β1 is out
« Reply #18 on: July 10, 2011, 10:38:25 PM »
I've noticed that a complete black colour is no longer treated as being transparent. Has anyone found any new ways or function to extract an image from a plain background, or does the image file itself need to be made transparent?

Drake

  • *
Re: Danmakufu ph3 β1 is out
« Reply #19 on: July 10, 2011, 11:03:44 PM »
The image background is just transparent. This makes for ten times easier everything. Only real problem is that images that are already being used to be add-blend drawn will be permanently darker if the image is even somewhat transparent in parts, and it is impossible to reverse.

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

Cykyrios

  • 猫巫女霊夢
  • にゃにゃにゃにゃにゃん
Re: Danmakufu ph3 β1 is out
« Reply #20 on: July 11, 2011, 06:49:50 AM »
I'm still new to Danmakufu scripting, but it seems the SetRenderState function has been replaced by ObjRender_SetBlendType, which needs the object ID and the blend type: BLEND_ALPHA, BLEND_ADD_RGB, BLEND_MULTIPLY or BLEND_SUBTRACT.
From this, it would seem that additive mode does not ignore black backgrounds, which was quite strange in the first place (even if it allowed for "shining" sprites).
Has anyone tried those yet?

TheMasterSpark

  • Lunatic lemurialist
Re: Danmakufu ph3 β1 is out
« Reply #21 on: July 11, 2011, 06:58:46 AM »
Actually, now that you mention it (and in contradiction to what I wrote in my last post), the image I rendered with blend_add_rgb had a black background which was ignored and shown as being transparent. The boss' image which was rendered with blend_alpha also had a black background, which was not shown as transparent.

Drake

  • *
Re: Danmakufu ph3 β1 is out
« Reply #22 on: July 11, 2011, 08:10:34 AM »
The answer to both of these posts would be evident if you realized how add-blending actually works.
« Last Edit: July 11, 2011, 08:12:31 AM by Drake »

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

Helepolis

  • Charisma!
  • *
  • O-ojousama!?
Re: Danmakufu ph3 β1 is out
« Reply #23 on: July 11, 2011, 12:16:29 PM »
An important question I need to raise regarding the beta release of ph3,

Do we create a separate Q&A for ph3 ? To avoid the mixture of two scripting engines.
« Last Edit: July 11, 2011, 12:20:45 PM by Helepolis »

TheMasterSpark

  • Lunatic lemurialist
Re: Danmakufu ph3 β1 is out
« Reply #24 on: July 11, 2011, 12:34:48 PM »
I'd vote 'Yes' on that.

Cykyrios

  • 猫巫女霊夢
  • にゃにゃにゃにゃにゃん
Re: Danmakufu ph3 β1 is out
« Reply #25 on: July 11, 2011, 03:02:19 PM »
I'd vote 'yes' too.

By the way, I'm currently translating the render object functions, and it turns out the japanese manual clearly explains that when using additive blend, a black color will be treated as transparent.
So if I'm not mistaken, this is the same as script version 2.

Chronojet ⚙ Dragon

  • The Oddity
  • 今コソ輝ケ、我ガ未来、ソノ可能性!!
Re: Danmakufu ph3 β1 is out
« Reply #26 on: July 11, 2011, 03:40:42 PM »
Sure, why not? Saves having to say "(FOR ph3/v0.12m CODING)" in the beginning of every post.

Kylesky

  • *The Unknown*
  • Local Unbalanced Danmakufu Idiot Scripter
    • My useless youtube account... (will be useful in the future *I promise*)
Re: Danmakufu ph3 β1 is out
« Reply #27 on: July 11, 2011, 03:56:31 PM »
On another note: I think it would be nice for Blargel to add a "Version" stat to bullet forge (along with author, category, downloads, etc) where people can choose between "0.12m" and "ph3" ?? instead of people having to put those into the top of every description or something...
Danmakufu Script Thread :V Latest Script: Intertwining Mechanical Intervention (temp name)

Yooooouuutuuuubeeee Channel Latest Video: Contest #8 Entry

Chronojet ⚙ Dragon

  • The Oddity
  • 今コソ輝ケ、我ガ未来、ソノ可能性!!
Re: Danmakufu ph3 β1 is out
« Reply #28 on: July 11, 2011, 05:10:34 PM »
On another note: I think it would be nice for Blargel to add a "Version" stat to bullet forge (along with author, category, downloads, etc) where people can choose between "0.12m" and "ph3" ?? instead of people having to put those into the top of every description or something...

No no, Blargel meant it to be for like versions of the script, not the version of Danmakufu it's for.
like, my script has gotten a v1, v1.01, v2, v3

TheMasterSpark

  • Lunatic lemurialist
Re: Danmakufu ph3 β1 is out
« Reply #29 on: July 11, 2011, 05:56:46 PM »
I'm quite happy to see that they've implemented a simple screen-shaking function in the sample code. Large and impressive displays just aren't the same when they're not making the entire world rumble.  :D