Ignition X vs Pyro
Monkey Archive Forums/Monkey Discussion/Ignition X vs Pyro
| ||
Ignition X or Pyro?, What should I choose? I get this question a lot! For starters, Pyro ‘only’ supports the OpenGL targets meaning HTML5, iOS, Android and Desktop. So if you need Flash for example you can forget about it. Pyro is also missing the RUBE importer and the TimelineFX ‘plugin’. Ignition X is an older framework and since most of us evolve I think Pyro is the better framework simply because I had more experience when I was writing it ( and with some help from Mark ). Not to say Ignition X is bad but Pyro just approaches some things a bit differently ( and probably better ). However Ignition X has more demos and examples so I don’t know how much that weighs in. Bottom line, both Ignition X and Pyro are very capable Monkey frameworks but there will be no Ignition X port for Monkey2! Pyro however, will be/is being ported to Monkey2! I hopes this helps! |
| ||
Hi, I want to target HTML5, iOS and Android so I think Pyro would be a good choice. However, how does it handle different screen-sizes for devices? It can be quite a headache when devices use different aspect ratios. Instead of having black bars, I used to "handle" it by just cutting out part of the game screen, I designed the game so that no important content is located at the screen edges. So a device would just lose a piece of the sky or ground. |
| ||
I designed the game so that no important content is located at the screen edges. So a device would just lose a piece of the sky or ground. Pyro has 3 helpers for virtual resolutions. 1. SetVirtual( 1024,768 ) Adds borders when needed. 2. SetVHeight( 768 ) Stretches the display and insures a height of 768 pixels but you can lose content on the sides. 3. SetVWidth( 1024 ) Opposite of SetVHeight Did this help? |
| ||
Thanks for your reply Playniax, I think the SetVHeight and SetVWidth would be sort of similar to my approach. Nevertheless, Pyro comes with the entire source code? That way I can modify the source if it is not exactly like what I need. I am trying to build something unconventional which is like a splitscreen. But I want to use a 6x6 splitscreen setup (so 36 camera's based on a single scene). I see that Pyro uses: prCamera.SetVerticalSplitScreen() and prCamera.SetHorizontalSplitScreen() Is it possible to extend this to even more splits? I haven't bought it yet so it is hard to see how those functions actually work. Also the GUI scene-graph seems really nice :) It is drawn on top of the regular game scene-graph right? That way you can easily draw the menu, game buttons on top of the game world. |
| ||
I think the SetVHeight and SetVWidth would be sort of similar to my approach Looks like it. Pyro comes with the entire source code? Yes. Is it possible to extend this to even more splits? The prCamera.SetVerticalSplitScreen() and prCamera.SetHorizontalSplitScreen() are just some basic helpers but all they do is set the camera position, width and height so if you need 36 cameras you will need to do this yourself. t is drawn on top of the regular game scene-graph right? You can draw the scenegraph and gui in any order you like by simply calling the Draw methods. |
| ||
I can't find the SetVirtual, SetVHeight and SetVWidth in the Pyro 1.01n version. What has replaced those functions? |
| ||
They can be found in the camera class. Once a camera is setup you can do something like this: camera.SetVirtualHeight( 768 ) |
| ||
Yes, I understood that but the prCamera class in Pyro v1.01n does not have those methods anymore. EDIT: They do exist in the online docs in your signature (http://docs.playniax.com/html/Home.html) EDIT 2: WIthout the SetVirtual methods the e02_virtual_resolution.monkey file does not work anymore either. |
| ||
hmm, just downloaded v1.01n and it works fine here. I think I made a typo here on the forum. The commands are SetVirtual, SetVirtualWidth, SetVirtualHeight. Do the other examples work? |
| ||
Wow this is a large derp from my part. I think I first downloaded v1.01h (because it was at the top of the download list), then v1.01n after figuring that was the newest version. But I copied the playniax module from v1.01h to Monkey-X and used the Pyro bananas and demos from v1.01n. Everything is working now thanks! |
| ||
No problem... |
| ||
Hello guys, please just a little advice. It pays to buy Pyro for MX1? Thank you! |
| ||
I am not objective but I can say it will also gets you Pyro 2 once it is finished... |
| ||
@Playniax It's OK! Thanks! I like the Pyro! ;-) I understand that correctly? If I buy Pyro, then I will have Pyro2? |
| ||
Yes, license stays valid. Note that Pyro 2 is for Monkey 2. I hope to release Pyro 2 next month. |
| ||
OK, I bought Pyro. It looks very good! I'm going to play with it;) Thanks a lot! |
| ||
Thanks for the support, enjoy! |