hassan424's Recent Forum Activity

  • Hey

    Thanks for the help.

    I figured it out - my game loop involved the layout being re-started on each iteration, which meant the sprites would reset to the original position each time!

    To get around that I originally changed my code to use the persist function, but now I have re-written most of the game to not need to reset the layout.

    Regards

  • Hi, thanks it is the right sheet.

    For the life of me I can't figure out why it doesn't work, especially since if I enable the code underneath that executes fine

  • HI, I have made a game in which whenever a button is pressed, the layout will refresh moving sprites forward a set distance. I did this no problem in a test capx. However when I try to do it in my main capx, it doesn't seem to work at all!

    Which is weird as originally the code was for the sprites to move to one of 3 random places, and that works!

    Please see a screenshot of the capx below to see what I mean:

    The code underneath, which has been disabled, works fine! Which is why I am mighty confused!

    Any help would be appreciated!

  • Cheers - thank you!

  • HI,

    Ive made a game, but for some weird reason its goes to level 5 but then somehow changes the LevelNo variable to level 6, which means the level doesn't work properly.

    If I disable all the level 6 commands, the game works perfectly, Level 5 is treated as level 5?!

    To get around this for now, I thought is there a way that if the Layout "Level5" is loaded I could like a check

    e.g. If layout = Level 5, LevelNo = 5

    Any one know how to do this?

    Regards

  • If its just a simple conversion you want without ads etc:

    Export as HTML and then use HTML to APK converter, Ive used this one before, seemed to work pretty well:

    http://html2apk.praveshagrawal.com

    or follow instructions on this thread:

    https://www.scirra.com/tutorials/1035/m ... ite-export

    Regards

  • Thank you!

  • Hi,

    Iwas just importing my C2 projuect into Intel XDK, howver it asks for a game engine, and construct 2 is not listed

    http://s9.postimg.org/g3zqtqqfj/gameengine.png

    Which one do I select - I have seen one video on youtube where the user typed in C2, however this is not possible on this version.

    Regards

    Hassan

  • Hi,

    I have made a game whereby every time I click on a sprite the animation frame is randomly changed and so is the position.

    My issue is that when the re-position occurs, the sprites sometimes overlap - I have tried to add in a check overlap function - but it tends to either have no effect or turn my screen black.

    Any help would be appreciated

    Regards

    Hassan

  • Yeah - Just figured out how to do it - Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have completed the game logic just need to add the game loop - is there an easy way to encapsulate all my events in a loop (I'm used to C++, where I would just add a do-while loop)

    Regards

    Hassan

  • Thanks, unfortunately I only have the free version of the software, so families is not enabled. I kinda got round it by cheating and using a while loop with UID's

hassan424's avatar

hassan424

Member since 10 Jul, 2015

None one is following hassan424 yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies