part12studios's Recent Forum Activity

  • holy crap that's awesome! ty!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • interesting suggestions. i'm not sure how to use that plugin but i'll look into it and oosyrag yea that's not a bad quick/dirty idea either.

  • is there a way to set the actual browser size? I'd like to be able to honestly test screen sizes and it would be great if i could toggle between 640x1136 and 768x1024. Canvas size is something.. but that doesn't impact the actual viewport size.

  • ah ok viewport! that's what i need. yes already i'm doing some testing and i can see viewport will move things around based on current size which is just what i needed. this is a big help!

  • oosyrag i have not tried that but it doe sound interesting.

    ultrafop thanks i'll experiment more today.

    I did do some realtime checking "if layouthight is < x" and that didn't seem to work..

  • hmmm yea even in a simple situation it works the same.. it's scale inner that seems to be the issue.. something about how it works that doesn't respect anchor..

    https://dl.dropboxusercontent.com/u/6999242/capx/anchor%20test%201.capx

    open it.. run it.. drag around your window size and watch the purple box drop off the bottom of the screen.. i'm trying to prevent this from happening..

    i'm trying to make a portrait game look full screen on ipad and iphone.. I tried scale outer and it seemed to be much weirder..

  • bump.. seriously.. why would the item that's anchored to the bottom of the screen and set to the bottom of the screen, not move with the bottom of the screen? it's like it's out of sync with it? how do i get an object to stay locked to the actual bottom of the visible screen? because anchor and pin are not working.

  • Hi everyone,

    So I have this project that I want to try to get to be full screen on ipads and iphones, but the 4:3 to 16:9 issue is a challenge..

    I've made a project that is portrait at 640x1136 (iphone 5/5s) and i'm using scale inner. for the iphone it looks perfect.. and using pin/anchors I thought ipad would look good but it seems to do something weird.. as i vertically compress the screen.. the object i have pinned to the button of the screen isn't moving up as I would think it would.

    I'm not sure why.. this is what i see.

    this looks perfect!

    not so much..

    in my mind i feel like the bottom of the screen is the bottom edge of the browser and as I resize the window i would imagine that it would stay anchored to the bottom of the screen but it doesn't.

    just so you know more about the behind the scenes.. the white box has all of those other objects pinned to it.. so the only object i'm trying to anchor to the bottom is the white box.. everything else moves with it..

    there must be something simple I'm leaving out.

    Thanks!

    Caleb

  • korbaach dude you are the man. If I can secure this gig I will PM you. That's is brilliant!

  • yea that's great to know.. sometimes it's just good to know "hey you can't do that with C2 out of the box". man that's so badass..

    ok so in terms of scrolling to a position.. are you able to set a scroll bar position? i'm totally asking this as a novice in this regard. I wonder if the means in which you're able to scroll too based on the bar position couldn't be hijacked.. even if the result was not pixel perfect it would probably be close enough.. like if there were 100 words in the text field.. if the word you find is word 50 you know roughly 50% down? a little math needed if the number was like.. 250 words.. or 41..

    btw, how are you posting animated scripting events like that? that is also pretty awesome

    Thanks!

    Caleb

  • wow i got a chance to peek at the example.. you're using actual javascript.. that's awesome. i would have never been able to pull that off.. i may explore other ways to get a similar result, but this is still a fascinating and very helpful to realize how a solution could be found.. I have a developer partner that I might be able to lean on to help with JS coding to further improve the behavior in my case, but this example sheds a ton of light.. I was thinking i could do it purely through C2 expressions / actions.. but that's not the case.

  • korbaach and newt thank you both. That's super helpful! I'll explore this and see how far I can get with it. I feel like understanding how this example works might help give me ideas of how to address other features!

part12studios's avatar

part12studios

Early Adopter

Member since 24 Dec, 2012

Twitter
part12studios has 1 followers

Connect with part12studios

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

19/44
How to earn trophies