Ragevortex's Recent Forum Activity

  • arrall I wouldnt call it a wasted effort. Learned a few things along the way. I'm going to attempt another strategy for that with a database but it will take me a little more thinking. maybe i can get an id and target that...

    Also the caracter length I've been getting from the app has been 2k-3k(which is still preety big) you must be using huge images or something if youre getting 16k.

    I'm still looking into other solutions however the link part is a must for this app... even if i have to find a way to shorten it by implementing mixed solutions. As soon as i have a working demo ill post it on the site again.

  • arrall Ashley So far so good. I'm wondering however if i need the variables to be loaded in the php outside the iframe or the one from construct2. The question comes because If i place it on the outside and the url is default (no variables in it) it gives me 3 errors (becaue var 1-3 are alegedly not defined) when I use the link made by the app it doesn't give me the error but it's also not going anywhere and stays on the main screen...

    when I do the same on the inner php (the one in the iframe) it doesn't show me any errors but also doesn't do anything in terms of moving to the desired scene. As always it may be an error on the way I've implemented it.

  • arrall - Progress report - as of now I've been fighting with a little issue generating the link. (added the popup plugin to show myself whats going on... I couldve used browser's alerts but im lazy like that. ) So the numeric variables were being added correctly to the string for the url however the base64img string was not... i'm fixingthat as I write this (btw its a huge string) hopefuly it will be working good enough in a few mins that i can go to the sharing part and see if itsworking. (i also placed a popup box there so i can see the actual link being made and i can actually copy it from there in hopes the app reads the thing correctly...

    -Edit- as it turns out after all my troubble the problem was a syntax error when I changed the url variables for mine.... lol made me waste 20mins trying to fix it heheh.

  • arrall well at least it loaded...(had to move it from the google drive to the test server ... for some reason when using php in google drive it tries to download the darn file)

    I have to check the logic for the load or skip to scene part I may have made a mistake since its waiting a little then skipping from the get-go instead of staying there when first loaded.

    I'm not using buttons or texts for the most part I'm just using global variables.(and hoping the minor changes i did to the php are correct)in the end I might just add the txt files hidden just to make sure it doesnt mess up.

  • arrall I'm almost set for a test run. I'm wondering, however, if the app is embeded on a webpage and not the main webpage itself will it affect the outcome? ...

  • arrall I was able to take a look at your example ... preety sweet. So you mention it's possible to just go back to the same app with a different setting? I'll give that a try at the moment I have 3 layouts. (homescreen (here you pick gender male or female) setup screen here you take a pucture and select the "desired postcard" and in layout 3 I show you the postcard based on the choices made and place the picture on a character as it's face. In this last layout is where one would submit all that information if you'd like to share it on facebook(for example) as a URL. I'm guessing I would need to make a change to the home screen to "read" the variables and pass them to the last screen if the variables are on the link and if not wait for input or something like that.

  • 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

Ragevortex's avatar

Ragevortex

Member since 2 Mar, 2012

Twitter
Ragevortex has 1 followers

Connect with Ragevortex

Trophy Case

  • 12-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies