vancouver's Forum Posts

  • just remove the "space" after https://

    like:

    https://googledrive.com/host/0B9sfSi5X78ftWkZWbWowUEdTVm8/index.html

    Never mind ... thee site doesn't finish loading ....

    The future of eduction, as we know it, is ..... dark.

  • Men Men Men Men Manley Men,

    that is actually a great idea. I don't play computer "games" and don't know what is actually possible.

    So basically, I'd create a transparent sprite on the left hand side which, when touched (twice maybe) slides in from the left with the menu buttons ....

    I will have to do a little reading to learn how to pin the buttons etc...

    Thanks

    * If you don't watch Two and A Half Men then please ignore the first line

  • RenatoB

    Hello Renato,

    On your FTP server

      create/make a directory to hold your games
      upload your C2 HTML5 exported files into that directory

    Inside WordPress

      Make a new blank page
      Insert the "iframe code" in TEXT mode!!

    Paste this into your WordPress page:

    <iframe src="<URL to your project's index.html>" name="<Name of your Iframe>" width="???" height="???" frameborder="0" scrolling="no" ><p>Your browser does not support iframes.</p> ></iframe>

    Replace the URL with: "http://yourdomain.com/directoryname/subdirectoryname/index.html"

    You don't even have to use the "index.html" part because the server "expects" an index or default html file but still, it is best to specify.

    Width and height of your game

    Here is where it get's a little tricky. The culprit is RESPONSIVE web design.

    Assuming you have a WordPress theme which comes with that feature (and it should), you'll need to look over your "main.css" file and find the class which deals with making inserted objects responsive.

    Most examples on the net only describe how to do with with a YouTube video so most likely, you will have to add custom CSS and then use a <div> tag to reference the "class" (CSS Class).

    The above iframe code would then look something like this:

    <div class="xxxxxxxxclassname">

    <iframe ...... </iframe>

    </div>

    Please tell us your URL so that we can check if your site uses responsive design and if it does, you should be able to tweak the CSS class to make it happen.

    Also. If you have multiple games, you need to create a sub directory for every game title. Please make sure that the first directory (which holds the sub directories) is not empty because it is best practise to have an index.php file in there which you need to create with a text editor (for security reasons).

    On your computer, make a new file with this text inside and then save it as index.php

    <?php

    // Silence is golden.

    ?>

    This will display a blank page and thus, prevent a directory listing which would give away your file structure.

    See if this is enough to get you going.

    Maybe you will need to find a new WP theme or append your existing one with the following css class:

    You can find your CSS file inside

    wp-content > themes > themename > style.css (or what ever name the author used)

    I use this CSS code to make the magic happen:

    /* Flexible iFrame */

    .Flexible-container {

    position: relative;

    padding-bottom: 56.25%;

    padding-top: 30px;

    height: 0;

    overflow: hidden;

    }

    .Flexible-container iframe,

    .Flexible-container object,

    .Flexible-container embed {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    }

    So then, the iframe would be inserted this way:

    <div class="Flexible-container">

    iframe text

    </div>

    I hope you are up to speed with CSS otherwise all of this will seem complicated but it is actually no.

    The good news is that you only have to do this once. After that is created and you get the first game to display as you want, you can always just copy paste and only change the game sub dir and you are good to go!

    YAY!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I was just reading about how W7 machines had to do that manually .... so, thanks for suggesting this work-around.

    I just imported the .ogg files and now ... it's time to ether sleep or work until the sun comes up.

    Thank you!

  • Aphrodite

    WOW, YOU are good!

    I never noticed that. Indeed, after I select the files and press OK, the second window displays an error on all .wav files.

    Converted to AAC but failed to convert to OGG

    I am on a new computer running W8.1 and only C2 is installed on it.

    Strange!

  • Hi,

    I bought a new computer today which runs W8.1

    Installed C2, latest beta but the project I was working on did not have .ogg files

    I figured that it might be a glitch with the latest beta so I reverted to r.168 just to finish my project.

    SAME THING!

    What am I missing?

    I create and import .wav files into the sounds folder but all I can see in there are only the .m4a and .wav files. No .ogg get's created.

    Help?

  • I just played your game. LOVE IT!

    Regarding your image distortions...

    Are you, by any change, adjusting the sprite sizes by pulling the handles to make the images larger? (Just a wild guess)

    I use images, even lines of text (copyright etc.) which I export to .png image format and there is no distortion.

    Let's start there for now.

    If yes, just make the buttons and icons the size you want them to be and don't adjust them further unless you do it by opening the sprite and make size changes there.

    To find out if sizes have been manipulated, click on a image sprite or icon and then on the "Make 1:1" link (Properties panel). If the size changes, then you found your culprit.

    Let us know.

  • Hello,

    I have another prototype ready which is based on a previous app of mine available in iTunes (iPhone only).

    This time, I want to implement some new features and wonder if there are better ways to display the buttons.

    Basically, I don't want a UI which seems too busy or more complex than it needs to be.

    Any pointers or ideas on how to display five buttons (in less space) would be great!

    Thank you

    P.S. The buttons bring up new scenes with different content but re-used sounds etc...

  • Tetriser

    I use ASO (A Small Orange business package, $20/month)

    Been with them for about a year and considering a possible move to bluehost.

    What I like about ASO is that I was able to set custom MIME Types which I needed in order to make some of my apps (sound issues w IE) work.

    I think that both are great hosts. ASO comes with a free SSL when you chose the small business package.

  • Thanks nimos100!

  • refais23

    Thank you.

    I've just updated the way the keys animate ...

    Slowly, it's getting there

  • Lately, my cell phone battery barely lasts a day (used to be 'round three days based on light browsing and only a few calls a day).

    After I test my apps, I always turn off my phone but when I use it again (an hour later) the battery which might have been 66% is not down to 22% (example values to make a point).

    I have looked at some of the options but didn't find anything which would help me kill the app once I no longer want to use it.

    I bet there is a simple solution but Mr. Google doesn't play nice today

  • Hey guys,

    currently, I create .png images which is use for piano keys.

    I load those images into sprites. Size wise, they are quite small but I don't think that is ideal.

    I am wondering if there is a way to have a (any) colour as background PLUS a text object (which might or might not change per animation frame).

    Basically, all I want to do is make a sprite .... for example. 100 wide and 200 high plus a single letter.

    The advantage would be that it is much easier to change colour and font size etc...

    Thanks

  • piotrnikov

    A0Nasser already provided a solution ... I just want to add some "helpful" steps.

    Say you create a new sprite which, by default, is 250 by 250 pixels.

    Now you adjust it on screen to what ever dimension fits your needs.

    Before you open it to adjust the image as A0Nasser already explained it would be best to take a loot at the "new" dimensions which are visible in the Properties tab > Common > Size ###, ### (as long as the sprite is clicked).

    Memorize those numbers and THEN open the sprite to adjust the dimensions to reflect the adjustments you made.

    Warning! As soon as you close the sprite, things will get a little weird but all you have to do to fix this is click the Make 1:1 link (also found in the Properties tab further down).

    Now you are good to go.

  • I had a lot of fun yesterday as I prepared the graphics for this app.

    Some of you know the colour version (PRE PIANO) so this is the next level for older children who want to learn how to play the piano.

    http://littlecomposers.com:8080/apps/baby-grand/

    The usual applies. Works on my Android powered Samsung Note3 but I can't test on IE because the only machine I have left running W8.1 won't connect to the internet (had to transfer the C2 file via USB stick).

    I am still trying to figure out how to "mark" the C, E and G keys so that new students can recognize/memorize them faster.

    As always, if anyone spots something that needs "attention" please tell me.

    BIG THANK YOU to the makers of C2! I have named the second last key after you. c2