oosyrag's Recent Forum Activity

  • I think Construct could be a excellent tool for teaching higher level logic and thinking for the high school level. You can touch on a lot of useful real world application data manipulation basics like parsing, loops, arrays, or even pathfinding. C2 has all the capabilities at least.

    So I think the question would then be is Construct be superior than say, a traditional entry level programming class using Visual Basic?

    I imagine a lot depends on how comfortable you yourself are using and teaching Construct 2 versus another programming language or engine. Licensing models and future accessibility are also considerations.

    From another perspective, I personally believe knowledge of Unity/Unreal Engine would be more relevant as we move towards the future (I'm a huge C2 fan, haven't actually touched 3d yet). The C2 event engine has a lot of small quirks and considerations that are NOT transferable to other languages - picking objects properly, for example, is a huge part of C2 specific logic that you will need to teach.

    Basically given the choice between a Construct 2 class and a Unity class in high school, I would definitely rather pick Unity.

  • Quick hack idea, open up an image with outlines of the resolutions you are targeting in a tab. Resize briefer window to fit the lines, change tabs to your game.

  • Your link got truncated, try taking out or breaking up the http://www part.

  • You don't need to disable any keys. All conditions need to be true for an event to run, so you add conditions to your movement events to check if they can be run. Here are a few ways to do this, I've given two examples.

    The first says if sprite is within 100 degrees of 0 (facing right) and right arrow is pressed, then move right. If the sprite is facing left (180 degrees), this event will not run.

    The second is inverted, which you can access by right clicking a condition. The condition is that this event can run if the sprite angle is NOT facing 270 degrees (up).

    To answer the question of how to find the angle specifically, you're going to use "Expressions". In this case, Sprite.Angle will give you the angle of the sprite. Here is more about expressions - https://www.scirra.com/manual/78/expressions

    Regarding why people give advice logic first instead of straight code, there are many reasons.

    One is that there are usually many ways to go about achieving something, and without seeing what you have done or what approach you have tried, a certain method/example provided may or may not work for you. This is why it is recommended to post your own capx when asking for help - tips-for-posting-in-the-quot-how-do-i-quot-forum_t62843

    People generally want you to figure it out on your own first so that you can really learn it instead of just copy pasting code. We hope that a logical hint can get you moving in the right direction, as many problems stem from a logical misunderstanding - like when you were trying to disable keys (which is a possible solution by the way, just more complicated).

    Also we literally can't just copy and past code from Construct, we need to make it, take a screenshot or save a capx and then upload it. I myself don't always work on a device with Construct on it, so I can give logical advice but not provide an example right away. Another reason to provide your capx, so we people don't have to recreate your problem from scratch.

    Another reason may be because your questions were too general. Again, there can be many solutions to a given problem. If you ask a general question, you'll get general advice. This usually leads to more specific questions which will get answered. Again, yet another reason to post your capx or what you have worked on yourself first.

    EDIT: tl;dr version: You have the highest likelihood of someone responding with a specific capx example if you provide your own capx first.

    From your first post, you asked how to fix the space between body parts. What space between body parts? We have no way of knowing what your snake looks like, or why there is space to begin with.

  • I haven't gotten to experiment with your capx yet, but had an idea.

    Have you tried positioning manually using ViewportBottom+whitebox.height? Instead of using the anchor behavior.

  • I believe webRTC has a vulnerability that leaks your IP even if you are behind a VPN, so no I wouldn't count on it.

  • Something like https://www.dropbox.com/s/q0x1i46u72kfl ... .capx?dl=0 ?

    If you're using round and you need to get it back center exactly, your lerp factor will have to be greater than 0.5.

    Otherwise, use two sub events, one with floor and one with ceil depending on which way it is heading.

  • Are you sure your white box isn't pinned to anything? Have you tried isolating and simplifying your project to a point where it does work as expected?

  • clamp(x, lower, upper)

    Return lower if x is less than lower, upper if x is greater than upper, else return x.

    As R0J0 said, if you're looking for integers, you probably don't need to lerp.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • random(0,layoutwidth)

    random(0,layoutheight)

  • Programming thinking can mean a few things.

    I think Construct 2 is an fantastic way of learning/teaching logical, algorithmic, and math based approaches to problems. There is a certain mindset programmers need that one can develop with Construct where you work with the fact that computers will do exactly what you tell them to, nothing more and nothing less, and you have to put that logic ahead of your own.

    Construct 2 will not teach other programming essentials like double checking syntax obsessively, clean code, and memory management among other things. It is very forgiving in that sense. How much someone relies on behaviors and pre-made examples without attempting to understand how or why certain code works could also limit how much is learned.

  • It works. https://www.dropbox.com/s/yrsoo9qijm4hbbw/spawnandmove.capx?dl=0

    Probably another event causing the problem.

oosyrag's avatar

oosyrag

Member since 20 Feb, 2013

Twitter
oosyrag has 38 followers

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

21/44
How to earn trophies