Ashley's Forum Posts

  • A common approach is to use invisible solid sprites as barriers at the edge of where you want the player to be able to move.

    • Post link icon

    We're more than happy to help you with your questions on this forum! However, there are a few things you can do to help us help you. If you bear these three things in mind, we can usually answer your questions much more quickly!

    1. Include a .capx file of your project. This way we can see what you're actually doing in your project. It saves us from asking "have you done this?... have you done that?" - we can just see for ourselves. Need a place to host files? Try Dropbox. (Remember to put it in the Public folder.)

    2. Don't say "it doesn't work" - tell us what happened. If you say "it doesn't work", the first question we'll ask will probably be "what did happen?". You can get your question answered quicker if you include a good description of what actually happened. Don't forget to tell us what you expected to happen as well - it may seem obvious to you but it often isn't to us!

    3. Include any error messages. You don't have to take a screenshot - Ctrl+C and Ctrl+V lets you copy and paste a message box's text to the forum. If you say "I got an error", the first question we'll ask will probably be "what was the error message?". Often the text of the error message is what allows us to solve the problem. So don't forget to include it!

    Bear these things in mind, and your problem can usually be solved in half as many posts :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Don't make the grass or road solid! It works fine if you remove the Solid behavior from them. 'Solid' means you cannot move inside or through it at all. Think of a solid thing like a rock. If the grass is solid, it's like starting your car embedded in a giant rock. Of course you can't move anywhere! You should only use it on tyres, barriers and other objects that you can bump in to.

  • You do not have permission to view this post

  • That link doesn't seem to be working.

    If you're placing non-solid objects on top of solids, that doesn't "undo" the solidness. Solid objects are always solid no matter what is on top of them. Otherwise, if you had a see-through cloud object over a rock, the player could then walk through the rock!

  • I'm not sure what you mean. Can you post a .capx? If you want the player to be able to walk on the sprites on the top layer, you can just make them solid too.

  • You do not have permission to view this post

  • You can make tiled backgrounds solid by adding the solid behavior - but you usually don't want to do that in top-down games (like the ghost shooter tutorial) - solid means you can't move on top of it!

    You don't have to have two layers either, it's just useful for organising your objects (so you can lock the background, for example).

    Noesis: you need to tell us what the error messages are, otherwise it's impossible to help. Also, it makes it much easier for us to help you if you share your .capx file. Then we can see what you've actually done. Otherwise we're left guessing!

  • I'd see it, but it is not available for keywords like "loopindex", which are defined before the action.

    I don't understand. It's right there in the list, under the System object, next to the "objectcount" expression.

  • xeed, haven't you seen the object panel while the parameters dialog is up? It lists every expression available in the project.

  • Firefox 5 and IE9 already hardware accelerate their HTML5 canvas, so if you're using those browsers Construct 2 games are already hardware accelerated.

    I'm not aware of any way HTML5 can access a microphone - there are probably some difficult security issues to get around.

  • C2 needs an array editor in C2 itself so you can set up array's initial values easily. It could do saving and loading to disk, but that's generally a bit trickier in a browser. Some kind of solution for this is on the todo list!

    What do you need to set up a big array for, though? If it's some way of displaying a tilemap from an array, you could just (wait for snap to grid and) set it up in the layout editor.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post