Congrats2u's Forum Posts

  • Sup with that?

    I solved it a little bit differend... On the spawning part - i splitted the spawning area via code into 3 differend areas to determine overlapping issues - this works perfect. Another solution with the "on overlapping" event still doesnt work.

    Thank you very much Sup with that for your idea!

    Best regards

  • Hello there!

    Another problem i recognized today: Ive included video files into my game, but on mobile devices it doesnt play (Android). Does someone know how i can fix this?

    On IOS i recognized, that the devices open the videofile in a seperate window. Is there a possability to avoid this?

    And the third thing is: The videos shouldnt loop but they do. In the picture i got the video handler file....can someone explain what i did wrong there? For me its not understandable why its still looping.

    Thank you very much!

    Image:

    postimg.org/image/l4n84fzfb/

  • 99Instances2Go

    Hey there!

    Today i want to solve a loading or preload problem. Basically ive included a video file into my game i want to play (its like a cutscene). If i play the game on a pc with a bad connection, the video buffer is causing into lagging problems.

    Is there a possability to load the video at once, before construct trys to show it?

    ive included this video on a sperate Layout. So this layout will be loaded, if i start the game. Maybe i can load the video file before i press start and not durring the video layer is loaded?

    Thank you very much!

    Best regards!

  • Try Construct 3

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

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

    rojohound

    Hello guys!

    Its a few steps, until i can finish my project. And today ive got a question about avoiding overlapping sprites. Of course there is a event "on overlapping with object X". But let me explain the situation.

    ive three doors on which i spawn (create) sprites. In round 3 i spawn 3 sprites on each door in a random area ive created (this works perfectly). But now it can happen, that this sprites will overlap themselve, which is very bad, because you have to recognize the symbols of each sprite.

    ive tried a lot to solve this problem, but it doesnt work. Below this post, you can see an image of my events, and how i did it. My event checks in second instance if the sprite is overlapping with another sprite (the sprites are from the same sprite object - with differend animationframes)

    But i dont know why this second event instance is never called (see the picture). Does construct dont recognize overlapping events if its the same object?

    Image:

    postimg.org/image/hxu26j1dz/

    Much of thanks to all!

    Best regards!

  • thank you very much for your inputs, it helped me a lot and i could solve the problem thumbs up to you all!

  • 99Instances2Go

    rojohound

    Hey there! So iam using the moveTo Plugin from rexrainbow and it works pretty good. Did you guys had some experience with that plugin? Can you tell me how to change the destination of an moving object? If it reaches on node it should move to another and so on (like track or pathfinding).

    Thank you very much!

  • 99Instances2Go

    saad Swad

    oosyrag

    TheDom

    Thank you very much for your answers - i will try it out today. I will give you a Feedback if its working Nice ones!

    I dont want to use the CSS stuff for this project, so if i would get the sprites to work with the same characteristics - it would be absolutly nice!

    99Instances2Go would be a nice suggestion, but the buttons are visible the whole time the game is running. Currently iam working with the Plugins youve/Saad Swad sendet me (rex). But at the moment i couldnt figure out a solution.

  • 99Instances2Go ops that was a misstake, because i solved the problem and forgot to delete the part where iam talking about the link

    Sorry for that confusing thing.

  • 99Instances2Go Thank you for this link, but when i try to install the plugins.

    You know youre my personal "construct2Mentor" - so can i ask you this question too?

    Link

    scirra.com/forum/viewtopic.php?t=179256

  • Yes thanks i agree - i heared good things about it, but i wish i could say i know where to find the "move to" behavior. Do i have to install a plugin?

  • Hey Guys - Today i was challenging the GUI for my game. Usually i use Buttons to do that, but i would need to include sprites. I recognized, that it isnt that easy to use sprites as buttons, with the same characteristics of a construct2 button.

    Is there a simple way to do this? In my game you can tap on the whole screen, this will affect into some camera zooming. With the Construct2 buttons this was no problem, because the tap gesticure wouldnt be calculated as it will be if i use sprites instead. If the sprite buttons would work like a construct2 button (avoid input on my stage behind the button) - everything would be fine.

    Or is there a possability to change the Button style? And add a sprite instead of this grey background?

    Can someone help me out with this?

  • Hey Guys!

    So this is maybe a simple question for you, but ive played around with the possabilitys i had to move a sprite from A to B and nothing worked. After it reaches B it has to spawn back to A and "travel" again from A to B - and so on. Its should be just a simple movement, whitout angles or something.

    Which would be the easiest and most performant way to do this?

    Thank you very much!

  • New day - new question: Is it basically possible to animate sprites via code?

    I want to scale some sprites up, when they appear onto the screen, from 0.1 to 1.2 and then back to 1.0 (like a "plopp up" animation). Is there a possibilaty to do this in construct2 without using tweenlite or something?

    I have no experience with tween lite - and i dont know if it will decrease the performance of the game, if i would use it.

    Thank you very much and best regards!

  • 99Instances2Go

    Okay it works fine now thanks for this!

    New day - new question: Is it basically possible to animate sprites? If i found a Footstep, i want to scale it up from 0.1 to 1.2 and then back to 1.0 (like a "plopp up" animation). Is there a possibilaty to do this in construct2 without using tweenlite or something?

    I have no experience with tween lite - and i dont know if it will decrease the performance of the game, if i would use it.

    Thank you very much and best regards!

  • 99Instances2Go Hey 99 - sorry i was buisy with another project iam working on...

    Now iam working on this task again. And its frustrating....because i was inspired by your choose(x,y,z) function. But its weird. Ive included a image file (again i couldnt include it because of my low reputation points - but i did it like i did before ).

    I got 3 values who needs to be differend to spawn my objects on three differend doors....but on the while condition for door 3 - the event gets called - even if the value is the same one like on door 2 and 1 - and thats absolutly false... and shouldnt happen.

    Ive got the randomizing function - but why the hell is the event called when only one of the two condition is true? This shouldnt happen in my opinion.

    graphic link:

    postimg.org/image/6gbwl3ykn/

    If i start the project sometimes its correct and sometimes its wrong

    this is an excample of how it should look:

    postimg.org/image/8qygh44i9/

    and this is an excample how it looks sometimes...

    postimg.org/image/xg7bqqo7b/

    (the problem part is marked with this red symbol )

    It would be so nice if you could tell me what iam doing wrong - thank you very much!

    Best regards!