.phi as multiple-scene distributive

Suggest changes and improvements to Algodoo.

.phi as multiple-scene distributive

Postby Kilinich » Wed Nov 03, 2010 8:02 pm

.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.
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: .phi as multiple-scene distributive

Postby tatt61880 » Wed Nov 03, 2010 8:36 pm

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).
User avatar
tatt61880
[Most Helpful Person 2010]
 
Posts: 1150
Joined: Mon Aug 31, 2009 5:45 pm
Location: Tokyo, Japan

Re: .phi as multiple-scene distributive

Postby electronicboy » Wed Nov 03, 2010 10:20 pm

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.
When asking for help, READ THE STICKIES!
electronicboy
 
Posts: 1693
Joined: Mon Aug 31, 2009 6:18 pm

Re: .phi as multiple-scene distributive

Postby tatt61880 » Wed Nov 03, 2010 11:17 pm

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.
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).
User avatar
tatt61880
[Most Helpful Person 2010]
 
Posts: 1150
Joined: Mon Aug 31, 2009 5:45 pm
Location: Tokyo, Japan

Re: .phi as multiple-scene distributive

Postby Kutis 96 » Mon Nov 29, 2010 11:32 am

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 8-)
I'm back! (not really!)

ARP: Next generation Algodoo computer collab.
I'm also making real hardware, sometimes. Link removed for now :D
User avatar
Kutis 96
 
Posts: 105
Joined: Mon Jun 28, 2010 7:49 pm
Location: Chasing red dots.

Re: .phi as multiple-scene distributive

Postby RA2lover » Tue Nov 30, 2010 3:17 pm

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
User avatar
RA2lover
 
Posts: 607
Joined: Mon Aug 31, 2009 8:43 pm
Location: Brazil

Re: .phi as multiple-scene distributive

Postby Rrobba » Wed Dec 01, 2010 9:04 pm

Support.
Image
I don't suffer from insanity. I enjoy every minute of it.
User avatar
Rrobba
[Best Sig 2010]
 
Posts: 1480
Joined: Mon Aug 31, 2009 6:01 pm
Location: Gibraltar

Re: .phi as multiple-scene distributive

Postby Ivan » Wed Jul 20, 2011 12:13 pm

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.
Image
User avatar
Ivan
 
Posts: 201
Joined: Tue Oct 06, 2009 2:01 pm
Location: Croatia

Re: .phi as multiple-scene distributive

Postby monstertje3 » Wed Jul 20, 2011 12:29 pm

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.
User avatar
monstertje3
 
Posts: 343
Joined: Sat Sep 05, 2009 4:29 pm
Location: N-H, NL

Re: .phi as multiple-scene distributive

Postby TC42 » Wed Jul 20, 2011 1:09 pm

Bump, and yes the code is scene.loadscene("examplescene")
Image
Spambot wrote:Nowadays, memes usually are studied less in the field of biology, but more with the arena of psychology along with sociology. But, the major area of a meme, getting embraced and imitated all the time is what’s at any core connected with any meme.
User avatar
TC42
 
Posts: 984
Joined: Sun Jan 09, 2011 1:53 pm
Location: $ sudo apt get-install sandwich_

Re: .phi as multiple-scene distributive

Postby electronicboy » Wed Jul 20, 2011 1:19 pm

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: 1693
Joined: Mon Aug 31, 2009 6:18 pm

Re: .phi as multiple-scene distributive

Postby Someone Else » Fri Jul 22, 2011 4:02 am

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.
Matthias Wandel is epic, in my humble opinion.
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.
User avatar
Someone Else
 
Posts: 1147
Joined: Sun Nov 21, 2010 10:53 pm
Location: The Milky Way Galaxy

Re: .phi as multiple-scene distributive

Postby TC42 » Fri Jul 22, 2011 4:59 am

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().
Image
Spambot wrote:Nowadays, memes usually are studied less in the field of biology, but more with the arena of psychology along with sociology. But, the major area of a meme, getting embraced and imitated all the time is what’s at any core connected with any meme.
User avatar
TC42
 
Posts: 984
Joined: Sun Jan 09, 2011 1:53 pm
Location: $ sudo apt get-install sandwich_

Re: .phi as multiple-scene distributive

Postby Rrobba » Fri Jul 22, 2011 11:11 am

Should be added ASAP. I could really use this for a current project.
Image
I don't suffer from insanity. I enjoy every minute of it.
User avatar
Rrobba
[Best Sig 2010]
 
Posts: 1480
Joined: Mon Aug 31, 2009 6:01 pm
Location: Gibraltar


Return to Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest