hobibit's Forum Posts

  • For wind you can use custom movement. Or just change x position of player.

    For ice you can change player platform values: decrase acceleration and decceleration.

  • You drive car. You can turn left or right to avoid obstacles. Llonger you drive faster you trawel so you will crash eventualy.

    Idea 2

    You menage caravan traweling thrue desert. You can hire worker too carry bagadge. Each worker need to eat. You can find oasa to gain some water and food. You can be hit by sandstorm, atacked by lions so you lose some worker. Player can set camp to rest or return to home and fight the desert next time.goal is to cross whole desert. Player can die from starwation lack of water or be killed by animal.

  • Easy.

    This all things hapend every tick. So when your player is close to enemy it wait random time then attack. But it hapend every time so for example 60 times per second. So script will do this 60 times. Script wait random time 60 times per second and then attack 60 time per second.

    You must add boolean isattacking. When is attacking is true dont attack. When you attack before wait set isattacking to true. And after animation attack end set isattacking to false. At start isattacking is false.

  • Reverse the sequence or use OR logic word.

  • Now you can try airconsole.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Whats wrong with multiple layouts? What kind of problem you have?

    Just remember that you can set some layers as constans. For example hud. So you dont have to copy past them.

  • That work perfectly, thanks!

    I was trying something like:

    (-WindowWidth+OriginalWindowWidth*WindowHeight/OriginalWindowHeight)/2

    (-WindowWidth+OriginalWindowWidth)/2

    (-WindowWidth+OriginalWindowWidth)/(2*WindowHeight/OriginalWindowHeight)

  • I have a problem with calculating sprite position.

    I use "Fullscrean in browser"="Scale outer"

    In hud layout (parallax = 0,0) I have object and it should fill all the screen but not more, so it must start in left-top corner and end exactly in right-bottom corner.

    But I dont knew how to do this with "Scale outer" and parallax = 0,0

    https://www.dropbox.com/s/f1z4qwf13aej2a1/test.capx?dl=0

  • On key presed is event that work only once. Try on button presed/down.

  • I dont understand what you want.

    If you dont want to change frame, just set frame rate to 0.

  • You can add number,x,y variables (3 variables). You move head only. Each tick you set x and y as actual position of snake parts then you move each snake part to position of previous one.

    And use number value to knew order of peaces

  • You can create xml and store data in xml, and read it when player gain level.

    Or you can create text string variable and store information there, for example: level one skill,level one skill;level two skill, level two skill;level three skill.... But this can be problematic

  • Or if you dont want to wait x seconds but you think function may colide with each othet you can use wait for signal.

  • I was trying to make cast spell system just like in Black and White. Player can create shape using mouse, game detect what kind of shape player did. But I failed to do so. If someone has idea how to do this, please share.

    It was more like R&D but it may by useful for someone.

    https://www.dropbox.com/s/dnxa6lejcncfwtj/czar.capx?dl=0