PKrawczynski's Recent Forum Activity

  • Cant change x,y position of SquareTX via game logic and can only do this in inspector view - could it maybe be updated to add setX and setY functions as I would like to center my board but layout view is dynamic because of scale outer.

  • Ah right I see now that you can get nodeXAt. It was probably missing from documentation.

  • Pathfinding behaviour is quite useless for turn based game purpose because it doesnt give access to array of points on found path and can only follow path without much of my input.

    Anyone have something done that can be used in case where you want to know points on path and move object by yourself instead for lets say only 3-4 cells or like x ammount of pixels?

  • You should just write a plugin. It really shouldn't be that hard if you already know javascript.

    I dont know JS. I do have coding experience but I pretty much hate JS.

    No idea also how this sort of plugin would work. How would it allow external js to control game timescale.

    Either way hacky workaround is good enough as it does job it should.

  • Is there a reason it should be externally?

    Why not use what you have at your disposal inside Construct2?

    Because I need to call external js to show ads and their js needs to control if game should be paused or not. Thats how it needed to be done - Ive managed.

    I just had to hack my code inside of prototype.logic function with simple boolean that optionally skips whole logic loop. Added 2 window functions - stopGame and resumeGame they are basically available everywhere as "cr_..." function is called in index.html.

    Only disadvantage is that i will have to edit my c2runtime everytime I make adjustment for client but it only takes 1 minute so I can live with that.

  • Is there a way to get access to timescale with ExternalJS I dont care how dangerous it could be. Need to have way to change it on those callbacks.

  • My client requested me to add his advertising into game. Call to Browser.ExternalJS needs to have this form:

    request(fnPause, fnResume)

    Wchich means I need to pass js functions there that will stop or resume gameplay. How do i do that?

    Preferably WITHOUT writing plugin. If plugin needs to be written im willing to pay for it.

  • Ashley do you understand iphone5 with ios6 is broken? (According to my clients and materials they sent me)

    Im not talking only about ios7. We can drop discussion about it already i understand your reasoning.

  • Like I said in my first post - it also happens on ios6 with iphone5 so I think it would be great to investigate bit further whats going on.

    I can also confirm one dev was able to make game work on fullscreen with this piece of "code" wchich I applied to my own game

    dropbox.com/s/fnpaxjwgw731oba/Screenshot%202013-10-22%2020.28.13.png

    I dont know wchich scale mode he used but im looking into solutions.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Disregard what I said earlier about letterbox. I got report from 3 separate publishers it doesnt fix issue and seen it on friends phone.

  • Edited out.

  • I sincerely hope everything is okay right now with .capx and you could take a look Ashley as this bug is pretty serious.

    Link to .capx file (required!):

    dropbox.com/s/al1e1n4dr80y7le/NoPluginsExample.capx

    Steps to reproduce:

    Run the game on iphone5

    Observed result:

    dropbox.com/s/ir8u2lfz561z013/photo.jpg

    Expected result:

    Screen shouldnt be cut off on the bottom, should look like this:

    dropbox.com/s/1z03l3auqd3wplg/Screenshot%202013-10-18%2021.24.02.png

    Browsers affected:

    Chrome: no

    Firefox: no

    Internet Explorer: no

    Operating system & service pack:

    iphone 5 with ios6 and ios7

    Construct 2 version:

    any but ive used 139-146

PKrawczynski's avatar

PKrawczynski

Member since 3 Sep, 2013

None one is following PKrawczynski yet!

Connect with PKrawczynski

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies