deropke2's Recent Forum Activity

  • In the On Timer trigger, you need to restart your timer with the same action that started it, to get a new random value.

    how would I do that, I can only find "Start timer" or "Stop timer" event

  • Not quite sure what you mean by that.

    I made two timers, but only one work at the time.

  • Try using timers. Like this :

    Why multiple timers doesnt work at once ?

  • Try "picking" the sprite you want to change in the "condition" of the event that makes changes to instance variables.

    Some tasks take time to complete. Just ask yourself if you want to develop something fast, or something of quality.

    I don't know what you really mean, I added screenshot though,anyways I would be down of making all events seperatly for each sprite, however I don't want to because it would be really hard to edit anything and it's something I can't get right the first time.

  • You seem to be completely green with this engine, I suggest you watching some videos on youtube on how to create a platform game. you will learn how events, behaviours and variables work with this engine.

  • So I have 9 sprites that has many variables such as engine speed, downforce, driver skill etc. In the event sheet I use event such as Every random 1-3 seconds to calculate something. The problem here is that random even is useless here as if let's say 1.5 were chosen from 1 to 3 range it would apply to all 9 sprites, but I want this to happen just to single sprite.

    I tried using "For Each" however that doesnt work, and it only makes the event work for single sprite.

  • You could do:

    Enemy: On created - Create health bar

    Which will run once per enemy

    Thanks this has solved my problem

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • your code will run approx. 60 times a second.

    you are creating 60 health bars every second for each enemy

    try "on start of layout > for each enemy" instead

    This only spawns health for the first enemy

  • gyazo.com/befbfc33e9e849a7f6fbaa13bf048ea1

    Basically it keep spawning health every tick and the game drops to 1 fps in like 30 seconds

    Saddly can't post screenshots of code but it's like :

    For each enemy

    trigger only once = Spawn healthbar

  • luckyrawatlucky solution will work perfect.

    design your game for landscape. also manu. but your menu stuff can just be rotaded 90degrees on that layout.

    My problem is different, I fixed it by setting canvas on start of the layout, thanks anyways

  • simple

    design your menu in landscape mode and put all rotate objects 90 degree angle

    I forgot to mention that the game is only for mobile devices, if I do everything in landscape, I get massive black bars for menu unless they rotate their phone ( I don't want them rotating).

  • I want to make my menu in portrait, but the rest of the game in landscape ?

deropke2's avatar

deropke2

Member since 21 Dec, 2015

None one is following deropke2 yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies