Radkampfwagen's Forum Posts

  • lionz

    Really sorry about my bad English.

    I'll tell you what I mean in points(easier for me).

    .It is a 1 player game

    .The menu has 3 button choices easy,normal&hard

    .Easy-The dragon fires every 3.0 seconds

    .Normal-The dragon fires every 2.0 seconds

    .Hard-The dragon fires every 1.0 seconds

    .You control an owl

    .Your enemy is a dragon

    .The dragon is a bot

    .It is programmed to fire every x seconds

    I want to find out how to-

    #Make an event that sets the amount of seconds the dragon fires depending on what choice you picked on the menu

    My problem is-

    e.g.

    *I made an instance variable for the dragon named "firerate"

    *The initial value is 0

    *On"Easy"clicked add 3 to "firerate"

    Then I made an event

    e.g.

    *Compare instance variable-"firerate"= 3

    *Another condition(same event)Every 3.0 seconds

    *The action-Dragon spawn "fireball"on so and so

    The problem is that when I previewed the layout(nothing wrong with the layout)the fire balls didn't spawn at all

    I also tried sub-event/didn't work

    I really really hope you understood

    I'm poor at English

    I welcome any help and appreciate it

    Thanks in advance again

    SHIRATSUYU

    And whoops looks a lot of writing sry

  • wdym?

  • lionz

    umm it doesnt work

    ive set the dragons instance variable to name-x initial value-0

    ive done

    on button clicked-add 1 to (dragon)"x"

    and then

    dragon"x"=1

    every 1 second(both in same event)- action -dragin spawn fireball

    but no fire ball comes out at all

    Have i over looked anything?

    SHIRATSUYU

  • hey lionz thank for the reply

    right ill be checking that out rn

    SHIRATSUYU

  • What is nfsw

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • HI

    I am making a game(you probably guessed).

    I want to set 3 options before you play.

    ---Easy-----------Normal-----------Hard-----

    The dragon----- The dragon-------The dragon

    fires every-----fires every------fires every

    3 seconds--------2 seconds ------1 seconds

    But I cant seem to find how to make an event for it.

    ON clicked-Every x seconds/doesn't work

    ON clicked

    Sub event-Every x seconds/doesn't work

    I've even done in stance variable but that doesn't work either.

    e.g.

    On "easy" clicked-Add 1 to "fire rate"

    On "fire rate"=1(I don't know how to do this one)(but I'd like it to be like every 3 seconds dragon fires)

    I'll really appreciate some help,

    Thanks in advance,

    SHIRATSUYU

  • ooh thx soo much

  • Hello

    I'm making a game where the tiled-background is too big and to shrink it will cause half of the design not to show

    This is what I want the background to look like:

    but its too big to show all the design and colour to suite the sprites

    e.g.

    i wouldnt mind but when i play to see how far ive got it shows way too big

    e.g.

    i hope you can understand my badly written english

    happy for any help

    thanks

    SHIRATSUYU

  • place on HUD so it may not show

    it cud show but its worth trying

    SHIRATSUYU

  • click on whatever the n go to "behaviurs " it shud be at the top

  • its in the behaiaviors sectoin

  • i cant see the link u sent(no acses to web) but i have a general i dea

    HUD is a seperate layout and will always show on screen in the exact place u set in the dotted line

    layour 0 is the layour where every thing shows

    e.g.

    SHIRATSUYU

  • umm it it part of the sprite or is it seperate?

    if its seperate set the behaviur to "no save" and it wont show

    SHIRATSUYU

  • 1.do u mean that its been deleted and that it shows white screen

    2.or do u mean that it shows every thing but when u test it it just shows white screen?

    1. answr is idk what happened

    2. answr u probely on the wrong layer/set sprites to "no save "on behviors/your pc is too bright too see anything on the screen

    xd

    SHIRATSUYU

  • firs tclick this its under community

    then fill in the boxes

    e.g.

    easy

    make sure its fully made tho

    SHIRATSUYU