czar's Forum Posts

  • Which begs the question why is there not a decent editbox available using the spritefont? I tend to roll my own but it would save much time if we could drop a components and set a bunch of parameters.

  • Which begs the question why is there not a decent editbox available using the spritefont? I tend to roll my own but it would save much time if we could drop a components and set a bunch of parameters.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • odd, my computer at home does change the colours, unlike my office machine.

    Windows 7 theme is very drab, I prefer default.

  • Changing colours appears to have NO EFFECT.

    I go into File | Preferences | Colors (where is the U?) - dialog says "default" I select, WIndows 7 and then "load selected theme". I get a response to say it is loaded.

    I close my event sheets and reopen and the look exactly the same.

    I then go back to preferences and it shows "default" theme in the drop down.

    bug?

    v151.2

  • Nice code. Thanks for sharing.

  • Colludium that is fricken awesome!

    I was not expecting something that looked so cool. I am going to have a look how you did that.

  • I believe the readability and maintainability this a major downside of C2.

    Coming back to a large project to make changes, fix bugs or extend code can be a major chore. The code is often hard to follow, especially when bugs are caused due to some odd C2 behaviour.

    On larger projects I find it very important to shift code into separate units. I try to use functions as much as possible and I have them in units that make sense. e.g., all my maths functions in "MathsUnit" all my other useful function in "CommonUnits"

    Organise code so that sections that deal with similar things are grouped together, i.e. use groups. I also try to break up the code using clear easy to follow comments.

    I discovered that it you add a comment and use "shift return" you can actually have multiple lines. This can readability of your code immensely by putting a bit of white space between sections of your program.

    In my comments I often have to include why I did certain things. Sometimes due to weird restrictions/behaviours of C2 or sometimes because the code looks convoluted.

    Going back to a "proper" program really highlights how dense and hard to follow C2 can become if you don't take steps to improve the readability of your code and organisation of it.

  • I think official intergration would be the only way I would use this. I have been caught out big time using 3rd party plugins that broke in newer version of C2 and I don't want to go through that again.

  • ArcadEd thanks - the updated version is pretty good.

    I probably won't get onto this project for a number of months as I have a number of other c2 projects with higher priority.

    thanks for info

  • Hi ArcadEd

    I was wondering how you did the hole. I assume you used a tiled image so what did you do when a hole is blasted into the ground?

    I was actually thinking of making moon patrol myself and I did a search to see if someone else had done one already

  • PlasmaGames2013

    Where you test to see if you have "touched" a sprite simply add a second condition "is sprite visible"?

  • If you have built your game with construct 2 and you want to run it as an app on ios then you will need to use cocoonjs or similar.

    Use the cloud compiler

    cocoonjsservice.ludei.com/cloud/login

  • agreed Global Booleans should be available

  • Current best practice is free with in game purchases - easier said than done. The number of "good" enough free apps is rising so it is more and more difficult to entice people to part with money - even if the amount is minuscule.

  • they look very nice. What do you do with them? ARe you making a game?