megapowerskills's Recent Forum Activity

  • Hi. I'm making an iPad app using the phonegap build service. I have all of the functionality in place that the app requires except the ability to output to a PDF file. I basically just need to do some screen captures, add them to a PDF and save the PDF.

    I like jsPDF but have been unable to get it to work in phonegap. This has some info about using jsPDF with phonegap: http://www.tricedesigns.com/2014/01/08/ ... egap-apps/

  • It's possible with phonegap and the camera or phonegap capture plugin

  • JohnnySheffield Hi, I'm having some difficulties getting this plugin to work on phonegap, is it compatible? I've tried it on other platforms without a problem so I don't think it is user error.

  • cranberrygame Hi, great plugin, just tested it and it's doing everything I need it to.

    Would you be able to create a plugin to generate PDF files from a phonegap app? I'll gladly make a donation in excess of the plugin price if you can make one soon.

  • Hi. My name's Phil and I'm a game artist from the UK. I've worked on a number of iOS games, flash games and one xbox360 indie game. I can work in 2D and 3D on all aspects of your game. Here's a bunch o' samples of stuff I've done. I'm quick, reliable and communicative throughout a project.

    If you wish to contact me, either add me on skype: megapowerskills. Or email me at philxke@flyingtiger.co.uk

    <img src="http://i1333.photobucket.com/albums/w631/megapowerskills/mockups_zpsd4486a5e.png" border="0" />

    <img src="http://i1333.photobucket.com/albums/w631/megapowerskills/aztecmockup_zpsd191c167.jpg" border="0" />

    <img src="http://i1333.photobucket.com/albums/w631/megapowerskills/Background01_zpsadb8fdb0.jpg" border="0" /><img src="http://i1333.photobucket.com/albums/w631/megapowerskills/Running_zpsb19b549e.gif" border="0" /><img src="http://i1333.photobucket.com/albums/w631/megapowerskills/WomanRunning_zpsde86dda2.gif" border="0" /><img src="http://i1333.photobucket.com/albums/w631/megapowerskills/MowgliRunning_zps246ed5b1.gif" border="0" /><img src="http://i1333.photobucket.com/albums/w631/megapowerskills/zom1_zpsca222881.gif" border="0" /><img src="http://i1333.photobucket.com/albums/w631/megapowerskills/samples2_zps9c7bed24.jpg" border="0" />

    <img src="http://i1333.photobucket.com/albums/w631/megapowerskills/gymscreen_zpsf7935421.png" border="0" />

    <img src="http://i1333.photobucket.com/albums/w631/megapowerskills/ipad_zps41d7d106.jpg" border="0" />

    <img src="http://i1333.photobucket.com/albums/w631/megapowerskills/lizardmanflat_zpsf8720f2a.jpg" border="0" />

  • Ah, excellent. Thanks. I was hoping it was just a silly little mistake on my part! Working now

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello folks. I'm working on a little promotional game for a client. the game is working and I just need to add a feature that takes an input from the player and adds it to a database. I've followed the arcade ed tutorial on high score tables and that is working, now I'm trying to modify the PHP to accept some more variables. They are: Name, email, phone number and 2 booleans, one called 'car' and one called 'insurance'.

    I know nothing about php so it's just trial and error and I thought I'd reach out to try and see if someone could help me on this. Here's my PHP file for saving the data so far (I've edited out my login details):

    <?php

    $db = "database";//Your database name

    $dbu = "user";//Your database username

    $dbp = "pass";//Your database users' password

    $host = "localhost";//MySQL server - usually localhost

    $dblink = mysql_connect($host,$dbu,$dbp);

    $seldb = mysql_select_db($db);

    if(isset($_GET['name']) && isset($_GET['email'])){

         //Lightly sanitize the GET's to prevent SQL injections and possible XSS attacks

         $name = strip_tags(mysql_real_escape_string($_GET['name']));

         $email = strip_tags(mysql_real_escape_string($_GET['email']));

          $phone = strip_tags(mysql_real_escape_string($_GET['phone']));

          $car = strip_tags(mysql_real_escape_string($_GET['car']));

          $insurance = strip_tags(mysql_real_escape_string($_GET['insurance']));

         

         $sql = mysql_query("INSERT INTO `$db`.`scores` (`id`,`name`,`email`,`phone`,`car`,`insurance`) VALUES ('','$name','$email','phone','car'','insurance');");

         

         if($sql){

         

              //The query returned true - now do whatever you like here.

              echo 'Your information was saved. Congrats!';

              

         }else{

         

              //The query returned false - you might want to put some sort of error reporting here. Even logging the error to a text file is fine.

              echo 'There was a problem saving your information. Please try again later.';

              

         }

         

    }else{

         echo 'Your name or score wasnt passed in the request. Make sure you add ?name=NAME_HERE&score=1337 to the tags.';

    }

    mysql_close($dblink);//Close off the MySQL connection to save resources.

    ?>

    Thanks in advance to anyone who can assist.

  • Like it. Definitely got potential

  • Looks really nice. As mentioned above though, the gameplay could use some polish. The attack isn't satisfying enough and it doesn't feel very responsive. I definitely think it's worth making the improvements as it looks so nice.

  • Hi. My name's Phil Atherton. I'm a game artist from the south west of the UK.

    I'm currently doing a lot of work in the iOS game market. I've been using gamesalad up until now but I've noticed that construct 2 seems to have a lot more features and the plugins are a very attractive prospect.

    I manly work on other people's projects but I am also developing my own titles. I'm a child of the 80s so I'm really into retro pixel styles and solid, traditional gameplay.

    I'll see you all around the forums and I'll be posting my creations for all to see.

    Phil

megapowerskills's avatar

megapowerskills

Member since 2 Sep, 2013

None one is following megapowerskills yet!

Trophy Case

  • 11-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies