Logomachine's Recent Forum Activity

  • Did you have any fullscreen mode set on your project options?

  • I see it take 66% of the screen, try multiplying your resolution setting by 1.5 in a first place, in case your watch automatically downscale it.

  • MadScientist

    Hi, I made you a quick .capx example on a way to work with UID: dropbox . com /s/6zpn445jggh0l71/uid.capx?dl=0

  • smk

    Thanks for your explanations, a lot of interesting stuff is in there, plus, it's always a real pleasure to get the behind the scene point of view. Very kind of you.

    R0J0hound

    Thanks, I understand better now, I will play with your .capx and experience the browser object (I've never use it before).

  • Try Construct 3

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

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

    > > BlueSkies

    > > Yeah it's the same way to access pixels.

    > >

    > > Logomachine

    > > Physics would work in concept, but in practice it would be much too slow. A manual per-pixel motion as you describe would be a bit faster, but you'd need to implement most of it in js to get a useable speed.

    > >

    >

    > You're right, it's CPU expensive, I tryed and i fall to 20FPS with ~500 sprite sized to 8x8 pixels on ground and wall.

    > Do you think get the position of the overlapping blood sprite, write his color to the ground/wall sprite, then destroy his instance would be effective?

    > Or does in engine like construct 2, run a plugin is the only way to get this result without killing the framerate?

    >

    This is one of those times where C2 is actually too complicated to solve the problem, there's too much code bloat in using a game engine to do something so low level.

    All right, thanks for answering.

  • Thank you Logomachine!

    I like the solution.

    Question: How can i make the copter move from one place to another whe it stops over the "moving tile"? With a Pin?

    Regards!

    To teleport from one place to another you can create two sprite (ex: portal.a, portal.b), then in your sprite sheet:

    -----------------------------------------V conditions V---------------------------------------------------V action V---------------------

    --- "copter is overlapping portal.a" & "copter platform speed = 0" --> "copter set position to portal.b" ---

    ----------------------------------------------------------------------------------------------------------------------------------------------------

    But like I said there is multiple way to get a same result, so always try to think to all the conditions that could be involved to execute the action you want.

    PS: a pin is made to fix objects together

  • BlueSkies

    Yeah it's the same way to access pixels.

    Logomachine

    Physics would work in concept, but in practice it would be much too slow. A manual per-pixel motion as you describe would be a bit faster, but you'd need to implement most of it in js to get a useable speed.

    You're right, it's CPU expensive, I tryed and i fall to 20FPS with ~500 sprite sized to 8x8 pixels on ground and wall.

    Do you think get the position of the overlapping blood sprite, write his color to the ground/wall sprite, then destroy his instance would be effective?

    Or does in engine like construct 2, run a plugin is the only way to get this result without killing the framerate?

  • Hi, I think in this case you shouldn't use the physics behavior (it can be really tricky sometimes) but the platform behavior with some tweaks instead.

    I took the freedom to make some modifications in your project file to illustrate my tought, you're free to use it, or not...

    Link: /s/2h0kpp8lu8jz5ke/pabloat_CopterModified.capx?dl=0

    To conclude, you can do the helicopter control with or without physics, even without any behavior if you want, it will only change the number of event you will have to do and the way you do them. Cheers.

  • It's possible to do something similar with construct 2, for example when bullet hit the ennemies, it spawn red square sprites with physics behavior and apply "impulse toward angle" with parameter "bullet.angle-(180-random(your values))".

    When this blood sprite hit the ground, you can keep it physics and being able to see the blood move under your feets, or it automatically spawn none physics red sprite on collision, and finally for the blood flow effects, this sprite check if he is overlapping with another instance, if it does it move down on vertical axis till condition become untrue.

    I don't know if i was very clear but i could do a .capx example if you like. It's still an unperfect alternative, but it's quite effective if you're not looking for the exact same pixel technology.

  • I remember a 2d side view boxing game, with stupid maps (bouncy castle...) and characters like napoleon, gandhi, hitler. It was funny and the game mechanics was totally unique, maybe you know it, if you do, or don't whatever, feel free to comment. Since then i'll try to found his name.

  • This non-game is one of the best I didn't played. Really funny and creative, well done!

  • > Hi everyone, I'm here to learn and share about the amazing construct 2 software, so i'll see you soon.

    >

    Welcome! Construct 2 is absolutely amazing, and I'm saying that with 30 years of traditional and web programming experience.

    Thanks! I only learn the basics of programming in C and used this program a few months, but no doubt i come to the same conclusion. Also good luck for the "hyperactive" badge, you're on a row

Logomachine's avatar

Logomachine

Member since 27 Jun, 2015

None one is following Logomachine yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies