Toby12's Forum Posts

  • I've got events which spawn an object at a random time, this makes use of time scale.

    I've got a problem, I need to reset the time to 0 on when the player dies. For example, the player dies 10 seconds into the game, I click restart or menu button that pops up on screen, I need it to reset the time that has passed to 0.

    You can restart the layout or reset global variables, which is no problem but there doesn't seem to be an easy way to set global time to 0.

    I was wondering if anyone had a solution.

    Thanks for reading :)

  • I think what you've made could be a really interesting game. You could almost play on loads of stupid stereotypes and it'd be really cool to see how many people actually put together the stereotype and the caption together & make the info available on some sort of score sheet.

    Don't know if that was what you're aiming for, but it could be a bit controversial, fun and make people reflect on their view of the world :).

  • Thanks man :). Third time you've helped me :D

  • I've just unplugged my laptop from my monitor and now whenever a dialogue box comes up, I can't see it. I'm guessing construct hasn't picked up on me unplugging my monitor or something weird like that. since the dialogue boxes would have been appearing where my 2nd monitor was.

    Just tried a restart to see if it would fix the problem, it'd didn't :(. Going to re-install construct now and that should do it :).

    Edit: This was using the r114 release btw

  • Hi,

    Thanks for the reply :).

    I've looked at clay.io and they mention ways to encrypt scores to prevent cheating etc. I'm not really sure how to go about implementing something like this though. Is it a rather complex process encrypting variables, in-store purchases etc.?

    EDIT: Would there be any other way I could stop someone from cheating without server side scripting?

  • This isn't the final version, but I was wondering if it was possible to cheat in this game? It's a simple game based on reaction time.

    I've tried to avoid people cheating by repeatedly spamming a button by:

    1 - randomizing the correct answer

    2 - if you click before the correct answer is up you will loose (not yet implemented but you get pinged to the menu)

    However, I was wondering if anyone on here could manipulate their high score, or find another way to cheat I haven't yet thought of :) .

    So I guess the challenge is break the game haha. If you could reply to this thread if you find any way to cheat it'd be much appreciated.

    Thanks for reading

    Link: dl.dropbox.com/u/17611007/New%20project/index.html

    EDIT: I'm aware you start on a yellow screen, just click it to get through to the real game :). I also know the high scores will post multiple times (will fix that later)

  • bump:)

  • So I originally thought this might be a timescale issue with cocoonjs. However, after removing this I still had issues.

    I'm now experiencing problems with touch controls. They work perfectly fine in browser testing, but not with cocoonjs launch on android. Now I would say this is an obvious cocoonjs issue, except I used the exact same method in a new project (is touching - move in direction.x) and it worked fine with cocoonjs.

    So It seems to be something in my construct file, so I removed everything except the touch and movement events; same issue - works on browser not on mobile.

    I can't for the life of me think why the touch feature seems to have stopped working, I did later import a new animation strip to replace the old arrows. Maybe this caused an issue? But couldn't think why as it was still referencing the same sprite.

    link to capx : dl.dropbox.com/u/17611007/brokeproject.capx

    Thanks for reading

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I've made the following events

    Start of layout - set timescale 0

    -is touching object X

    (Subevent): on touch end - set timescale 1

    This works perfectly fine when I test it using a browser. However, when using cocoonjs it doesn't seem to work. I was wondering whether anyone else could confirm they experience the same problem, whether its the way I'm going about starting the game or is this just a cocoo

    Will also post on cocoonjs later if this is a bug there side :

    Thanks for reading :)

  • Once again I owe you a big thank you :). Maybe one day I can return the favour haha :)

  • bump :)

  • Can you use the default fonts in the text box object in commercial applications?

  • I've been messing around with touch controls trying to achieve the following: swiping across the sprite, the sprite then sets to the closest of 8 angles, once the touch has finished and then 8 movement will move the sprite in that direction.

    I've managed to achieve the first half: I can swipe and get it to set to the direction of the swipe (when you look at the capx this might make more sense :P).

    But as soon as you enable 8 direction movement things become really buggy and it doesn't always detect the swipe.

    I did use a different method prior to this capx, but if 2 instances of an object were on the screen when you were swiping both would follow the touch and this way resolved it (not to mention it took a lot less events).

    Capx - dl.dropbox.com/u/17611007/touch%20issue.capx

    Thanks for reading :)

  • This is exactly what I was looking for, thank you soo much :). Will put you in the credits and once again big thank you :) :)

  • I'm looking to have 4 different objects (in this case it would be 4 different colours)spawn at 4 set points on the screen (the four corners). Every X seconds though the colours in the corner would randomly change.

    An example:

    Corner 1: blue

    corner 2: Green

    Corner 3: Red

    Corner 4: Yellow

    ------------------ 2 seconds come up

    Corner 1: Green

    corner 2: Blue

    Corner 3: Red

    Corner 4: Yellow

    The problem i'm having is I keep getting duplicates of the same object. I've tried various different methods of trying to only have only colour up at a time, have messed around with using different animation frames as opposed to objects, but still not having much luck.

    I'm pretty sure I'd need to use animation, as I'd want to anchor these four points to the screen to avoid any bugs with different screen sizes

    Thanks for reading :)