.phi as multiple-scene distributive
14 posts • Page 1 of 1
.phi as multiple-scene distributive
.phi is good way to distribute multi-level game (with auto-next-scene load) but only one thing I feel it need - scene auto-run.
It will be perfect if:
after unzip, check \scenes\autorun.phz is inside .phi and if it valid, load scene.
It will be perfect if:
after unzip, check \scenes\autorun.phz is inside .phi and if it valid, load scene.
Dream of Algodoo as game development engine...
-
Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
Re: .phi as multiple-scene distributive
Kilinich wrote:.phi is good way to distribute multi-level game (with auto-next-scene load) but only one thing I feel it need - scene auto-run.
It will be perfect if:
after unzip, check \scenes\autorun.phz is inside .phi and if it valid, load scene.
Support.
IMHO, phi-files should be handled without unzipping if the phi is used as a container for scenes.
And, the phi should be made by Algodoo.
NOTE: I used the phrase "the phi" as a container for scenes. The file type (.phi) can be used for installer for the other files (e.g.translation files), though.
NOTE: I'm not an Algoryx member.
Hi, Algodoo lovers. Have you read next topic? Featured scenes suggestions
To translators: English.cfg changelog will be useful (even for me).
Hi, Algodoo lovers. Have you read next topic? Featured scenes suggestions
To translators: English.cfg changelog will be useful (even for me).
-
tatt61880 - [Most Helpful Person 2010]
- Posts: 1150
- Joined: Mon Aug 31, 2009 5:45 pm
- Location: Tokyo, Japan
Re: .phi as multiple-scene distributive
support.
Would be useful.
@tatt: i agree, algodoo should have a built in or atleast bundled.
Also, algodoo should give the user the choice to install the phi file (only scene's) or to temporaly have a seperate area to load the contained scene files.
Would be useful.
@tatt: i agree, algodoo should have a built in or atleast bundled.
Also, algodoo should give the user the choice to install the phi file (only scene's) or to temporaly have a seperate area to load the contained scene files.
When asking for help, READ THE STICKIES!
- electronicboy
- Posts: 1694
- Joined: Mon Aug 31, 2009 6:18 pm
Re: .phi as multiple-scene distributive
Game scenes in one phi-file will have use same textures.
Which is better?
[A] Texture-files are contained by each scene (phz-file) in phi-file.
[B] Texture-files are contained by phi file.
I thought [B] is better.
Which is better?
[A] Texture-files are contained by each scene (phz-file) in phi-file.
[B] Texture-files are contained by phi file.
I thought [B] is better.
NOTE: I'm not an Algoryx member.
Hi, Algodoo lovers. Have you read next topic? Featured scenes suggestions
To translators: English.cfg changelog will be useful (even for me).
Hi, Algodoo lovers. Have you read next topic? Featured scenes suggestions
To translators: English.cfg changelog will be useful (even for me).
-
tatt61880 - [Most Helpful Person 2010]
- Posts: 1150
- Joined: Mon Aug 31, 2009 5:45 pm
- Location: Tokyo, Japan
Re: .phi as multiple-scene distributive
Good idea kilinich, absolute support. They could also add any tool to make .phi flies, becuz i dunno how... ill try to make a prog in VB later
I'm back! (not really!)
I'm also making real hardware, sometimes.
I'm also making real hardware, sometimes.
-
Kutis 96 - Posts: 107
- Joined: Mon Jun 28, 2010 7:49 pm
- Location: Chasing red dots.
Re: .phi as multiple-scene distributive
a .phi file is just a .zip file which unpacks itself on the algodoo install folder when run by algodoo.
Jrv wrote:TC42 wrote:Quite honestly, I didn't think anyone on 4chan has that good a use of grammar, spelling, usage, mechanics, ect.
But I've never been there, so I may be wrong.
GTFO newfgt
-
RA2lover - Posts: 607
- Joined: Mon Aug 31, 2009 8:43 pm
- Location: Brazil
Re: .phi as multiple-scene distributive
Support.
I don't suffer from insanity. I enjoy every minute of it.
-
Rrobba - [Best Sig 2010]
- Posts: 1480
- Joined: Mon Aug 31, 2009 6:01 pm
- Location: Gibraltar
Re: .phi as multiple-scene distributive
Kilinich wrote:It will be perfect if:
after unzip, check \scenes\autorun.phz is inside .phi and if it valid, load scene.
It would really be perfect.
-
Ivan - Posts: 202
- Joined: Tue Oct 06, 2009 2:01 pm
- Location: Croatia
Re: .phi as multiple-scene distributive
this is all really nice, but how would be the transitions between scenes, sceneload("scene2")?
Basically, there are only 10 types of people in the world. Those who know binary, and those who don't.
Light travels faster than sound. That's why some people appear bright until they open their mouths.
Light travels faster than sound. That's why some people appear bright until they open their mouths.
-
monstertje3 - Posts: 343
- Joined: Sat Sep 05, 2009 4:29 pm
- Location: N-H, NL
Re: .phi as multiple-scene distributive
Bump, and yes the code is scene.loadscene("examplescene")
-
TC42 - Posts: 984
- Joined: Sun Jan 09, 2011 1:53 pm
- Location: $ sudo apt get-install sandwich_
Re: .phi as multiple-scene distributive
TC42 wrote:Bump, and yes the code is scene.loadscene("examplescene")
that code is correct,
also, would be nice if devs. allowed to make a .PHI from algodoo (as suggested countless times mainly on this thread...)
also, would be nice if there was a way to run from the .PHI (no install) and if .phi files created subdirectories
e,g, scenes/<PHI NAME>/name.phz
Would be nice as it would help keep a users directory clean, but the method of scene.loadscene may have to be changed...
When asking for help, READ THE STICKIES!
- electronicboy
- Posts: 1694
- Joined: Mon Aug 31, 2009 6:18 pm
Re: .phi as multiple-scene distributive
Here's what I would support, as far as relevance to this thread goes:
Ability to create a PHI from within Algodoo (would allow checksums to be implanted in the PHI, for the same reason as checksums in the PHZs),
Ability to autorun a scene, if autorun.phz is present,
Option to install the PHI to a temp directory, which would be auto-deleted upon closing Algodoo,
Placing textures in the PHZs into the PHI instead of the individual PHZ, because the textures in the PHZs would probably overlap and it would reduce filesize,
[somewhat off-topic: put textures into the PHZ upon saving it- textures in scenes downloaded and run in 1.9.7 simply don't appear for me],
When creating a PHI via Algodoo, the default install directory would be in Algodoo/Scenes/example if all the files are PHZs and/or PHNs, otherwise, the default install folder would be Algodoo/example.
By this, I mean you would select some files and Algodoo asks what folder to install to. If all the files are Algodoo Scene Packages and Algodoo Scene Files, the directory would be Algodoo/Scenes/[whatever the name of the PHI is], so the PHI would include a Scenes folder, containing an Example folder, containing the scenes. You could, of course, change it to whatever you want.
If the prospective PHI contains any files other than Scene Files/Packages, the default directory as described above would be Algodoo/Example.
The simple mode for creating a PHI would allow you to set it up so the selected files install to the same directory. The advanced mode would allow you to install files to several different directories.
Ability to create a PHI from within Algodoo (would allow checksums to be implanted in the PHI, for the same reason as checksums in the PHZs),
Ability to autorun a scene, if autorun.phz is present,
Option to install the PHI to a temp directory, which would be auto-deleted upon closing Algodoo,
Placing textures in the PHZs into the PHI instead of the individual PHZ, because the textures in the PHZs would probably overlap and it would reduce filesize,
[somewhat off-topic: put textures into the PHZ upon saving it- textures in scenes downloaded and run in 1.9.7 simply don't appear for me],
When creating a PHI via Algodoo, the default install directory would be in Algodoo/Scenes/example if all the files are PHZs and/or PHNs, otherwise, the default install folder would be Algodoo/example.
By this, I mean you would select some files and Algodoo asks what folder to install to. If all the files are Algodoo Scene Packages and Algodoo Scene Files, the directory would be Algodoo/Scenes/[whatever the name of the PHI is], so the PHI would include a Scenes folder, containing an Example folder, containing the scenes. You could, of course, change it to whatever you want.
If the prospective PHI contains any files other than Scene Files/Packages, the default directory as described above would be Algodoo/Example.
The simple mode for creating a PHI would allow you to set it up so the selected files install to the same directory. The advanced mode would allow you to install files to several different directories.
Matthias Wandel is epic, in my humble opinion.
I love my brain...
ARE YA HAPPY NOW?????
Thymechanic/Phundamentalist
Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
I love my brain...
TC42 wrote:Also, your sig is too big, please change it.
ARE YA HAPPY NOW?????
Thymechanic/Phundamentalist
Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
-
Someone Else - Posts: 1147
- Joined: Sun Nov 21, 2010 10:53 pm
- Location: The Milky Way Galaxy
Re: .phi as multiple-scene distributive
Yeah, I agree that the whole Phi interface needs to be improved... there is great potential in it, but devs keep leaving it in the dark. I think that, like SE said, it should be simple to create a PHI, and I would add that there should be an option in the controller menu that will load the next scene when a button is pressed, or a collision occurs, for those who are new to algodoo and don't know about loadscene().
-
TC42 - Posts: 984
- Joined: Sun Jan 09, 2011 1:53 pm
- Location: $ sudo apt get-install sandwich_
Re: .phi as multiple-scene distributive
Should be added ASAP. I could really use this for a current project.
I don't suffer from insanity. I enjoy every minute of it.
-
Rrobba - [Best Sig 2010]
- Posts: 1480
- Joined: Mon Aug 31, 2009 6:01 pm
- Location: Gibraltar
14 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 14 guests