dupuqub's Recent Forum Activity

  • I am all for making tutorials, but I feel that if I'd do one, it would mostly be something I'm interested in currently, but not necessarily a community necessity.

    Should we talk about how we could address better the needs of the community or is it too vague?

    Maybe some sort of voting as in the "ideas" page of the C3 development?

    Pretty much shooting in the dark here, I'm not even sure if this would be a good thing or not.

  • Hi there.

    TL;DR: I like construct and would like help people to feel the same as I do about the engine. Would you care sharing your opinions on what to do about the 800+ pages of unanswered topics?

    I have used the forums and it really helps when someone takes the time give you a little light.

    Sometimes I, and I believe most of us too, have nowhere else to go, and if there was nothing in the forums that would be it.

    I understand people are capable of solving problems if they take the time, rewrite and read documentation, as well as other relevant coding and logic tutorials from other engines and/or prog langs, but my point is that Construct is somewhere I feel safer, somewhere that won't send me on a deep voyage through maths and complex algorithms (which I do enjoy sometimes but obviously not always).

    Recently though I've been trying to help with what I can in the unanswered topics, and just today I realized that there are 800+ pages. Some topics even go back 12 years.

    I understand that most of the topics are dead and many may have contrived problems with mostly unanswerable questions, but like I said, Construct for me it the "mama bird" of engines, somewhere to work and also have fun, and I would like for other people to be able to feel like that too.

    So, what do you think is something we can do? Or should do? Is there anything at all?

    I just feel like staring into the abyss every time I look at that number.

    Hoping this is not the worst post ever.

    Cheers!

    Tagged:

  • Hi there.

    I believe this is the effect you were aiming for.

    It is achieved with lerp and the behavior "Scroll To".

    github.com/dupuqub/constructs/blob/master/Lerp_Shake.c3p

    Feel free to ask me or correct anything.

  • The origin point is actually the current tile inside the "for each tile".

    On the start of layout I give a pass through every tile and set every possibility, then the mouse is used only as a debug method for seeing those decisions that were already made.

    To select a match, you could choose a random tile, then see if it has some possible match, if it hasn't then you choose another random and so forth.

    To select a match inside the tile it would be nice if it were also random, but in a way you cover every possibility so the game doesn't look to be prioritizing horizontals or verticals or anything else.

    Feel free to ask for any further help.

    Cheers.

  • It wasn't a bug, here you go.

    github.com/dupuqub/constructs/blob/master/Match_Predict.c3p

    Feel free to ask anything, but you'll find (by moving the mouse around) that every possible match for every tile is already present in the tile itself. All you have to do is choose one.

  • I am working on a sample to solve your problem, not coding directly on your project.

    I believe I've found a minor bug in the process, meaning it is possible to handle this bug (if it is a bug), but it would be much simpler if it was fixed (again, not sure if it is a bug).

    I'm currently waiting for a response from the devs, I'll let you know when everything is sorted.

  • Thanks a bunch! that's it.

  • Is it possible, using "8direction" and "Solid" to collide some objects, but not others? I understand that it is possible to do with physics, but without physics is what I would need.

  • on a second thought, you should check for at least 2 tiles far from the origin, like below:

    because there may be a match like the one below:

  • Hi there, I would make something like this:

    1. check every tile for a potential match (see if Y top/bottom or X left/right are the same tile)

    2. store that information in the tile.

    3. check the list of potentials to see if there is any tile around them that match their needs.

    I really think this solves it, but let me know :) I could do some code if necessary.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In your screenshot "TimeStamp" is an auto-complete and indicates what value you should put between the parenthesis.

    Since you want the actual month, according to the actual time/date, you can make use of the expression .now within the Date plugin.

    + System: On start of layout

    -> Text: Set text to Date.GetUTCMonth(Date.Now)

    Will display "5" in your text object.

    As indicated, the month is returned from 0 to 11 (0 is January, 1 is February, etc...).

    If you want to display the month in "letters"/as word, you likely need to set up an array that contains your months and display it accordingly.

    See this example c3p made in r201

    This should be in documentation somehow, its pretty useful and straight forward. I had to come here after visiting the docs.

  • Hi there, very interesting question!

    I experimented with some things to see how to do it and it seems that "8direction" and "MoveTo" are very clunky, but "Physics" was very accurate.

    Hope this helps, feel free to use it whatever way you want to and to ask any questions.

    github.com/dupuqub/constructs/blob/master/Tri_Drag.c3p

dupuqub's avatar

dupuqub

Member since 4 Aug, 2019

Twitter
dupuqub has 1 followers

Trophy Case

  • 5-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

10/44
How to earn trophies