dimitriosfl's Recent Forum Activity

  • event ->when enemy is on screen->enable platform and collisions

    event ->when enemy is on screen->enable platform and collisions

    event ->when enemy is on screen->enable platform and collisions

    event ->when enemy is on screen->enable platform and collisions

    event ->when enemy is on screen->enable platform and collisions

    event ->when enemy is on screen->enable platform and collisions

    event ->when enemy is on screen->enable platform and collisions

    Enemy->is on screen->Enemy->Set Collisions enabled

    .......................................Enemy->Set Platform enabled

  • So im making my platformer and first level is almost complete.

    Enemies use platform behavior and i see that i have over 3000 collision checks per tick. Game plays smooth 60fps on pc but choppy on mobile.

    I set enemy platform behavior disabled, gravity to zero, collisions disabled and then with event ->when enemy is on screen->enable platform and collisions.

    Great! Collision checks per tick dropped to 30!

    The weird thing is that performance took a huge hit! 15fps (with 3% CPU usage) on pc and didnt even check it on mobile.

    Why did that happened?

  • I ended up buying 2 capx and not using them at all!

    I did it my own way very easy.

    I put an instance var on the boss (0,1,2) and made 3 invisible sprites on the positions i wanted my boss to go.

    When var=0 move to sprite 0, when var=1 move to sprite 1 and when var=2 move to sprite 2.

    When colide with sprite (0,1,2) execute attack and then change instance var to ->choose(0,1,2)

    This way, the boss does a random loop until his dead.

  • Ah, that makes sense. So just as long as I do not use the original capx in anything, I could use the logic learned in other products under the default license? As long as I dont copy and paste?

    It sounds right but can someone from Scirra give us a sure yes or no?

    Im kinda stuck with my game and found the solution in some peoples .capxs at the store.

    I want to buy them only to look inside the .capx and find the logic on how to solve my problem.

    I dont need any sprites,backgrounds,tilesets or sounds, just the logic.

    Can i do that or is there "royalty license" in that action?

  • Thanks guys.

    I saw at the store that some people sell exactly what i want!

    If i buy them, open the .capx and see what events work for me and then recreate them in my game, i dont have any royalty problems right?

    I mean i dont need any assets from the game, i only need to find the way to do certain things in mine.

  • Hi guys.

    I am making a platformer but im focused on making enemies,tilesets, items and so on and from time to time i try to put them together in C2.

    Im thinking after some levels to have a boss.

    That boss must randomly move to 3 places, ground,platform and air.

    When he gets there, he executes the attack (ground attack if he is on the ground, air attack if he is on air and so on) and then randomly goes to another of these places and continue this cycle.

    Ive searched the "how do i.." with keyword "boss" and got 41 pages of resaults.

    Sadly there was nothing there to help me.

    Any thoughts on how can i do that?

    Thanks in advance.

  • Well, i had some progress but still, if i press the fire button (tap) it only shows the first frame, if i keep it pressed, it goes to the next frame and stays there till i release the fire button.

    If i put in "on tap object" nothing happens.

    Edit : Ok, ive found it! I had to put to my player an instant var to be 1 when i attack and 0 when i dont. Now everything works!

  • Double check if any of the next conditionals are not being triggered for lack of conditions, it sound like to two things so, first is, it's setting the animation everytick to start (from begin), or an event above is setting it to stop the animation.

    To avoid one condition to start the animation everytime it's triggered, use "System|Run once while true"

    Great! By using "trigger once" it does not stuck on 1st frame even if i hold atk button.

    The problem is platform behavior. When on floor + moving=walk, else idle animation.

    I want to be able to attack (play atk animation) while idle,walking,jumping or falling

    Thank you very much!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Im subbed for months to this youtube channel. He is VERY helpful but this attack is very complicated. I thought there must be an easier way.

    TELLES0808 i have everything to default as the other animations that work.

    Thanks for the replys..

  • Hi. Im making a platformer for touch screen and i have all animations of my character working but attack animation.

    I put touch->is touching object->atk button->player->set animation atk

    Problem is, it plays only 1st frame of attack animation (no matter if i tap or if i hold) and if i hold atk button, is stuck on 1st frame

    Idle, walk, jump and fall animations work fine.

    https://drive.google.com/file/d/0B7O-gj ... sp=sharing

  • Hi,

    I have recently published my first game on the Play Store. Give it a try if you are interested!

    Mr Driving on Google Play Store

    https://play.google.com/store/apps/deta ... .MrDriving

    If you could rate the game it would be incredibly helpful to me (but please don't be strict, it's my first game!) I hope you'll like it <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Thanks...

    You made that with construct 2?!?

  • Ok, thanks.

    I want to publish my games with ads, so...yes...i want to make money..

    I just think its a waste to sell packs if you can only use them once.. :/

dimitriosfl's avatar

dimitriosfl

Member since 15 Jan, 2014

None one is following dimitriosfl yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies