Aphrodite's Recent Forum Activity

  • Im remaking the fish game where you eat smaller fish to get bigger. I have it so every time you come in contact with fish, it adds 1 to player.Width, and player.Height. It is growing the fish horizontally then vertically and it is just being really glitchy. Anyone have a fix?

    Maybe you shouldn't add 1 to both width and height (except if the height and width of your fish are equal). If that is not the case, adjust the values:

    For exemple, for a 16x32 fish you would:

    add 1 to width

    add 1*(32/16) to height

    Or maybe I misunderstood the problem

  • I have a bird. If I use platform, he goes along the ground. If I use 8 directions and limit to left & right, he flips upside down for left. He is NOT a player character so I can't use keyboard events. I tried if angle is between this & that angle - mirror... but I'm not sure why it's not helping. Any suggestions?

    Eliyahna

    Set angle to no for the behavior

    then you set the mirrored at the same time as you simulate the control

  • if you want something that stores data to be deleted and created at runtime, you could try a dictionnary, you can create and delete "keys", which can be used to store a value under a name

  • I exported my project to a folder on my desktop, zipped it up, emailed to a friend and they opened the index.html to run, worked fine.

    This can work, but it is not an obligation (in fact, for me It opens a popup saying "Games won't work until you upload them" or something like that, this popup feels so mainly by the way)

    If you want to be able to share your project without a webserver, I think there is really old tutorials on how to incorporate inside a node-webkit executable without C2's help, but I am not sure I should talk about that, don't think this is against the free license conditions if you say that this has been done with C2.

    If it is a problem, please make a mod say it to me and also delete the potential non-legal thingy

    tutorial link: Link

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am not an expert at all, but maybe with the use of the Ajax object, you could counicate to your server.

  • If all of these are well-thinked, It'll be possible, but as Tokinsom said, if you aren't an experimented user, you will not be able to do well unfortunatelly, experiment more with the program, with easier projects.

  • nemo : I didn't know that,it is interesting

  • Ashley : thanks for sharing your opinion on the subject, really appreciated.

    So we all agree, CC is a great idea, but C2 is an improvement, and so CC shouldn't be used (for now at least, maybe one day It'll be entierly rewritten by the community) by new users, except in particular cases

  • Wow, I had no idea you could legitimately use a blank sub event, I thought they were just temp placeholders for pasting in real sub event code.

    Great, that works!

    Blank sub-events are equal to "Every tick" when used

  • I had the manual and examples, trying to understand what some event does it does and why, and making little games.

    Practce is the way to go, the tutorials can help you in your way (I didn't use them I f I remember, but don't remember why, these are great)

    Also, I suggest you to read the manual sometimes, It may help you understand how C2 works

  • Arima : I think you are right, mostly on the underestimating C2, the "free" argument also is a big one.

    A beginner which uses CC has chances to fall in bugs or annoying things that shouldn't be there, and so, have to do with them, while he shall not.

    In my opinion, using workarounds is the worst thing to do in any kind of programming/other domain things (It is like assuming the bug is normal, a part of the system, which prevent it to be seen as buggy as it is).

    Thanks for sharing your opinion on the subject Arima ^-^, I hope someone else also share his/her opinion about that, <font size="1">well, if they have enough rep *cough* forum *cough*</font>

  • One variable : All_Units

    Every tick/every X second:

    Set All_Units to 0

    Sub event For all planets:

    Add to All_Units planets.units

    I think this should work

Aphrodite's avatar

Aphrodite

Member since 20 Dec, 2011

Twitter
Aphrodite has 2 followers

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

17/44
How to earn trophies