JMKit's Forum Posts

  • .q1 instead of q1?

    Thanks Elliott seems like this does the trick!

    I removed my javascript and replaced them with ".q0" and ".q1" and bingo both the divs can now have the strike through style added independently :D

  • Thanks for the reply but honestly I've tried it both ways to no avail.

  • Hi, I've been trying to add a strike through effect (in production it happens when clicking a button - as the image below) to an HTML Element:

    I have it working using javascript but how would I create the same effect using the built in actions? (I've tried targeting it the same way as far as I can tell, but looking in development mode in the browser only the javascript method does anything - as below)

    Any assistance would be greatly appreciated thank you :)

  • I've also just noticed,

    using the debug layout mode the HTML Element box 'doesn't know' when it's got bigger (with additional text expanding it etc) and so I cant even position it consistently using Player.Y-Player.Height-HTMLElement.Height for example.

    If Ashley or any mods are reading this can we get the option of setting an origin added in please, hopefully it's a small thing but it would help a lot :D

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey bad_wolf thanks for your suggestion,

    I'm sure we could get the element in the middle of the window with that method.

    I'm just used to being able to set other elements such as the text object's origin

  • I'm looking at using this great new element as a speech bubble for characters, and would like to set the origin of the HTML Element to the middle so wether it gets bigger or smaller it can be centred over the players head.

    Apologies if it's blatantly obvious to do and I've just missed it, or if it's something that will be introduced in future I would greatly appreciate it :)

  • Hey thanks newt,

    not sure I follow though, If I resize my window the SVG object doesn't blur like a sprite would making me think it's better for different screen sizes / full screen.

    Also in testing the est CPU / GPU doesn't change much if at all when loading or flipping over nad over the SVGs when part of the family

  • Hi all,

    Anyone know if there's a reason there's no Set Mirrored option in the Appearance section of the actions for svg images.

    I can mirror the SVGs by adding them to a sprite's hierarchy as a child, then mirroring the sprite but seems unusual to me I can't do it directly.

    Is it just an oversight or can someone let me know a reason why. thanks :)

    Tagged:

  • Ah great thanks for those links!

    (I had a suspicion the bullet might come in handy here)

    I'll have to check out those addons too

  • Hello,

    I've been looking around for a way to recreate the kind of menu's you'd get on phones, think specifically when swiping through the selection of Emoji's when sending a text message.

    When you swipe through, and say drag the menu to the left then let go, the menu keeps scrolling to the left for a little while before slowing to a stop.

    I've looked through the forums and tutorials and seen mainly for controlling a character or dragging the whole screen around with scroll to, but so far haven't been able to recreate the kind of menu experience using these methods..

    If I've missed something on here I apologise and would appreciate a link or otherwise someone whose got some ideas or maybe made something like this already I would love to know how!

    Thanks!

  • Hey thanks for this

    If it continues to be an issue I'll look at it from that angle too!

  • Thanks for the replies! (not sure why I didn't get my email updates about them)

    I'll defiantly try that

  • Hi there

    I've published a few games before via html5 to browser and a couple of my latest games show a black screen for quite a long time

    (long enough to wonder if anything is there, especially when presented via an iframe)

    before the built in 'construct splash screen' comes on.

    Then usually the actual loading bar is very fast

    Is there a way to speed up that initial step to getting to the splash screen. point being it wouldn't feel as long waiting as long as the user can see the loading bar.

    here's a direct link to a game where it seems to happen jmkit.com/games/jmkitplaysets_homemakeover_GA_1_4

    Tagged:

  • I suspected that but thank you for confirming

  • I've had this pop up on the last two games i've uploaded (made in construct 3, exported to html5, played on chrome and safari)

    "We are sorry, this game seems to be nonfunctional at your device. Please, try a different game,"

    If I press close (or ok) it clears the message and loads perfectly fine but it is off-putting to visitors to the site, does anyone know why this message would show and how I can make sure it doesn't?

    It shows up on these pages after the video pre-loader

    jmkit.com/playsets/home

    jmkit.com/playsets/school

    It does the same when other pre loaders aren't used also

    Tagged: