Playniax news

About Monkey 2 Forums Monkey 2 Projects Playniax news

This topic contains 181 replies, has 23 voices, and was last updated by  Amon 6 months, 3 weeks ago.

Viewing 15 posts - 91 through 105 (of 182 total)
  • Author
    Posts
  • #8189

    Playniax
    Participant

    Hi Xaron,

    Yes, I added SetVirtualHeight() and SetVirtualWidth() to the camera class. You use one or the other. For example SetVirtualHeight( 640 ) would set a height and the width stretches according to ratio so your virtual height is always 640

    Same goes for SetVirtualWidth()

    The camera VirtualWidth and VirtualHeight will return the correct values.

    This is not ‘officially added’ because I need to test it with camera zooming, rotating etc. but if you don’t use the zoom or rotating it should work fine, actually I am using it in Revengestar.

    #8190

    Xaron
    Participant

    Thanks, will try it out! 🙂

    #8427

    Xaron
    Participant

    Tony, could you please provide me an example for that one please? Just for a landscape with fixed height but floating width would be awesome. I’m not clear how to achieve that yet :/

    I did something like:

    [/crayon]

    I probably need OnMeasure in the ScreenManager as well, right? I’ve added it and tried different Layouts (like “strech”, “letterbox”)…

    Here’s the background image I use. Base resolution should be 640×360 (16:9 aspect) which can go as low as 480×320 for a 4:3 device. The red line should be on the right border in that case, so the image should be cropped.

    Background Image

    #8431

    Playniax
    Participant
    [/crayon]

    I probably need OnMeasure in the ScreenManager as well, right? I’ve added it and tried different Layouts (like “strech”, “letterbox”)…

    No, you don’t need it. Best to avoid it…

    #8435

    Xaron
    Participant

    Thanks Tony, works quite well. How could I dynamically adapt it so it would change when the window is resized.

    #8444

    Playniax
    Participant

    By moving parts to OnRender or OnUpdate so that it recalculates things that depend on the screen dimensions.
    In this case camera.SetVirtualWidth( 960 ) and background.Location=camera.VirtualResolution/2

    Better make background a field or global in this case.

    #8503

    Playniax
    Participant

    Revengestar coming soon!

    Revengestar poster

    #8801

    Playniax
    Participant

    Just finished the last level!!!

    Now time for some real testing and get get it ready for the stores!

    Revengestar screenshot

    Revengestar screenshot

    Revengestar screenshot

    #8829

    Playniax
    Participant

    Windows version of Revengestar now on itch.io
    Watch gameplay

    OSX is next, iOS coming soon!

    Revengestar was made with Monkey2/Pyro2!

    #8830

    EdzUp
    Participant

    Looks good any plans for a Linux version 😉

    #8831

    CopperCircle
    Participant

    Looks great

    #8841

    nerobot
    Participant

    Nice graphics and visual effects! Well done. 🙂

    #8880

    Playniax
    Participant

    Thanks guys!

    Linux version maybe later. First iOS and Android.

    I just added the OSX version to itch!

    #9176

    Playniax
    Participant

    Pyro2 v1.0.3 is available!!!

    An update of the Monkey2 / Pyro2 package is available on itch and I just uploaded an update to the module manager so I expect the update to be available for download anytime now.

    This is an important update! It has countless fixes and some nice additions. This is the version that is driving Revengestar and Dumbot so it should be very stable.

    I am also finishing up a Tiled loader. There is already a Pyro2 Tiled converter available and it works fine but while working on Dumbot I found it not very practical to convert the tilemap everytime it got an update. The Pyro2 Tiled loader can load tmx files directly eliminating the need to convert ( timesaver! ). I hope to finish and release the Tiled loader coming week!

    Summary fixes and updates Pyro2 v1.0.3

    • Fixed gui touch / mouse issues!
    • Fixed tiled animation timing issues!

    • Changed OnOutro() to OnOutro( layerObject:LayerObject ) for the scenegraph layer objects

    This way you can pass the object that caused the collision

    • Added CreateImageMask command
    • Added PixmapToTilemap command
    • Added Screenshot command
    • Added ScreenshotImage command

    The Pyro2 bananas moved to the Pyro2 module folders and Pyro2 demos and templates ( Pyro2 essentials ) can be downloaded here

    #9275

    Playniax
    Participant

    I just added Revengestar for Android to itch and I am waiting for Google Play approval!

    Android version is free to play. Get it here

Viewing 15 posts - 91 through 105 (of 182 total)

You must be logged in to reply to this topic.