Virpoja's Recent Forum Activity

  • In your example its being saved to binarydata as h.264 but did you try downloading the video? Which format is it? Or is it the actual downloading that is messing it up? I need to do more testing on it later.

  • I tested it out. When you download it saves as video.mp4.webm so its only named mp4 but it is actually .webm. Atleast I think so when testing on my phone. ( can't get to my pc right now)

  • Thank you ASHLEY. Tested the example again on Android and in principle it seems to work. So there may be hope in the future if web share API will include support for Chromium so it would work on desktop exports.

    Problem with Game recorder and Twitter seems to be that Twitter only supports mp4 & mov video formats and Game recorder only records webm if I am not mistaken. Do you know is there any workaround for this inside Construct? Although it seems unlikely, is there a way For example file conversion or a way to record other than webm formats?

  • Thanks rafaeltrigo, awesome examples and other tutorials as well. However, I still don`t get it. Recording seems to work just fine but sharing doesn`t. When clicking "share" it says not supported. I tried to export project to desktop but that did not help either. I also tried to add Twitter plugin and use that, but could not get it to work either.

    Do you or anyone else know if there is a way to set Twitter plugin`s share to actually share recorded video?

    Thanks

  • Hello!

    Last couple of days I`ve been trying to create a system to record video or gif inside my game and to post that to Twitter. I don`t meen using 3rd party software to do this, but actual game feature to record and share that recording.

    I have been able to make a recording using GameRecorder plugin, however, I don`t think twitter supports webm format since I haven`t been able to share the video even when manually downloading it and then sharing. So it would need to be converted...

    I have also tried to set Twitter plugin "share" to GameRecorder.recording URL with various methods, but have`t been able to get it to work. I have tried Share Plugin, BinaryData Plugin, AJAX, Browser.... but nothing works.

    Can anyone either help me with this or tell me if it`s not possible.

    Thank you in advance.

    Here is my useless c3p-file

    dropbox.com/s/ck0hpab85rhrah8/videorecordshare.c3p

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks you Sir! It works! I`ll look into TMX also but for now this solution is perfect.

    Thanks again!

  • Here`s a sample project file. dropbox.com/s/h1yhcykb47mbgsk/TilemapJSONtest.c3p

    JSON that I exported from Pyxeledit is imported in the project (in the files section). Tilemap source image that is attached to tilemap object is also exported from the same project in Pyxeledit.

    I haven`t edited JSON file in anyway since export and have no idea if I should... Also, as stated I also tried JSON file downloaded straight from Construct 3, that file is also imported in the project.

    Thanks for your help

  • Hello fellow Construct users!

    I have been trying to set tilemap from JSON file and have had no luck with it... I was trying to follow the steps in this tutorial video, but alas... does`t work. (Tilemap stays Blank)

    youtube.com/watch

    So, I have tried to import JSON file, then use AJAX to request project file I imported. After that use AJAX

    on completed trigger to set tilemap from JSON -> AJAX-lastdata.... Tilemap stays blank. I have tried to create JSON file with Pyxeledit and even with Construct 2 and 3 with Tilemap -> download JSON.. Nothing has worked. I have tried to search instructions from forums, youtube etc... nothing has come up.

    I also tested setting text object -> set text to JSON file and that worked. So importing and AJAX thingy seems to work but tilemap doesen`t seem to get set..

    Here`s a sample project file. dropbox.com/s/h1yhcykb47mbgsk/TilemapJSONtest.c3p

    Anyway, I really hope some1 has a solution. Thank you in advance.

    Tagged:

  • Oh man, thanks so much 99Instances2Go!

    Second implementation is really sweet but it was actually this:

    "distance(Sprite.X,Sprite.Y,Sprite.LastX,Sprite.LastY) > 0,1"

    This is one of those: "how in hel..... I did not think that" moments.... I was sure there is a simple solution that I just can`t think of... and it was this.

    So thank you again for your efforts, Construct community prevails again. (as it always does)

  • Damn... And I thought I had a good solution. Thank you R0J0hound and every one else for your suggestions. I think I will tinker around little bit more with the example provided by Maybe try to implement some basic AI using that method.

    Again, thank you all for your help

  • Ok, I updated the example. https://dl.dropboxusercontent.com/u/137 ... n_ve2.capx

    Now you can also strafe by holding ALT key. In example you can see that collision detector sprite is always on the correct position. (even if you hold ALT, Left Arrow, Forward Arrow at the same time)

    So that is working great... Except when it matters, when the collision is detected.

    SO the thing i need is a sure way to "save" the last position before collision to maintain the correct angle instead of it updating to 0.

    Anyone have any ideas?

  • lamar, thanks.

    I guess I am being kind of picky but I want to stay away of using "wait 0.1" etc. stuff, since I want really responsive and crisp implementation.

    I am already using variables to store last position and using that to calculate the correct angle. That works pretty well too. I think I have to find some way to store the last position (just before collision) to prevent "angle of motion" updating to 0.

Virpoja's avatar

Virpoja

Member since 1 Jan, 2013

Twitter
Virpoja has 131 followers

Connect with Virpoja

Trophy Case

  • 11-Year Club
  • x2
    Popular Game One of your games has over 1,000 players
  • x2
    Famous Game One of your games has over 10,000 players
  • Viral Game One of your games has over 100,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

18/44
How to earn trophies