DenisDelinger's Forum Posts

  • So,if i make a background music play on start of layout,it plays on start of any layout,how can i make it play on a specific layout,so for example on main menu there is a background music playing,and then on level 1 there is different music...etc.?

  • I've tried a few things and i'm stuck i am posting this again if anyone got solution,i am making a breakout game,and i need my paddle to move when i touch + move my finger around,so it's something like drag and drop i guess sort of a thing,but,i don't wan't the paddle to teleport wherever i put my finger,so,i must 1.Touch the paddle itself,and 2.Then drag it or move it around.How do i do that?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • do you need that money to put food on the table while developing this game or do you need to buy something for developing this game?

    i recently finished a break out game and could possibly help you with the logic and stuff, also Kenney () released some nice graphics for that kind of game to public domain (CC0), so they are free of charge.

    when you finish the game you can easily get 200$ from FGL () for implementing theyre API which is 40% of the money you are aiming for.

    Hope that helps you!

    btw where do you come from?

    Thanks fldr,i am from Croatia.

  • Not having a badge is way iffy btw.

    Can't have it yet....

  • I have been trying to make a video game for about 4 years,and Construct 2 is the right program! Thank you Construct 2,but,i can not achieve my wish to make a video game alone.Anyone who would be nice and contribute please go to www . indiegogo . com/projects/super-brick-breaker/x/8206330#home (Remove the space between www and the dot, and between the dot and indiegogo,and the same thing where com is! Or you could go to Indiegogo . com and search for Super Brick Breaker.

    I had to show you that way since i can't post a url here.

    Please note that 500$ is simply a limit on indiegogo,and kickstarter doesn't have my country...and,maybe you could easily release a game like this,i can't.

    Also please note that isn't the main project for the game,only a few people will understand the meaning,when i am close to finishing the game,i will make a project in which i will try to fund it.

    Also,if you contribute 5$ or more,you will get Credit in the game Credits section (Just choose the Credit in the game Credits Perk)

    P.S. I know that it is a simple breakout game,but i can still not achieve it alone.And also,it will have some cool new game modes,which should give a great experience.

    Thank you!

  • Maybe something like:

    Touch is touching sprite>set sprite.x to touch.x.

    happy constructing.

    Nope :/ That lets me move the paddle a little bit and then the paddle moves all the way to the left (Note that as i said before another problem is whenever i preview the game on PHONE,the paddle is all the way to the left,so,basically,after what you told me,i can move the paddle a little bit and then it comes back to where it was.

    I also need to fix that problem which puts the paddle all the way to the left (But that isn't going to be a too big problem as long as i fix the main problem,making it move properly.

  • trigger once while true wont work? you can find it in the system conditions

    Thanks! Works!

  • System:Compare two values: Spite.Count = 0 -> create...

    I know that but in this case it isn't the proper solution,i tried it

  • Okay i added the system > every tick event for my lasers,and it works perfect,because,i also set that if there is 0 lasers currently on the layout,lasers are allowed to spawn,so,this doesn't overwhelm and there is always only 1 laser on the screen.And the whole reason i am using every tick and not something like spawning lasers when pressing spacebar,is because it is an android game,and it needs to shoot by itself.Ok,so,for my beams it is a bit different,1 is supposed to spawn,and that's it,that weapon is gone.But,with every tick,it spawns beams...well every tick,so obviously i don't wan't that,but i couldn't manage to find how to restrict it so that only one spawns? Anyone knows?

  • Try drag and drop behavior

    Ok that works but there is still one issue,on my PC it is normal,but when i run the preview on phone,the paddle is for some reason all the way to the left,when i drag it with my finger,it works,but,when i release,it goes back to all the way to the left...

    It should on start be on the middle,and simply move where i move my finger,but i don't know why it is doing this.

  • That's not what i wan't...i wan't to move the paddle with my finger.

    Touch the paddle,slide the finger over the screen -> paddle moves where your finger is...that's what i wan't.

    And i can't open that capx because i have an earlier version.

  • Ok i don't wan't obviously the paddle to instantly move whenever i touch,how do i make it so that when i touch the paddle,and then hold finger on it and move it around,that way paddle moves..?

  • Lets say you are controlling the paddle with the mouse and the furthest the paddle can go to the left without hitting the wall is 40 and the furthest right is 500,,,,,,,,

    make a condition and action as follows :

    System>everytick..........Paddle >set x to clamp(mousex,40,500)

    Thanks

  • Just use clamp()

    clamp(x, lower, upper)

    Return lower if x is less than lower, upper if x is greater than upper, else return x.

    I don't know how to do that...i am beginner,do i do it in event sheet? If so,how?

  • You can add invisible wall on left and right side with solid behaviour or the wall you said set behaviour to solid

    It is a solid....and the paddle still goes trough it.