InDWrekt's Recent Forum Activity

  • Here is an updated file with the motion type.

  • Ok, well then we'll do it here.

    First: Your setup has movement happening after the player lets go. I didn't understand this from your first message. Is this the desired effect?

    Second: As it is set up, when you click, the movement is set to 0 (first event on touch sets movement to 0) and then reset in the new direction when you let go. You said you wanted the movement to only work if the sprite isn't moving.

    Finally: When you say "a variable to see if the player has contact with the sprite first..." it sounds like you want a slingshot type effect. Click and drag off of the sprite to create force. Then when the player lets go the object flies off in that direction. Is this correct?

    I have some time today, so if you get back to me quickly, I can update my example to be more what you are looking for.

  • Just sent you a pm

  • A quick google search of "free 8 bit tile sets" came up with this:

    http://www.pixelprospector.com/the-big- ... -graphics/

    I haven't used the site before but it appears to be a list of other sites containing graphics for free use. I looked at a few of the links and they have some pretty cool images and the graphics are all supposed to be royalty free.

  • Now that is a big question. If you have never built an enemy ai system before, this may turn out to be a bigger project than you are ready for. However, here is a very low level breakdown of the main ai mechanics of the basic beat'em up style enemies:

    * Enemies try to get lined up with the player on the same y axis to attack the player

    * Melee enemies try to get within x axis range while staying either above or below the player before matching the players y axis

    * Single melee enemies will try to circle around behind the player to attack from the back

    * Groups will try to surround the player

    * Ranged enemies try to stay at a distance along the x axis but stay lined up with the players y so they have a direct shot

    These 4 things are the major mechanics of the basic enemies in almost all beat'em up style games. While it doesn't include bosses or more difficult enemies, it is at least a start point. Of course, as I said, it is an extremely low level explanation and does not in any way describe how to pull it off in Construct. I want to stress again, that it would be a much easier task if you have experience with enemy ai systems. This shouldn't be the first type of ai you create.

  • From your post, it seems to me like you are doing it correctly. When the button is pushed, the event should fire the setFocus action of the textBox you want the cursor in. A possible reason it is not working is, there may be an event later in your event sheet which is getting fired and giving focus to another object. You could test this by making one of the events in question the very last event in the event sheet. Then, if the button works to set the focus when you run it, you will know this is the issue.

    Other than that, I would have to look at your setup to get a better idea of what is going on. If you don't mind posting the capx file, I can take a look at it and see if I can see anything for you. Or you can PM me if you don't want the file public.

  • I am in an example mood today, so I threw together a quick capx for you.

    It can be done easier simply by getting the input device position - the point of reference position.

    In the capx file, I created a system similar to many of the mobile games out now where, when the left mouse button is held down, a circle appears on the screen representing the players joystick centered at the mouse location. When you move the mouse to one of the sides of the circle, the blue rectangle begins to move in the same direction. The farther from the center of the red circle the mouse is, the faster the box will move. When you let go of the mouse button, the joystick disappears.

    For your example, instead of having the joystick, you would use the position of the character compared to the location of the players finger. I hope this gets you the information you need and good luck with your project.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • I wish there was a step by step guide

    Unfortunately, for most things there won't be a step by step guide. However, to help you get started, I am attaching an example file showing exactly what I wrote in my previous post. It uses a single main event with 2 sub events. I tried to make it as basic as possible so you should be able to look at it and get what you need from it. The blue square has the drag and drop behavior. The event simply states, when the blue square is dropped, check its location against the black square location. If the blue square is on top of the black square, it snaps to the black squares location and get disabled so it cannot move anymore. If it is dropped anywhere else, it returns to the middle of the screen. That is it.

    I hope this will help.

    <edit> I noticed a bug in my capx file. A new version with the fix has been uploaded.

  • FragFather i have no idea how to do this could u come help me i can pay for help

    I'm sorry but I have my own projects I am working on. I can't give my time to another persons projects. You may want to go to the Job Offers and Requests forum and let the community know what you are looking for there. You may find a php developer looking to join a team.

  • Construct is capable of attaching to a database. There is a tutorial on how to setup and connect to a MySql database here:

    https://www.scirra.com/tutorials/525/si ... l-database

    To be able to do it, you will have to have some understanding of php and MySql and will need to have a hosted php site with a MySql database accessible from where ever your players are connecting. Assuming you have those 2 requirements, you should be able to follow along with the above tutorial rather easily.

  • To start, you can look into some tutorials on how to add objects to your play area, how to create events and how to trigger those events when you interact with the objects. Get a good understanding of how those mechanics work and then you will have better idea of what you will be able to accomplish with Construct.

    Now, there are a couple things you (and everyone else coming to the forums to ask, "Can I make <insert any example> 2d game in Construct?") need to understand. Construct is a tool. It is a powerful tool with the capability of making just about any 2d style game without having to write code. That being said, a tool is not everything you need for game design.

    Construct comes with a large collection of templates as well as a wealth of tutorials to get you started. Whereas the forums should be a place to ask focused questions about topics you didn't understand while looking through these other resources. Your question about, "What things I needed to learn to make such game?" is so broad, there really is no answer. What do you need to learn? 1 - How to design a game. 2 - How to use the features of Construct to accomplish your design. Once you have learned these 2 things (which are really a lot of different lessons) you will be able to make any game you want.

    So, that's my rant for the day. Sorry, I usually prefer my posts to be a little more constructive. I hope the first paragraph at least helps you find a place to start. Good luck with your project.

InDWrekt's avatar

InDWrekt

Member since 19 Sep, 2011

Twitter
InDWrekt has 7 followers

Trophy Case

  • 14-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

19/44
How to earn trophies