haifisch's Forum Posts

  • hi

    i have a issue with the web fonts i used this tutorial scirra.com/tutorials/237/how-to-use-your-own-web-fonts/page-1

    in my project you can see if you disable the flash events and actions in the main_menu event sheet the font of the text wont change, and if you enable them it will work but in the first apparition of the text it will have the font before the change.

    if anyone could check my capx and help me, i would appreciate it.

    thx.

    dropbox.com/s/54ilfgme8vbt1xz/cosa.capx

  • but the events are explained in the comment sections, which one you dont understand?

  • i checked your capx and you need this.

    event: system for each enemy ice

    sub event: enemy ice on collition with edge marker

               ..... action right

               ..... action left

    also you need to edit the sprite enemy ice the origin points are in weird places that is why the animation isn right

  • lol you fixed that issue, well i think that you need to do the same thing to your enemy sprites also you need to use for each enemy because you need to handle them individualy and use a container for them that will help you if you want to give them variables like hp and others.

  • you need a pin in your player sprite, the pin behavior. and you need to do this in your event sheet.

    event: on start of layout.

    action:-player pin pin to playerbox.

           -player set position to player box

  • the boss needs to fire you right?

    you can do a gun sprite and pin it to your boss and do this

    event:system every x second

    action: set gun sprite angle towards player.x player.y

    sub event: system every x second

    action:gun spawn bullet.

  • set instance variable in enemy. like a bolean jump false

    in the event sheet set a event like this

    event: enemy is jump

    action: simulate platform jump.

    now you need to set a condition to change jump to true like

    is enemy in collition with spritex

    action: set instance variable jump to true.

    and he will jump

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • you can use some sprites as guides for your enemies, if they collide with them they will change their direction.

  • valdarko

    thanks for the tip but i fixed that today with some minor bugs =). i just did the same thing you wrote and that fixed it.

  • Val

    yeah you need to use google chrome to play it and that level is too demanding. you need a good computer =( but i need to fix it.

  • my friend, he is a great artist

  • well i have this dl.dropbox.com/u/85479859/New%20project/index.html

    is an early state of my game, you cant die and the robits wont chase you to death, i am doing it with a friend and we are waiting to buy the construct license to continue it.

  • but if you pin the hit box to your player and you hit and move the hitbox will move with you right? so if the animation stops and you move you will hit your enemies even if the animation stoped right?

    because i dont use the pin behavior with my hitboxes so if you could explain how it works i would appreciate it.

  • that is for my game :P ,i dont want them to move when they hit.

  • no it doesnt matter because to trigger the events the conditions need to be true, and it wont affect the game.

    if you invert the animation condition the actions wont trigger if you hit the click too fast because the condition is that if the animation "attack1" isnt playing you do the actions, so if it is playing the events wont trigger.

    i am from chile (south america) =).