puzzele's Recent Forum Activity

  • LittleStain: Thanks soooooooo much for your response and trying to help. Unfortunately, after screwing with this program for another hour, it still does NOT work. :(

    Your first suggestion: mouse cursor is not over egg - set mousecontrolledgraphic to mouse.x,mouse.y   <-- as you said, this wouldn't make the graphic go around the egg so I skipped it.

    Your second suggestion: give the graphic bullet behaviour and set it's direction to mouse.x, mouse.y. set the bullet behaviour to bounce of solid and it will work. <-- I did exactly that. I made both the egg and mouse controlled graphic solids. I also made both have the bullet property. I also said yes to bounce off of objects for both. Here is a copy of the worksheet:

    System -- every tick -- mousecontrolledgraphic -- Set position to (mouse.x, mouse.y)

    However.. the same exact thing happens... I can control the mouse controlled graphic, but it STILL goes through the egg. It does NOT go around the egg.

    Hence..   and please do NOT take offense because I am sincerely grateful for your help, it still does NOT work.

    Is there any way possibly you can simply create the tiny construct2 program and email it to me? It will only require 2 graphics (one that you move with your mouse, and the other in the center of the screen representing the egg).. All I want is the mouse controlled graphic to NOT pass through the egg in the center of the screen.

    Sincere thanks again.. but so far, I simply CANNOT get this program to do something as simple as have two objects not pass through each other....   this is NOT a promising start. Many thanks.

    PS: And IF we can ever solve the first problem of not having the graphic pass through the egg, here is a second question:

    I want the mouse controlled graphic to start in a specific spot on the screen (towards the bottom). How do I do that? I don't seem to have any control about where EXACTLY to 'start' the mouse controlled graphic.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well... this makes NO sense to me, but I've tried everything... about the best I can do is assign the behavior MOVEMENT '8direction' to the egg in the center of the screen -- just to prevent the mouse controlled character from going through the egg in the center of the screen. Once I do this, then the mouse controlled character does NOT go through the egg... unfortunately, however, the egg does NOT stand still.... Instead, basically the egg in the center of the screen gets moved around when the mouse controlled character hits it.

    Call me crazy... but there should be a VERY simple way to have two objects touch/collide without all these problems. Any suggestions?

    At a minimum, it seems stupid to me and illogical to assign '8direction' MOVEMENT to the egg in the center of the screen (just to get it NOT to MOVE/prevent other characters from going through it -- which makes NO sense)... anybody know how to prevent the egg from getting moved around after other items hit it? This does not seem to happen when the other items such as 'bullets' touch it... but once the mouse controlled character touches the egg in the center of the screen, the egg moves. Hopefully I'm missing something.. but this seems waaaaaaaaaaaaaay too confusing for something so basic.

    Again.. all I was trying to do was have an egg graphic sit in the center of the screen and NOT move when other objects hit it and/or prevent the other objects from going through it...   but this does NOT work when the object hitting it is controlled by the mouse.

    Any info would be enormously appreciated.

    Incase you did not see the graphic above (since this website does NOT let me post links since I'm new -- again making things more difficult/aggravating), here is what my event sheet looks like

    System -- Every tick -- mousecontrolledgraphic -- Set X to Mouse.AbsoluteX

    System -- Every tick -- mousecontrolledgraphic -- Set Y to Mouse.AbsoluteY

    And again, ALL of my graphics have the characteristics of 'solid' including the egg graphic sitting in the center of the screen.

  • Here is a picture of my event sheet.. since this website won't allow me to provide the exact link, I just put spaces in it.. but hopefully this will show you EXACTLY what I did:

    http: // puzzele.com / construct2 / question1.jpg

    PS: I know it is a LOT to ask, but if its easier, perhaps you can create a really small sample program for me.. and I can take a look and see EXACTLY how you did it.   My email is: puzzele gmail . com

    I'm using the free version of construct2..   

    PS: If its easier to see EXACTLY what I was trying to create, you can take a look at the game I already made... but I'm hoping Construct2 will make things easier in the future -- although I'm not so sure yet:

    http: // puzzele.com / datingsite / videogame / IdoNOTwantKids.exe

  • Hope you can help.. I'm obviously a newbie..

    Here is my problem:

    I have a mouse controlled sprite character (i.e. lets call it 'maincharacter'). I move the mouse controlled character around the screen using the mouse. That works fine.

    I have an egg in the center of the screen. I do NOT want the mouse controlled character to pass over the egg. Instead, I want it to be forced to go around the egg. I would prefer that it would 'bounce' off the egg... but at this point, I CANNOT figure out how to PREVENT the mouse controlled character from going over egg in the center of the screen.

    How the heck do you do this?

    I DO have both the mouse controlled character with the behavior of 'solid.'

    I DO have both the egg in the center of the screen with the behavior of 'solid.'

    I DO have it play a sound when the mouse controlled character 'collides' with the egg..   so it does know when the 2 objects are colliding... but I cannot figure out how to prevent the mouse controlled character from NOT going through/over the egg..   I basically want the egg in the center of the screen to act as a WALL... nothing should pass through the wall... everything has to go around the wall/egg.

    How the heck do I do this? Please be as specific/detailed as possible. I'd be grateful. :)

    Note: I tried to post a link to my event sheet, but since I"m a newbie, it won't even allow me to do this! :(

puzzele's avatar

puzzele

Member since 20 Jan, 2014

None one is following puzzele yet!

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Email Verified

Progress

12/44
How to earn trophies