justifun's Recent Forum Activity

  • Yaottabyte - any chance you can take a look at this plz?

    thx

  • the link I posted works for me. Does it not for you?

    https://dl.dropboxusercontent.com/u/403 ... eshold.zip

  • Here is the scirra forum threa about the plugin.

  • To give back to the community I've hired a developer friend of mine to produce a Construct 2 Plugin of the 2D Skeleton Animation package Nima (https://www.2dimensions.com/)

    Nima is currently Free in Beta!

    Since it works in a web browser it supports Mac and PC (not sure about linux)

    Official Nima Beginner Video Tutorials: https://www.youtube.com/playlist?list=P ... VzT_UFrBRv

    Proof of concept: https://dl.dropboxusercontent.com/u/403 ... index.html

    Plugin Download: https://github.com/quinnhoener/Nima-Web ... /c2_plugin

    Example CAPX: https://u403350.dl.dropboxusercontent.com/u/403350/Nima-Plugin-example.capx

    Currently only supports C2 - C3 coming soon.

    Current Features:

    Playing specific Animations

    Changing animation speed (-1 to 1) negative for reverse, 0.5 for halfspeed

    Flipping/Mirroring

    Mesh Deformation

    Nima Animation "Events" (trigger a construct action at a specific frame in your animation)

    Roadmap:

    Nima Collision boxes support

    How to use:

    -Download and unzip the plugin from the above download link.

    -Copy the nima-c2-plugin folder to your Construct plugins folder.

    -Restart Construct.

    -Add the Nima plugin to your project by double clicking the layout.

    The sprite editor will open where you can choose a still image of your character for size reference.

    Close the animation editor.

    Exporting your project from Nima.

    After you are done animating in Nima go to the Export button in the lower right corner of Nima and click Export/Export to Engine and specify WEBGL at the top of the screen.

    A .nima file will begin downloading.

    There's a few more steps to get it up and running.

    Back in C2 In the project window on the right. Right click the "Files" folder and pick Import and choose the exported .nima file that you just downloaded.

    With the nima object selected in the properties window on the left you need to specify a few fields.

    Nima Data URL: the name of the .nima file you imported with extension eg: Player.nima (note this IS case sensitive)

    Start Anim: The name of the animation you want to play by default (no quotes, and this IS case sensitive)

    Base Width/Height: set these values to the height and width of your still image version of your character that you added when you added the nima object to your scene. This establishes the proper aspect ratio of your character when it renders at runtime.

    Press play to see your animation running in game!

    Troubleshooting:

    If you get a Javascript error its most likely due to typing an animation name or property setting without matching the case sensitivity of the correct file name or animation name.

    If the aspect ratio of your character is strange , make sure Base Height and Width is set correctly to the same width and height of your single frame image of your character design that you imported at the beginning.

    Bugs: Please either submit bugs in this thread or in the github bugs section.

    And finally. special thanks for castor2d for making Nima!

    And my buddy for writing the plugin.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Is the new "remote preview" feature missing for anyone else too? In the blog post its supposed to show up next to the regular preview menu.

  • you can check if the character is X pixels away from the ground with the "on collision with offset" action to see how far away from the ground he is.

    or you can simply make him jump again by using the action "simulate input "jump" to force him to jump again regardless of his state.

  • you can use a disable collission action on an object based on whatever condition you setup.

    or you can use a plugin like chipmunk phyics that has collision groups and prevent certain objects from colliding with others based on that group.

    for your top down game example question.

    make the water a solid object. Then if the player is next to a rock block. and pushes up (to push the block into the water lets say). you can use the "on collision at offset" action to check if there's water behind the rock, and if so, disable the collision on the water, and move the block into its position.

  • http://www.2dgameartguru.com/

    lots of tutorials on how to start making simple art.

  • so i did some tests,

    It seems that if the object is set to start on the left as its default docking location, then you try and switch it to the right side via actions it will break.

    even if you try and use the action "set dock to none" first,

    so it appears as if the action to change a docking location as an action is broken.

  • Came across an issue that I found a solution to in case anyone else was beating their head about it.

    When I export an HTML 5 version of my game and then drag the folder to my public dropbox folder (Webapp). For some reason, ONE image always seems to get uploaded outside of the images folder.

    When you try and load the index.html file, you get a red loading bar, and the console says it can't find that image.

    For some reason Dropbox is moving that image outside of the images folder (when it's clearly inside it before uploading).

    I still need to check if the desktop sync app causes this too, but it's giving me other sync issues right now.

    The solution is to simply move that image after it uploads into the images folder on the dropbox webapp. Then reload the page and you will be good to go.

  • I'll put together an example but it was when I tried to use the runtime action to set it. However I think what's happening is that since it's already docked to the left and keep size is on. That when I try to dock it to the right it gets confused or something.

    So to repro it. Set to dock to left in the properties panel with keep size on. Then on start of layout set dock to right via an action.

    The debug screen will show a x and y position value of NaN and the object disappears.

  • I've noticed with the recent versions of chrome that webGL is disabled by default now. so perhaps its running canvas 2D.

    Try making a text box with the text set to system.renderer and see what it says. My guess is that its defaulted back to canvas 2d.

justifun's avatar

justifun

Early Adopter

Member since 9 Oct, 2012

Twitter
justifun has 3 followers

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

19/44
How to earn trophies