GeorgeZaharia's Forum Posts

  • It's top linear, no physics. I just need it to go a short distance, it works fine when dragging at a normal pace but if the player drags as fast as possible it often breaks the game. I'll try out your suggestions, is it right to assume this is done with Custom Movement?

    not necessarily, but usually that is how i use it. if you have a default movement, just use the same (distance(x1,y1,x2,y2)+(60*dt))/10 as speed. and should work. the number "10" that i used to divide the distance, can be anything you want depending on your wanted results. lower then 10 is faster higher then 10 movement will lag a bit...

    here is an example of the dt distance movement. 1st group is for a following pet/ etc 2nd is direct movement while your mouse/touch is down. this way it never breaks atleast i didn't managed to break it even if i were going bananas on mouse speed. hope this is what you needed.

    i used the same movement in this demo here

    however it has a mistake or lack of events in code, you need to add a "is not tapping" or " is not clicking" condition type so it happens only when dragging happens. other way youl find yourself with a small bug that on tap /click movement will start happening because of the distance being bigger then 0 .... now number 0 can be anything you want, that is your center point limit.

  • You do not have permission to view this post

  • add (60*dt) or lerp(a,b,measure) to the drag force? it all depends how your dragging happens... is it physics based? or top linear?

    usually i use distance(x1,y1,x2,y2)+(60*dt) that gives a delayed dragged and a quick one when is in short distance. but not sure if is the desired movement you want.

  • Pathfinding might be as important as you want it to be. Meaning depends if that would be the core of your movement or not.

    Im intrigued by this type of AI cause is a complex one, you have so many things to tackle and take in consideration. but definitely you're four cardinals suggestion is the way to go, however its not only 4 ways of moving its 16 i think if we exponentially grow the possible positions to move on, cause you have to make the AI become smart a bit so it can decide to go close to the player and try "hunt him down?" or just build its superpowers and then go for a hunt? thats why im intrigued by this AI is bloody amazing and complicated all those variables.

  • you can import any video and use the video plugin .h264 to play it. no need to convert it.

    However when you play videos using the .h264 you need to take in calculation the platform users will use and if that platform is compatible with the codec and the video format. for example playing webm files wont be compatible with safari and apple devices. jus stick to mp4 files or avi

    if the files are to big, just reduce the bitrate of the video in a video editor (Premiere for example.) usually a min 1Mbps/2Mbps Max bitrate video is usually enough for majority of files, keeping the video quality intact and frame rate( unless you are trying to use some 4k or 1080p complex video then quality is noticeable. When i say complex i mean lots of stuff going on in it. if the video is a simple video, like a man talking with no action in background or 1 object moving with not much of environmental lights moving around, then your safe reducing the bitrate.)

    example of same file with reduced bitrate 1-2 MBps bitrate 1080p quality same in this one being a simple video ... white background 1 colored character around moving. if we where to add some crazy lights then frame rate would skip and pixelation would be a lot more noticeable. <- size 20Mb

    original file at 10-12 Mbps full 1080p <- size 40 Mb

    but this is a .mp4 example .avi has more weight... the .mov files are as close as light as a webm just they dont play well with devices unless you got quicktime installed. .webm files are mostly incompatible with some of the apple devices as mentioned above.

    size of the same video above on all formats would be around :

    .webm 10-20 mb -noticeable behavior of .webm files played in firefox... they are flipped on vertical axes for some reason and sometimes take 1 to 2 seconds to start playing.

    .mp4 20-40 mb

    .avi 100-200 mb

    .mov 40-80 mb

  • Hi there,

    Do margins serve two purposes? These purposes being the space around the project space and how the viewport moves with scroll to?

    just the space around editor layout i dont think it affects scrolling at all.

  • in theory yes, keep in mind that Teams fusion is more of a construct classic type of engine, some math calculation might need adjustments on C2.

    for example in C2 we dont have anymore X("player") we have player.x which is more logically correct.

    but yes should work. look at the tutorials section above in the forum menu pretty sure youl find some capx examples.

    check this tutorial

    in addition to that, you might try this plugins which will help you a lot considering a isometric game isn't something simple to do. (helpful plugins for grid movement games.)

    or you might want to actually follow the C2 isometric tutorial

    Subscribe to Construct videos now
  • Try it out for yourselves: link

    Amazing, im interested in the collisions only which is much faster and correct than i ever experienced with C2.

    Hope you can finish this! Keep at it! il buy it even if its premium released!

    The cpu utilisation is a bit high for 200 objects (maybe because is still a WIP? or that isn't the cpu in real time? i see 1% being stuck there.) usually those objects use around 0.02% on my pc.

  • why dont you buy the template? for 100 bucks i mean... is for sale...

  • this looks very promising, tell me you have some alpha/beta for people to use!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Holy crud, where have i been?? when was this released? IS it complete and bug free or an alpha?

    more of a beta i think! https://www.construct.net/ro/make-games/releases

    personally im waiting a R200 atleast before i go into it!

  • you can use the bbox top and bottom of the standing truck, and measure between angle of those positions its a bad solution though to play with angles. better use distance.

  • Okay, Thanks a lot !

    The game is free just I am using ads.

    ads are a income this days, so copyright is needed!

  • Yes its a must if you intend to make money with it! if you dont intend to make money with the game, not so important.

  • Good job!