hpantonio's Recent Forum Activity

  • Hi guys, I'm developing a gravity game and I'm stuck with an annoying problem.

    I'm trying to get the turrets to shot towards some asteroids, they do shoot but I can't get them to have a view straight to space and in many cases they don't even shot.

    I think it's a problem with the cone view but I can't figure it out.

    You can see a screenshot below and you can download the capx from here.

    NOTE: THIS REX RAINBOW BEHAVIOUR "PINTOPOINT" may be necessary to run the project.

    Thanks in advance for any help!

    CAPX DOWNLOAD

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You don't necessarily need custom movement here. You can move the follower with 8-Direction too, but the implementation depends on the game (whether there are obstacles, enemies etc.)

    Here is an easy way to follow with 8direction:

    Or you can do this with "Simulate control"

    Thanks a lot man, I exploited your idea and got it work in this way:

    I didn't need angle in my case and I doubled the events to make it work with both as followers and leaders. Thanks a lot!

    I was wondering how could someone do the same thing for a platform game, where there could be the need for the follower character to jump to follow the leader.

  • I'm making a graphic adventure with two protagonists, so the player, in any moment, can switch between the two characters.

    What I want is to make the character that is not in use, to follow the character the player is moving.""

    My game is a sidescroll adventure and I'm using 8directions for the controls, but I think I'll have to use custom movements for what I want, right?

    Thanks in advance!

  • Hi guys, anyone has the capx for the gamepad version? I downloaded the one from the link striimix posted, but actually it's the same capx version of the non-gamepad link.

    I'm trying to figure out myself how to make it work on mobile, but if anyone can help me it would be much appreciated.

    LaDestitute do you still have the capx?

    Thanks in advance guys!

  • dop2000 I got your point! Actually, I didn't understand before (reading the manual) if local storage was saved or not.

    I think the easiest way is by using the dummy object with no save, this is something I've never heard of and that I would have never thought.

    Thanks a lot for the precious suggestions!

    YoHoho tomorrow I'm gonna try one of the methods and I can share here the demonstration (screenshots of the events, because unfortunately at the moment I have no time to make a demonstration capx) of what I'll do if you want.

  • I'm trying to make a little pokemon-like rpg, where I meet some enemies on my way, and I've to store some variables changes after the battle.

    Practically, I need to store and change informations (variables) about how many enemies of a certain type I killed and how many of them I "forgive".

    The point is, when the battle finish, I want to restart from the same point where I was before meeting the enemy, so now my logic is this: collision with an enemy -> "save game" -> go to layout "fight" -> load last game save.

    With this logic, if I change any of the global variables during the fight, I'll lose the changes when I load the last game save.

    Would a workaround be not using the save/load game, but storing in variables the position of the player before the collision with the enemy?

    What could I do to store variables during the fight so I can access them after the loading too?

    What would be your workaround?

  • Start from the basics. I suggest you to look for tutorials on how to make real time strategy (RTS) game or turn based game. There are a lot of guides here that you can use to reach your goal step by step.

  • Hi guys, I'm trying to adapt this dialogue engine to mobile: construct.net/en/forum/construct-2/how-do-i-18/zelda-dialogue-system-capx-and-117812 (I don't know why hyperlink button doesn't work)

    How could I change when to go to the next line if I'm not using the same spritefont?

    How could I move the cursor up/down on mobile?

    In the screenshot you can see how I adapted the code to go to the next phrase in the dialogue, for example.

    I saw that using the font "KenPix High Square Regular" (turning it into a sprite font using this: construct.net/en/forum/game-development/tools-and-resources-27/sprite-font-generator-v3-64038) I can manage to have approximately 44/45 characters on the textbox (changing the size to 300*100) without going over the borders.

    Thanks in advance for the help and let me know if you need any further information!

    EDIT: Actually there is even a "charsByLine" instance variable in the spritefont, so you can arrange everything just by changing the number there. Sorry for the stupid question!

  • I have two questions:

    How could I change when to go to the next line if I'm not using the same spritefont?

    How could I move the cursor up/down on mobile?

    I have issues when I change the spritefont, as it spills out of the box when a line has more than 44/45 character (I think it's because of this), I opened a new topic too to ask, but maybe you can help me faster. I slightly changed textbox size, now it is 300*100.

    Thanks in advance for the help and let me know if you need any further information!

  • No way guys.

    This is a capx from a tutorial on how to do fighting game in construct: https://drive.google.com/file/d/0B8jqWM ... 9ZbVE/view

    Even in this demo there is the same problem with the animation.

    I'm getting mad guys ahahah

    Thanks in advance antares330 sielxm3d

  • Hi guys!

    I have some problem with a Street Fighter-like game.

    This is how the player attacks, I prevented the animation to start while it has already started, but when I release the button the animation stop. As you can see in the screen I'm using "On *button* pressed" and not "on release".

    So how I can get it work?

    Thanks in advance,

    Antonio

  • I'm trying to do a replica of Metal Slug, and I'm having problem with the background.

    The bg is too large and:

    1) I can't see it entirely on Construct 2

    2) On a mobile a sprite like that would be too heavy

    3) Tha layout size can't be bigger than 6904 pixel

    I tried to find something on the forum, but nothing seems to talk of it.

    Sorry if it's a stupid question!

    Thanks in advance

    P.S.

    Here is the .capx:

    https://www.dropbox.com/s/55q6gypwnb25e ... .capx?dl=0

hpantonio's avatar

hpantonio

Member since 24 Jun, 2014

None one is following hpantonio yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies