D_O_I_G_'s Forum Posts

  • Found them:

    1) Board, event2, you have create tile instead of create chess!

    2) FSM-match3, event6, you have match3.callback in quotes, but it's a variable, so there should be no quotes.

    3) FSM-prepare, event1, same problem, you have Function.Param(0) in quotes, it's a variable, so no quotes!

    So fixed those mistakes and HOLY CRAP IT FINALY WORKS. I can't spell out how goddamn I thankful are. Thank you for taking your time to find my idiotic mistakes.

    Have a nice day.

  • I could find all but RotoScale. You'll have to post it, or remove it for the moment.

    Edit: Doh! Actually C2 lets you chuck the effect, so it isn't actually required to look into the issue.

    Edit2: there's a lot here to absorb. You took out the one line that might help. Put back all of the debug events, that log the state changes. By comparing that with the working copy, you can probably find which state is not being set, and hopefully find the problem.

    Ok I added log commands and it's stuck on "FALL" condition so Iam pretty sure it has something to do with "Bord.Fall" function but looking at source example bug can be reproduced by disabling "Grid movement" in source. So what I did is checked my projects behavior parameters and source and I hit wall they both identical so again stuck on cheeking every single event in all event sheets and still can't find why. So I just assume it maybe perhaps somehow mixes with 3D engine functions but that would be BS. I dunno at this point where problem exists either functions either I misspelled something. :P

  • Hello I can't find whats wrong with my project?

    dropbox.com/s/jn1km3dymwjq90s/SomeGameM3.capx

    If you start in Layout "Match3Test" cubes disappear and that's it

    while in project which code I use everything is okey and works fine

    dropbox.com/s/gzybouajtz84ko2/Flower.capx

    I already going nuts because I checked everything looks identical but still nothing works so please very please point out my mistakes or just tell which event sheet is wrong so I could fix. English is not my first language sorry for that.

    Thanks in advance.

  • Hello I found post for a Bejeweled clone and links for capx files are dead so if somebody has files from link:

    construct.net/en/forum/construct-2/your-construct-creations-23/bejeweled-plugins-demo-55828/page-9

    Please post alive link or capx file.

    Thanks in advance.

  • There's no other way around for that or that I know with mode7, I just expand the sprites with Mode7 more wide to make it look kind of perfect, There's a limit for that my friend and at certain point of degree of angles it will show the background I mean you can see the ending point of the Mode7 Sprites.

    I tried to do the same with each single layer, but it took many way more events and actions to achieve this that at the end it didn't work the way I wanted and I end up making it with the whole Layout instead.

    I looked at R0J0hound example and it looks just changing sprites frame will do the trick might not be perfect but might be enough for fancy background.

  • Subscribe to Construct videos now

    Something similar but without tilting HUD just single layer of mode7. Kinda found workaround using Layer Effects but it makes texture shrink down and road becomes width of car.

    On left it's camera tilted at 45 degree angle and road looks thin

    On right camera is 0 and road looks fine.

  • Hello I have question about angle of camera. Is it possible to rotate grounds rendering like if you tilt camera on one side or other. Here is what I'am asking about:

    As you see skybox and walls rotated fine using Layer rotation but where is mode7 layer just ignores. So it's somewhat limitation of your script or there is way to make render tilt camera.

    Thanks in advance.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Fiddled with the math and cleaned it up a bit. Should be more correct now. Handles the screen aspect ratio, removed jquery dependency, and fixed the fov to use correct values.

    https://www.dropbox.com/s/lm18u6bxn49note/mode7js3.capx?dl=1

    I probably should remove the previous examples.

    MasterQuest

    This capx does the positioning math with the projectionpoint function. If you're asking about the original effect then the math would be similar but not the same. I won't be finding the math for the original effect because I found it broken. I made this instead.

    You can see if the update works better for you. I'm not sure if how it was before was causing the issue. I don't have a lot of time to debug what's amiss in other projects currently.

    Thanks it works way better a bit janky in distance but I'll mess with events to compensate on that. Thanks again.

  • The math in the shader is probably off somehow. Or vise versa. The shader adds an extra step that I probably didn’t test too well. It should be working for 640x480 but I haven’t messed with it since.

    I could drop my project file, if you don't mind?

  • To use a different uid. Change the parameter for the overrideDrawGl function.

    Hello again. After turning "Walls" in my project floors turns weirdly, fitting location is fine its just how wonky they turn.

    Here how it looks

    On left it looks fine and normal but on right it gets all weird like it turns too much. So where problem lies it's in Mode7 or Wall engine.

  • To use a different uid. Change the parameter for the overrideDrawGl function.

    Thanks it now works.

  • A second example. Arrow keys to drive. Do a lap to see a ghost of the previous lap.

    https://www.dropbox.com/s/635epvwa6yl3oh6/mode7js2.capx?dl=1

    Hello I found your example and it is what I need but I found its very UID specific if ground UID is not 0 then JS doesn't work. Is it possible to somehow not be that specific because I don't wanna rewrite entire project from scratch.

  • Hi, I can't see anything that is flipped? Do you mean the wall textures?

    Hello.

    I have question about objects with angles. For example enemy when it moves away from you is it possible to tell engine to not show enemies front but back or if it moving to side show its side. I thought about formula "(Camera.Angle-Object.Angle)/22.5"(22.5 makes it work due object having 16 angles) and it works fine until sum turns negative and then stuff breaks. So there is formula or I need use Event "Within angle" and then set specific frame (this works but it makes too many events).

    Thanks in Advance.

  • I had a hard days...

    will try to answer your questions as best as I can soon...

    No problems. Take your time.

  • Hi, I can't see anything that is flipped? Do you mean the wall textures?

    Yes. Textures somehow in distance look fine but then halfway trough it just flips. At least On RX570, Intel GMA 4500mhd, Intel HD 4400, Intel HD 5400, R7 360, GTX 1050Ti textures display like this.