DuckfaceNinja's Recent Forum Activity

  • When the player runs or falls off the platform, they shouldn't move left or right, the X position should stay fixed so that doesn't happen.

    In my game, when you fall off, my player moves to the left of the screen, which it shouldn't do. It should stay in the same X position.

    I tried to fix this by creating an event that sets my player's X manually when falling, and although this worked, my player starts going through platforms which is the glitch I'm refering to in the 1st capx.

    I don't even understand..... hmmm if the player is not supposed to go to the left upon falling, you mean the platform should stop moving? You have to choose either a) or b):

    a) player move left upon falling, platform keep moving

    b) player stay at current x, platform stop moving

    assuming you choose b), look at my capx, hope it gives you something. Btw, line 12 is wrong, i've corrected it, didn't check everything in detail, line 12 just too obvious.

    Line 16 is to do b)

    Line 17 is just added to see whether you want things to proceed running if it is not falling.

    [attachment=0:151iniov][/attachment:151iniov]

    PS: option c) player stay at current x AND platform keep moving AND no glitch >>>>>> IMPOSSIBBBRUUUU!!

  • If you continuously do this, eventually the player will end up on the edge of the screen.

    Hmm, I thought this was supposed to happen? My impression that it is not a glitch because this is what I normally see in runner game.

    Mind if I ask what supposed to happen when player fall and hit the platform-side?

  • The demo link is wrong FYI. It linked to other game

  • What kind of glitch? I don't see any glitch with line16 removed? It seems to work normally as an auto-runner supposed to... Are you expecting the runner not to move towards left when it collide solid object?

  • Try Construct 3

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

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

    Here is an example of scrolling between two objects in a very simple platformer with two playable characters:

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

    In the example I have an invisible object with the ScrollTo and Pin behaviours, and when I switch between objects to follow I Unpin the ScrollTo object, move it to the new object and then Pin it when it's very close.

    OddConfection Aha Your solution for line 9-11 is quite simple and a direct solution for my buggy lerp event. Thanks for sharing!

    Never thought it could be as simple as this!

  • Is there any other interesting stuff worth knowing about Global or Persist?

    My discovery with persist is, it is extremely helpful when I create multiple array filters, used it mainly with the checkbox. It's complicated, but yeah it's a lifesaver at least for me.

  • IT IS ALL BECOUSE NOMBER OF EVENT

    Nope.

    You are not using them correctly that's why you have that problem. I'm not going to explain since you can find the best answer already. See the "trigger once while true" paragraph, should be very helpful as it also a direct answer to your problem.

  • I have a problem to load Browser.QueryParam with debug mode. Normal preview works fine but the debug mode does not, I think I'm missing something in the [Browser:Go To] action, please have a look and tell what I did wrong.

    [attachment=0:1531bewj][/attachment:1531bewj]

    How to test:

    1) open capx then run preview

    2) click the normal preview button (first tab)> it should open a new tab saying

    [quote:1531bewj]joined as: XXXXXX in room: master#####

    XXXXXX= supposed to be random

    #####=supposed to be zeropad number eg: master00001, master00005

    3) go to the first tab again, click preview debug

    joined as: XXXXXX in room: master

    ^ the ##### is missing

    joined as: XXXXXX in room: master#####

    It seems the query was not sent if I add "/debug" to the url:

    "http://localhost:50003/debug"&"?Room="&Room[/code:1531bewj]
    
    I would like to know if my syntax is incorrect? can't seem to find info on this since it's C2 exclusive. Or is it impossible by design? Or possibly unforeseen bug? Let me know.
    
    This won't effect my game but it is quite important for the development, because I'm attempting to create dedicated server which will create hosts for games, [b]I need to see the debug mode since there's a lot of things going on in the gamehost. Creating text for debug monitoring can be done but, it's too much that it is not practical at all compared to having debug mode preview in separate window.[/b]
    
    cc: @Ashley
  • shukra not a bug. See "Trigger once while true" to solve your issue.

  • Txchaser this is quite a meaningful post I would say!

    Experience in working alone makes your knowledge richer.

    Totally aggreed, I think I used C2 for almost a year now, can't believe that I started with zero knowledge in coding!

    But then again I can say that at this stage of my life I know how to handle things a little different than many others.

    There are differences that I notice, because the older and mature a person gets, know how to handle things better than many others.

    I have been on here for around 2 years or so, the comparison between you and I is a big difference. Is it that you have gotten lazy and not wanting to do the research or work on your own, and want it handed to you.

    From my observation, high schoolers probably have some difficulty in mathematics as they haven't acquire enough knowledge on it, which I think the age 20+ (college) should be the milestone of knowing logics at best. I disagree with comparing the progress made regardless of age because young people are simply not exposed enough to a very fundamental knowledge of logic, to make significant progress like us adults who have developed it as we age.

    PS: I applaud at these high schooler, they are already a game developer at the teen age, while I'm just a douchebag when I was a teenager. I bet everybody wished they started as young as these teenagers are.

  • p.s. i also like to make a card game, battling with AI though.

    but its too complicated for me, it would great if you can share some of your codes with me or everyone.

    I'm still far from getting it into a working prototype, a lot of things still not incorporated. Creating AI will be a super daunting task, so currently I'm not planning on doing that, I just focus on the multiplayer element in the next 2-3 months.

    As far as sharing my codes is concern, personally I think it is not a good idea, because this is how you retain your gameplay originality. But the foundation to build a game in this genre, there are enough tutorial to get you started, it's a lot of tutorial involve I tell you, some of the capx provided in the tutorial is usable as is with minor alteration to your need. Try to look hard as I did, as I started with zero knowledge of coding, I bet anybody can do it if they put enough effort in learning.

    It's a matter of how you use those tutorial to your advantage and get married with the manual. I will make some useful list of the tutorial once I get the prototype to be working, maybe start a devlog, in 2-3 months. So far yet so extremely far lol.

  • capacity, for me, is if its possible to do this type of game in construct. I know its possible in unity engine, but i dont know if its more easy to do in construct. Did you know if there is a tutorial about this type of game, i only find plataform tutorials. Thanks

    As newt said it is possible, but a lot of work involved.

    For me the difficult, its to spawn the unit's.

    Can't help much because I'm not familiar the game but to spawn unit, you'd want to familiarize yourself with 4 important things (cause I think it has similarities with the project I'm working on).

    -Condition: Pick (try to understand everyone of them)

    -Action: Create Object (to spawn)

    -SysExp: Tokenat (the most useful thing ever for me, used this with picking condition and array a lot)

    -Object: array (to keep your data)[try to master the use of array.at() and array.indexof()]

    If you're going for multiplayer, It's going to be on a totally different level. Cheers!

DuckfaceNinja's avatar

DuckfaceNinja

Member since 28 Nov, 2013

None one is following DuckfaceNinja yet!

Connect with DuckfaceNinja

Trophy Case

  • 10-Year Club
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

12/44
How to earn trophies