Ragevortex's Forum Posts

  • Oh thanks! arrall as soon as I get back to work this monday I'll give it a try on my app to see it working. I'm getting the base 64string from a plugin called Canvas2Image which I'm transfering to a text file (or a variable depending on what im trying in my projects) this plugin is golden for me I get to use it for several camera based app concepts and it works awesome. (also saves me loads of time)

    As soon as I get this project running I'm going to have to write down a detailed explanation of how to do what I'm doing with it. So far I've seen no project with the stuff I'm putting in being developped or actually had any of my questions completeley answered.

  • arrall soooo.. technically i should be able to solve this issue with your solution... let's give it a go I'll let you know.

  • Ok this looks lke your everyday question however here's the catch.

    This project has changed dramatically recently.

        Used to be a 2 app based project. Now its a one app based project.
        The project should now send data to a mysql database (id, gender, scene, image(in base 64format)).
        Should generate a url with the generated id.
        Should be able to retrieve the information from the database based on that id.

    The app is like an editor. You select an option, take a picture and select another option

    so basically ill end up with 4 variables

      variable 1 is the id for the row that should be unique enough.
      variable 2 is a number (0 or 1)
      variable 3 is another number (0 to 7)
      variable 4 is a base64 string

    --the end result on submit will be a link shareable trough facebook or other social service.

    This shuld enable the app to read on load that information... I'm a bit unclear as to how but the idea is that the app shares it as a url

    when people click it they're directed to the app again and the same url contains the generated id that applies to a row in the database.

    If any of you have an idea about this let me know please.

    Q - why didn't I save the image ?

    A - I don't want to use storage at all for this project

    Uppon further re-thinking this has become a single app provided I manage to solve some issues I'm working on at the moment.

    Thanx for all the invaluable help so far. I know Ive been annoying up to a point but when the project is done you'll have helped build something new that in turn wil become a new tutorial for our comunity.

    Here's a capx and a sample placed on my server.

    test page on my server (not the official server)

    capx for checking

    Any and all the help is greatly appreciated. I'm at a fuzzy-brain-block at the moment and ideas may help clear it up.

    [update]

    Here goes to you all who helped me finish this product successfully.

    The product is now live ( here )

    Special thanks to:

    arrall for being just awesome.

    Ashley for making this great product.

    ArcadEd for the tutorials.

    lucid because spriter is just awesome one of the best inversions I ever made beides Construct2.

    What the final product is.

    This is a free animated personalized social sharable postcard maker.

    This one is localized to the programs produced the station, however when I make my (first) tutorial I'll be using the "generic" file so people can create their own and probably improve uppon it.

    What the final webapp does:

    • It has an animated front screen with music.

    -- that screen has male,female selection buttons and a mute/play button for the music.

    • has a picture capture setup screeen where you frame your face on the given space and take the snapshot.
    • this goes to a simple icon menu that lets you choose a program roster to be a part on.
    • uppon sharing via twitter or facebook this app will also save the picture and related data to a server and give out a custom coded random number/letter id whithin a link which will direct the user to a finished postcard with the settings all set. This postcard includes a button that will in turn return a user to the main webapp site with the editing functions cleared so they can make their own postcard.
  • Hi there all plugin makign geniuses.

    I spoke with the dude that made CCapture.js

    and he tells me as long as "it's canvas" it should be adaptable and usable with construct 2.

    Any adventuring types would like to try and make a plugin out if this?

    I for one would fine it very usefull... imagine capturing part of a game or a scene and sharing it with friends with facebook or twitter. I'd see some nifty uses for that.

    Have fun, enjoy and let me know if something comes out of it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > This however doesn't answer why it is not showing at all on iphone browsers.

    >

    According to CanIUse, webcam/getUserMedia API is not supported in Safari/iOS browsers.

    So as long as Apple does not implement support in those browsers, nothing to be done.

    Thanks Kyatric for the quick answer... that is rather sad though. For all the apple boasting they're still behind. I guess they are still preety overpriced paperweights for now... sad though.

    This does however answer that part of the question. Thank you very much mon.

  • It's probably a bug in Chrome or the device's camera driver. It's the same C2 code running on all those platforms so that wouldn't explain the difference. I'd recommend reporting it to Google.

    Thank you for the reply. I just send the ma bug report in regards of the inverted image colors. Hopefully they'll have an answer other than "we don't now".

    This however doesn't answer why it is not showing at all on iphone browsers. The idea of the project being html5 and not a separate app is to make it as available as possible to the public. It's a "for fun" personalized-postcard style project. This project may even be usefull for other implementations such as having characters with the player's face.

    Any ideas are welcome thank you for your great work and paying attention Ashley

  • Ashley , Kyatric

    I Still have no answers from the rest of community due to the speciffic nature of the issue. Either way here's an Update - on the blue face issue

    I decided to test out the demo provided by c2 (which in essence is the same code I'm using for my project)

    The results in android galaxy s3

    default browser - it doesn't work

    chrome for android - blue face inversion issue

    firefox for android - camera and snapshot is as it should be.

    ----

    desktop(PC) - works as intended.

    -----

    on mac - works on chrome not on safari

    -----

    on iphone - doesn't work at all - firefox doesn't seem to exist for some reason.

    Clearly there's an issue here.

    Note the default c2 project is exported as html5 and ran streight from google drive here

  • Here's some extra information that might help.

    I'm adding a stripped down version of the project.

    It does however use some plugins:

    including the spriter plugin (which I'm using for the animations)

    Thanx for the suggestions Kyatric now hopefully you can take a look at it.

  • I'm using user media for the camera object in my html5 published project but in my case the camera inverts the colors. Other than that it works... i'd really like to fix that issue tho. I can use it fine on desktop and on android(with the mentioned issue) it doesn't show at all on apple or iphone tho.

  • Hmm really no one has an idea why this happens? Ashley ... anyone?

  • cranberrygame I wonder if you could make a plugin for html5 based web aplications for the camera use... i know you have one for phonegap (which I purchased along with all the others) Also some "wiki" type documentation would be awesome. Sometimes I just like to prepare ahead of time to make my game/aps/etc..

    Thanx for the plugins though.

  • I'm checking what is causing this i honestly have no idea. This is using the basic camera object provided by C2.

  • For some reason the camera object on mobile is taking inverted (blue) pictures.on desktop it works fine tho. I have a samsung galaxy 3. On iphone its not eaven asking for the camera permison it just won't work.

  • Hey lucid I have a project where I need to animate some dancers and musicians any chance there'll be a bone animation repository for gamiing and animations in general we could use?

  • Well then if its the way to go its the way to go... I'm re-working my game to use the GP and AdMob plugins instead of the CJS one ... hopefuly I can get it back up, running and ready for the intro animation video for the next update of the game.