Elliott's Forum Posts

  • You'll need it to face the other way. That's sort of just how physics works.

    Though this thread has been solved, I'm just going to chime in by saying that made me laugh so hard that coke came out my nose!

  • Wait you have access to pure HTML? If that's the case just put this above your doctype, absolute first line of code (Theoretically bad practice):

    <iframe id="iframe" src="http://dl.dropbox.com/u/56104169/WebTest/index.html" width="1150" height="300" scrolling="no" frameborder="0" ></iframe>

    And remove the following:

    <div class='navbar section' id='navbar'><div class='widget HTML' id='HTML5'>

    <h2 class='title'>Construct2</h2>

    <div class='widget-content'>

    <div class='clear'></div>

    <span class='widget-item-control'>

    <span class='item-control blog-admin'>

    <a class='quickedit' href='//www.blogger.com/rearrange?blogID=1649094877974200757&widgetType=HTML&widgetId=HTML5&action=editWidget&sectionId=navbar' onclick='return _WidgetManager._PopupConfig(document.getElementById("HTML5"));' target='configHTML5' title='Edit'>

    <img alt='' height='18' src='http://img1.blogblog.com/img/icon18_wrench_allbkg.png' width='18'/>

    </a>

    </span>

    </span>

    <div class='clear'></div>

    </div>

    The CSS will do all the positioning you need.

  • Okay, wishful thinking but try:

    #layout .region-inner {

            min-width: 0;

            width: auto;

          }

          ]]>

        </b:template-skin>

    #iframe {

        width: 1150px;

        height: 300px;

        margin: 0 auto;

        background-color: #777;

        display:block;

    }

    </head>

  • Bummer!

    Incidentally the effect you mentioned is what happens to my work when I remove the widget container, I assume that talks to whatever Blogger uses to format it's pages.

    Could you dump all the code as it appears in Blogger? It might make more sense in context.

    If Blogger has a HTML area where you can put pure HTML, I'd use one of those; but from my understanding that's what we were already doing?

  • Hmmm I'm unfamilar with blogger, I'd guess sticking it after the closed brace would work.

    Here's my source:

    <img src="http://i.imgur.com/v1sgOcg.png" border="0" />

    The iframe HTML exists within your existing block, yes.

    I'd try:

    #layout .region-inner {

            min-width: 0;

            width: auto;

          }

    #iframe {

        width: 1150px;

        height: 300px;

        margin: 0 auto;

        background-color: #777;

        display:block;

    }

          ]]>

        </b:template-skin>

    </head>

  • No problem!

    CSS:

    #iframe {

        width: 1150px;

        height: 300px;

        margin: 0 auto;

        background-color: #777;

        display:block;

    HTML:

    <iframe id="iframe" src="http://dl.dropbox.com/u/56104169/WebTest/index.html" width="1150" height="300" scrolling="no" frameborder="0" ></iframe>

    Positioning is exactly the same as the original, the CSS goes at the bottom below layout .region-inner and the HTML goes between <div class='widget-content'> and <div class='clear'></div>

    I'm unsure how blogger works, if there's a specific problem I can have a look at screenshots :)

    The main difference is display:block which allows the iframe to be centered like a div, normally iframes align to the left (The i in iframe stands for inline)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Global variables!

    Positioning is trickier, you might want to look at

    scirra.com/manual/82/includes

  • Okay finally got it working:

    ursidacom.co.uk/construct-2-iframe-help.html

    Source code: Right click, view source, copy and paste

    Accidentally kept changing the blog format... In the end just centered the iframe in CSS.

    Sadly the problem I mentioned exists, your home link simply opens within the frame.

  • I'm currently trying to get this to work (Tonne of code for a webpage!) but the issue I feel should be pointed out beforehand is that your link to your homepage wont work; an iframe is effectively a windowed browser, your link will load your site within the iframe.

    Parent frame control is something I'm desperate to try and work out in C2; no idea sadly.

    Ashley ?

  • I'd be interested in pitching in (Y) It'd give me something to think about in my down time

  • Yep sure thing, I don't have much time so I'm just going to dump the very hackish solution that works, sorry I don't have time to explain but hopefully the event sheet explains it!

    <img src="http://i.imgur.com/Knqmpbs.png1" border="0" />

    As well as an event that resets the tramp bounce variable when the platform object is "onLanded".

    If you have any questions please ask :)

    There's definitely a better way of doing this but my head's not in it...

    Yann

    Any suggestions, I want to say an if/else statement would be more elegant.

    Gotta dash :D

  • I'd be interested, but this is very vague!

    Have you bought software before? Do you have a contract in place to protect both yourself and your client?

    Assuming the answer is yes, a few more questions(!)

    Your spec leaves a lot to the imagination; you mention map select and upgrades: Who's planning them? The programmer? Or is there a brief in place that has to be followed? This can definitely change the price!

    Next up is leaderboards, what do you mean by that? A local high score table? Facebook leaderboards? GameCenter? Do you have a server if you're going for web-based leaderboards?

    The final thing I need to know is what platform? You mention mobile but that could be anything from iPad to a HTC Desire HD. Will you be handling the porting for each device or do you want it to be optimised?

    I've haven't charged a client for C2 work before, but based on previous jobs $500 would be the starting price, as well as a solid design document and contract.

    Hope you find what you're after   <img src="smileys/smiley1.gif" border="0" align="middle" />

  • I rated the game at 3 stars, but gave a 4 to compensate for for the 1 star review.

    The issue for me is that while the design and sound were great (As well as a high score edge, I love trying to get points!) I had no idea how I was winning; I sat there for ages trying to find a tell tale hint or difference between the gems but I couldn't work one out!

    So for me it just came down to guessing; good game design asks the player a question and rewards them on how they respond, with this my response was the same each time, guess a gem, but it resulted in negative reinforcement as the majority of guesses I made were wrong. That's what makes games unenjoyable, and that might be why someone one star'd it.

    That said I obviously enjoyed it, please tell me if there's a knack or trick I'm missing?!

  • > There's no way a C2 project could ever be responsive, you'd have to create multiple projects and rotate your iframe depending on your parameters.

    What do you mean by responsive? Games by definition need to be responsive. Is that a term for something that I'm not aware of?

    In web design responsive means that the website dynamically resizes itself to best suit the dimensions of the window or device browsing it:

    See here: bahs.com

    Try adjusting the size of your window and notice how the elements resize.

    Responsive web design is the cutting edge of what designers can offer now, it's what SEO was 5 years ago! I can definitely see how the term is misleading though; never thought of it like that but responsive is such a normal word <img src="smileys/smiley36.gif" border="0" align="middle" />

    in my opinion C2 is very good tool to creating websites. Tell me who saw website with animated background? :D C2 can do this :)

    C2 is a sensational tool for creating games, and thanks to it's obvious browser capabilities exceeds Flash in my eyes in regards to web multimedia creation... but it's awful at creating websites! For the simple reason that it's not a website builder! You can't crawl or gather any kind of relevant search data from a C2 project, you'd instantly fail checks from bodies like Google, W3C and the Disability Accessibility Act.

    The humble .gif can provide animation for every browser in the world, I'd let C2 do what it does best, which is be a bloody outstanding game engine :)

  • Let's see the .capx (Y)