funkyy's Forum Posts

  • *some* sponsors wont allow C2, but still - majority of publishers will accept it as long as you can implement their api/branding.

    I am saying this out of my dozen+ C2 games sold experience.

  • Interesting, it looks really good. Good job!

  • Maybe use Pin behaviour - Bar Style with added supporting events.

    Or create circle as invisible sprite, pin to it the object, every tick set position of the invisible object it to the "planet" and rotate with pinned to it "satellite". I think that would work really good.

  • Cant you use bullet behaviour for movement (if touched left set enabled + set angle of movement 180, if touched right set enabled + angle of movement 0, on Object X is bigger or equal to finish X = set X to exact X + disable bullet) -or- use Move to position - you can use lerp for this like Y = Object.Y, X = lerp(Object.X, Target.X, dt*2) for smooth movement.

  • Try in project properties change "Full Screen In Browser" to Scale Outer and add behaviour to your image to Scroll To.

    Also change property of Layout - Unbounded Scrolling to Yes.

    This should fix all your issues imo.

  • Hi there.

    I have an issue with order of events.

    I have this:

    So basically on block destroyed event runs -> it spawns new block at new location.

    Then once spawned all blocks in certain range changes variable to +1.

    All works fine besides the fact that this dont work on newly created objects.

    Since multiple objects are destroyed at once - I want this to run every destroyed block.

    Instead it seems it runs just once and newly created objects are not picked by the event sheet.

    I am really puzzled, am I missing something?

  • Do you have some simplified .capx to show? It would be much easier to judge from there.

  • Whats the number of collision checks?

    How many objects usually on the screen?

    In debug profile window what shows to use most of the processor?

    Do you use behaviours/plugins that are not by default in C2?

  • You would need to post some sample capx. There should be no slow down unless you have 30-40+ objects.

  • Spawn obstacles based on user position.

    Eg spawn object at y = Player.Y +500, Player.X +100

    This will spawn objects just fine.

  • First, I cant recall I have done this and second its just tool, dont blame it for your errors.

    Without .capx imo it is impossible to tell what you want to do or what errors do you have. No reason to get all offensive.

    "Destroy on bounce" is no information at all. You expect answer but you are not helpful about providing enough details...

  • You dont use behaviours for that.

    Just save X and Y to global variable and then compare them (if new X and Y is not Saved.X, Saved.Y then add 1 to score).

    Global and instance variables tutorials are very well written, check them out!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Debug - check collisions. If they are more than 100K then there is something wrong.

    In debug mode go to profile and check which part uses load (engine, event sheet, psyhics etc). This will help you to fix the issue!

  • Its very hard to udnerstand what you want.

    First use paragraphs. Its hard to read column of unformatted text.

    Second - either add .capx or explain possibly in bullet points both what you want to do and where do you have a problem, because from your text above it seems you didnt tried it yourself and you are looking for someone to do your job!

  • This is VERY basic example of what you want.

    Just be aware - this is total basics - you need to learn C2 more, it seems you didnt do your homework at all on basic behaviours of C2...

    You need also learn about grid - it should help.

    Alternatively you can use coordinates to drop the blocks in exact positions.

    All this is available to you in C2 tutorials.