InDWrekt's Recent Forum Activity

  • Naji

    You could try Bryce, SoftImage XSI, Wings3d, Seamless3d but, no matter the tool you choose, you are going to have to work through learning it. There is no such thing as a 3d modelling tool that you just immediately know how to use. Also, while free, some of these tools licenses don't allow you to create commercial content unless you pay.

    I started 3d modelling using 3dS Max. It is an amazing tool but, as mentioned, too expensive. I tried Blender and XSI and finally settled on Blender because it has the most features and a completely permissible license. It can be hard to learn but, so are every one of these other tools.

    <Note> a list of 3d modelling programs can be found here:

    http://en.wikipedia.org/wiki/List_of_3D ... g_software

  • Blender 3d

    blender.org

  • I downloaded your example and, I don't believe a 9-patch is the right object to use for it. See the reference link about what a 9 patch is:

    https://github.com/chrislondon/9-Patch- ... tch-Images

    1|2|3

    --------

    4|5|6

    --------

    7|8|9

    Using a 9 patch, any time you scale the platform, positions 2, 5 and 8 in the above diagram would be stretched or tiled (if you set the property to tile) any time you scale it horizontally and positions 4, 5 and 6 would be stretched or tiled if you scale it vertically. Positions 1, 3, 7 and 9 would never stretch causing the strange results you are seeing.

    If anything, I would suggest you either just use a simple sprite object, or create a platform image which can be easily tiled. If you create 9 different images (4 corners and 5 easily tile-able center images, you could then combine them and use the 9 patch object set to tile. You would just want to make sure the object always scales to a multiple of the height/width of the tiles.

  • Can you post the project? It would be easier to find the issue if we could see it happen.

  • I'm afraid we need a little more information. When it comes to "floor slide," do you mean you want the player to be able to slide across the ground to say get under low hanging barriers? Or is it more like the floor is covered in a slippery substance causing the player to slide around and making controlling the character more difficult?

  • I'm not rolling back my version of Construct just to get you an example. Instead, here is a screenshot of the events:

    [attachment=0:2jzywxzj][/attachment:2jzywxzj]

  • OK, I just can't seem to let this 1 go. Here is a way to do it. Use a "ShowCursor" variable and when the cursor should be shown, append "|" (the pipe symbol). See the attached edited version. Use a timer to define when the ShowCursor is set to true.

    [Edit] added a basic version. The first version has some functions that may not be clear but only uses 2 events instead of 5.

  • Now that I understand the question, have you tried changing the Text object with a Textarea object? If you use a Textarea object, it displays a cursor at the end of the text.

    One thing to remember, you will have to set the Textarea focused to see the cursor and if it ever loses focus, the cursor will disappear.

    I edited your example with the suggested change and attached it.

    I hope that helps and good luck with your project.

  • You could give your cursor the Flash behavior and use the event in the image below:

    [attachment=0:puh6sy4j][/attachment:puh6sy4j]

    Simply put, the cursor flashes for .5 seconds on, .5 seconds off for 1 second, then repeats.

  • Well, this is the best you're going to get from me on the cursor issue. This example doesn't work on slopes but it does on any horizontal platform. The key is, the platforms created first must be above those created after them. Other then that, the cursor will show up right above the platform.

    If you can take this example and figure out how to get it to work with slopes, I would love to see it. As for right now though, I don't intend to spend any more time on it.

    I hope it helps and good luck with your project.

  • Well, I just went back and reread the cursor issue. In my second submission, I am just setting the cursor to the position of the touch. I will try to post an example of the cursor in a little bit (if I can figure it out).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Alright, here's a modified version. Hope this gets you what you need.

    When it comes to traversing the "height variations" you may need some more events. If you look at the level in the edited version, there is a slope which the player can walk up from the left but not from the right. This is because the slope from the right is too steep. If you are having trouble getting the character to traverse an area, you may want to make sure it is not too steep.

    As for handling platform traversal, an easy way to do it is to add an invisible jump trigger. I re-purposed the jump button as a trigger in this example where if the target is higher than the player when they collide with the trigger, the player will jump. If it isn't higher, the player will just continue walking normally.

    The reason your player "spazzes out" is because you have an exact value set for the location the player is moving to but the player will almost never hit that exact location. That is why in both examples, I have a range of about half the size of the player for the value to be correct (target.x between player.x - 20 and player.x + 20). Adding this simple change will stop the spazzing.

    You don't actually need a global variable to define if the player is moving or not. If you are using the cursor object that you asked to be included, just check the position of the cursor against the player position.

    After looking at your events, there is one thing you should know. The every tick event should only be used if it is the only condition for an event to fire. Using it as a sub event for another condition doesn't change anything. While the parent event is true, the event will trigger every tick without the every tick event. This will help to clean up your code and remove unnecessary events.

InDWrekt's avatar

InDWrekt

Member since 19 Sep, 2011

Twitter
InDWrekt has 7 followers

Trophy Case

  • 13-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

18/44
How to earn trophies