tulamide's Forum Posts

  • Thank you Windwalker,

    We'll see what the future brings. Currently I'm more concerned if Blossom will be helped to explore the world <img src="smileys/smiley2.gif" border="0" align="middle" />

  • The idea of a competition around Scirra and its products was also what has driven me. And I wanted it to be less restrictive than others. The result was 'A blossom tale'.

    Of course I also tried to bring Scirra into the boat by contributing something like a badge etc.

    But Ashley had a convincing argument which was that it's in Scirra's best interest to try and treat all forum users equally. So unless Scirra itself will organize a competition there will be no benefits related to Scirra and it has to be held in 'open topic' to show that it's not from Scirra.

    But, as you can see by my blossom event, I'm very much a fan of the idea of a "Scirra Jam".

    I just thought, instead of talking about I actually start it as an experiment to see if it's pounced. Does it always have to be something official?

  • Without being able to test it, here's two possibilities, whose implementation would be up to you:

    1) By multiplying clamp(...) with timedelta (or a multiple of timedelta). The problem with it is, that while the angle to the mouse might change in big steps, the reaction from the turret would be slow, maybe too slow.

    2) By using lerp(). lerp basically sets some intermediate value between 2 known values, based on a t-value (the third parameter). lerp(1, 4, 0.25) would result in 1.75 (25% of the way from 1 to 4). If you use it like

    set angle to lerp(.angle, clamp(...) + Green_1.Angle, n * TimeDelta)

    it will also turn over time (with n being a number to test, the higher, the faster the turning)

    I have never worked with it, but there's a turret behavior. Is it possible that it solves some of your issues?

  • I couldn't agree more to the OP!

    But this:

    But as others have pointed out, the problem is twofold: newbies don't want to take the time to learn, and those who do help tend to solve the problem and not explain how it was solved.

    If you explain how something is solved to me, I might have follow-up questions that expand on the method you used and how it might apply to other situations. This helps me understand your solution and be able to apply it to more than one project.is also very true. And it is the reason why I try to explain a lot and give background information, which others might find "too much text to read". I did this already on the CC forums and do it here, because I refuse to accept that anyone does NOT want to learn.

    And I commend the following to any starters with C2:

    But boy is it fun to get something right, then make it better, more efficient, and streamlined. Building something that works is PURE JOY!This feeling doesn't go away, even after decades of developing. And trust me, even the most talented programmers, with experiences we can only dream of, will feel the same. Just ask Ashley, I'm sure he'll confirm.

    But that's a feeling you would never feel, if not learning, but just using premade solutions from others without understanding them.

  • When I convert the input from a text box to a variable, ...Assigning a value to a variable is not a conversion. Imagine it more like setting a new pointer to a spot in a table. Converting (known as type casting) will introduce a lot of issues, when trying to automate it.

    The input from a text box is -by definition- a string. How should C2 decide what it has to treat as a number?

    "+1" could be a number...or is it an approval? Or is it abbreviated for "me too"?

    "1a" What to do now? Taking "1" as a number and just omitting the rest of the text? Should C2 be allowed to just throw data out of the window automatically? Or isn't it a number but paragraph 1a?

    I think if it's a "number" variable, any inputs to it should automatically be converted to int().This would make it even more worse.

    "1.35" A number, right? But type casting to int would make it become 1 and again C2 would just throw data out of the window automatically.

    Even harder:

    "1,35" Not one but two numbers? Well, could be, but for example in germany this is the way to write the above number 1.35

    The only one who knows for sure, what type of value is needed, is the programmer. So it's good that it's up to you to do the correct conversions. <img src="smileys/smiley2.gif" border="0" align="middle" />

  • Actually, C2 is one of the (if not THE) most efficient tools you'll find. And additionally it is also extremely convenient. For example. while working on your project, you have separate png for each frame. Correcting something on one of these frames is so easy this way, that I would call it efficient.

    The rest of your question is answered in detail here (read step 2)

    You see, C2 really tries to be convenient and efficient at the same time <img src="smileys/smiley1.gif" border="0" align="middle">

  • Ashley

    I'm very sorry, but this is driving me crazy. I can only reproduce the issue, if using the exact capx I sent to you. Even more, now with r144.2 I can only reproduce it if

    a) I start C2 fresh

    b) Chrome isn't already started when previewing

    All other attempts to reproduce it failed by now. I even recreated the whole old capx from scratch with r144.2 to no avail.

    And on top of it all: If I start r144.2 fresh, load a capx made with 144.2, and THEN load the old audio issue capx as a second project and preview (so Chrome ISN'T started yet) - the issue also DOESN'T show up.

    With this result I propose to close this bug report. If I should be able to reproduce it reliably anytime in the future I'll open another.

  • Nobody can help you with almost nothing to work with. Please read this, especially point 2 and 3.

  • I don't think that will work because start of layout will only be triggered once.

    If it doesn't work, try this:

    Create a global variable (e.g. 'timestamp') and set inital value to a high value (e.g. 999999). Create a start of layout event in the affected layout's event sheet. Set the action to fill the global with the current time

    + start of layout -> Set timestamp to time

    All your every-x-seconds-events then have to be subevents to the following compare event:

    + time >= timestamp

  • There's a plugin from lucid that calculates the shortest route between 2 angles even over the 0� border. This lerpangle will help, but I forgot the name of the plugin.

  • http://sourceforge.net/apps/mediawiki/construct/index.php?title=Minimap_Object

    Alternative is to use the canvas object and draw manually.

  • I haven't downloaded your cap, but in general:

    You can only add attributes in edittime, not while the game is running. Also you can't remove attributes in runtime. That's a feature that was never finished.

    Instead work with invisible sprites, that have the attribute solid, and put them in place of the bridge when the player is walking, and remove it from there when running.

  • Ashley

    The reason for your confusion is the use of r144.2. I installed it and found out that it behaves differently. The first function call to pause the audio in the preloads-complete-event is never triggered. I'll open a separate bug report for this issue.

    However, I also found out, what is causing the issue I described. It happens when only preloading 1 audio file and not both while your system is too slow to load the effect's audio in time. Since you have a much faster computer than me (faster processor, faster system), I think your pc managed to load the second audio file to RAM just in time, so that you are not experiencing the issue.

    What do you think, is this a web audio issue more than a C2 one? Or should C2 make sure that the add effect command is only executed, if a sound file that an effect needs (for example the convolution effect) is already loaded to RAM?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ashley

    There's no change in r144.2

    The color picker still doesn't show up.

  • ...then report bugs if They can not find any mistake.You miss the point! It is not a bug if HTML5 is supported as a whole on browser A but not on browser B. It is a trial of strength between companies.

    If there is no solution to the dilemma, then one need to put "playing looped sounds" on the list of "Things I should not do with HTML 5". Right next to "Make pancakes" and "Fly kits".With this attitude HTML5 for sure will never be competitive.

    As far as art mediums are concerned, Wikipedia dose not list frozen blood, but on another page claims an artist uses it as a medium:

    http://en.wikipedia.org/wiki/Marc_Quinn

    I think we need to contact the editor and let them know about this error, and ask them to add HTML5 to the list.That's exactly my point. Here's

    Subscribe to Construct videos now

    , pancake batter and refrigerators used as art mediums. With that argument, simply everything is an art medium, since it's being used by someone, somewhere, somehow to create art.

    But an object is still categorized by its purpose. The purpose of HTML5 is to interpret human readable instructions to display web pages.

    You sure have arguments for a lot of things, some of them I do totally agree with, but they have nothing to do with the topic of this thread (like art dicussions or the doubting of artistical talent). If you are really interested in what this thread is about, read Ashley's post.