list3ner's Forum Posts

  • Bump!

  • Hello to all,

    I made small web html5 app with construct that is pretty straight forward it connects to my WebSocket server and talks to it by sending text messages.

    And I have tested this all and it works on my desktop computer firefox and chrome.

    But for some reason on mobile browsers it does not work i get just disconnect code 1006 no other info.

    Any help ?

  • Hello to all,

    Just general question and proposition. It would be really nice if Construct2 had OSX version for people working on macs, Are there any plans for this in the roadmap?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello to all,

    My name is Dejan from TripleClaim Game Collective http://www.tripleclaim.com

    I want to share our first game made with Construct2. Experience was great this was our first time doing HTML5 game and Construct2 preformed admirably.

    You can check out game on the link below, it's part of soft drink campaign, you can test play the game you don't have to participate in reward game after.

    http://skycola.ba/nagradna-igra

  • Ok here is the solution.

    If you want to disable key for good, you put the On Key Event but with empty action.

    This happens when you have a key that you use in game but not every time. For example i have motorbike that jumps only when its on ground. So users can press up to jump if in air but it will not do jumps because motorbike is not grounded.

    I expected Construct2 to catch this and not let it to browser because i have event OnKeyDown but just with additional check is motorbike grounded. Looks like Construct2 catches key up, checks is grounded if not it actually releases event to browser. Not exactly sure is this what's happening but it looks like it is.

    It's important that you can go around this by adding event OnKeyDown that does nothing so it catches it every time. After that event you can make your own logic with other one.

    Hope this helps.

  • This is the game so it will be in many different browsers. Shouldn't Construct2 override arrow up at least it says like that in documentation.

  • Hello,

    I have a game that does jump on arrow up, but arrow up is also default key in browsers for moving content up. And every time user presses arrow up the game character does jump but it also moves complete content of the page up.

    Is there a way to disable browser reacting to this and leave arrow up only to the game.

    Thank you.

  • This really should be just question of paths for game documents that should be changeable nothing else no complications needed this should not be the thing where flexibility breaks.

  • I think you did not understood my question.

    When you build from construct HTML5, you get bunch of files and among them index.html. I want rest of this files to put in subfolder and leave index as is and change linking in index.html so instead linking to c2runtime.js i want it to link to /game/c2runtime.js

  • Hello,

    I'm trying to put everything after export as html5 to one folder except index and then change path in index file. But the game for some reason does not start.

    For example i leave index.html in root and the rest put in game folder so resources are.

    game/images/sprite-sheet0.png

    /game/loading-logo.png

    etc.

    I tried changing path in index with game/ and ./game and /game and it did not work. Is there some other way or can you point me to right dirrection.

    Thank you.

  • I think i've found the way using combination of checking on form from what address referral came from and using AJAX to call php script that run's server side.

    I will test this in next week or so and post solution explanation here if it works.

  • If I redirect anyone to link (hidden or not) anyone with little effort can check where he was redirected.

    Even if link creates token because what stops that person from going to that link and getting token without playing the game.

    Implementing the form in the game is one solution I'm aware of but I'm trying to avoid that if possible at all.

  • Hello,

    Game that I'm making is part of reward program and if user finishes game he gets button that redirects him to fill out a form. I need advice on what is the best way to inform website that user finished the game and that he can access the form to stop people accessing form just by typing URL in browser.

    Can i call some javascript function, use SQL database or some third option. What would be the best way to go about it.

    Thank you.

  • Joskin, thank you that's it... i have tried to put in to same block under 1. that's why I had problems. Coming from programming background somehow seemed logic to be in one block

    Also need to report other weird thing.

    Cursor is over inverted in case of animation only works opposite, so if i set inverted it activates animation actually when it's over sprite even though it should be other way around.

    But for other things it works as advertised.

  • I just get written in red Else(not valid here)

    I go to System -> Else (Maybe I'm doing something wrong there)

    also

    I can confirm for some reason that mouse over activates animation only if i invert Cursor is over event and that is strange behaviour:) but hey it works.