Bl4ckSh33p's Forum Posts

  • Hi! I noticed a strange behavior of objects with the "Wrap" behavior and Bullet when they are placed outside of the layout.

    I tried it with instances and cloned objects to have multiple sprite objects but it was the same with both. The sprites move with bullet behavior from top to bottom (or other directions) and then wrap to appear in the layout again. But only one of the objects outside of the layout appears, moves and wraps. The other instances are not shown and seem to disappear. Debug shows the right number of objects but they do never appear on screen.

    Example 1: (x = invisible object y = moving and wrapping object ---- = top border of layout (viewport top))

    x

    x

    y

    -----

    the object which is nearest to the layout border scrolls down and wraps around

    Example 2:

    x

    y

    ----

    y

    the object already visible and the one nearest to the layout appear and move from top to bottom and wrap around.

    But why is only the nearest object outside of the layout appearing and moving in from outside the layout?

    (I already created some code to create the objects inside the layout with a loop and then start moving them but it would be much easier if you just could place the sprites and then let them move with the wrap behavior)

  • Fixed it, thanks.

  • Hi. I tried to click on login or submit on the arcade website but I am always redirected to the scirra.com homepage.

  • Since Steam is the biggest (?) digital distribution platform (worldwide?) it would be great if C2 would support the workshop, achievements or IAP (for DLCs).

  • Is there no way to let invisible layers act like there were not there? (all objects not registering/blocking clicks)?

    I used some invisble layers for UI menus because its easier to just show/hide a layer instead of 30+ objects.

  • That's it! Thank you.

    But I had to search a bit to find the objects with a different blendmode. So you have to use ForceOwnTexture+Blendmode.

    /update: I tried to copy the effect from your example and created a new layer on top, added the tiledbg objects, set them to destinationout and then enabled forceowntexture for the layer but the text one layer below is still visible. :/

  • Hi. I get this "Signalling server error: [object Event] c2mp.js:338" error and it happens quite regulary when the Server is running for about one hour.

    I added "on Disconnect" goto layout Title and there it tries to reconnect to the server. But it does not work until I reload the game completely with F5/refresh.

    Does it have to do with the clay.io plugin which cant reconnect (says the javascript error console)? But the first error comes from c2mp.js.

    Signalling server error: [object Event] c2mp.js:338

    sigws.onerror c2mp.js:338

    GET http://api.clay.io:443/socket.io/1/?t=x ... _TIMED_OUT

  • Nice example, thanks!

  • Thank you for your example I already thought about doing this but the background is a very big/colorful image and I had to slice it and then put it together again. I can do this, but it would be nice if it would be possible without slicing the image and just using blend modes (if possible).

    Here is an example screenshot:

    Text should be invisible in the small part below the grey area and above it. So the text is only visible on the greay area (tiledBG) and should scroll from bottom to top.

  • If you like you can test the current version here: http://www.playbird.at/sites/Bl4ckSh33p ... index.html

    (the Server is not running always because I use my local computer for it)

  • Thanks for your description and suggestion for the synced object. I have a "On Created" event in the Peer group to play a sound effect. For some other things like sound on collision I used a send message action and the peer has a "on message X: Play Sound" event because collisions dont work on the Peer (as far as I can tell after some tests).

    I will try to use the lagcompensate coords for collisions (but dont know how, yet).

    The lasers are created every 0.5 sec and are all created on the Peers (but they appear a bit laggy even if the latency/ping is only 0-20). I will try to debug it with "On Created" (the same happens in another game where a laser object (one long shot like in the ghostshooter example) is never synced).

    If you like you can test the current version here: http://www.playbird.at/sites/Bl4ckSh33p ... index.html

    (the Server is not running always because I use my local computer for it)

  • When I click on a Tweet button my keyboard movement controls dont work anymore. I had the same problem with input objects but it worked when I used the "Unfocus" action. (would be nice if you could still control your character if you click on a readonly input object) But how can I gain control after clicking a Twitter Button?

    (C2 Version: r176)

    ps: in preview the twitter button is shown properly but after publishing it as html5 website the button is not visible anymore (its on a invisible layer at launch and when I show it no button is there) I did not change the button settings via actions and used only the properties panel.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi. I tried to disable collisions for the invisible layers but it seems they are still blocking a click on the current layer. o.O (r176)

  • Hi. Sometimes it would be very handy to have tooltips for things like sprites and not just for the form elements (like input).

    I know how to make my own tooltips when I hover the objects but it would be nice and easy to have tooltips like the normal html form elements sometimes to show some hints on mouseover. What do you think?

  • So strafing is not working? I was looking for something like this but need strafing. :/

    I tried to combine the car and custom movement and it seems to work so far. Car for accel/brake and custom movement for the strafing.

    the bits are from top to bottom: left, up, right, down arrow, break-key