megatronx's Recent Forum Activity

  • Refeuh

    I'm not really great with terminology. Atm my state machines are like that

    If Var = 1 : do stuff, aad 1 to var

    If Var = 2 etc.

    And

    Every tick add 1 to Var2

    If Var2 = 1: do stuff

    if Var 2 = 2, etc

    Both have issues

    jobel

    I tried couple of techniques. Once layout starts , I run a crawler from center of the layout. There problems with overlapping already spawned tiles, even thought they are set up correctly. Another technique was to generate floor first, then do offset calculation, and move everything so that whole map is placed tile away from 0,0. Then for each floor, i set up a value in 2d array. Then did applying of wall and other objects on to the array itself. It worked, as far as remember until something happened that made it broken and I couldn't figure out what.

  • Will it have texture distortion and visual editors for it, as well for other plugins/behaviours that need it?

  • jobel Aphrodite

    Thx for clarifying, though I still don't understand if created object through create or spawn is calculated same tick of not? I'm working on randomly generated map, and this is somewhat crucial i think as currently I'm getting some minor annoying bugs.

    Ps. The prototype version worked flawlessly, but the "clean and optimised version" broked! Same with version after. IRONY!

  • Hi there,

    Ashley I have few technical questions I'm hoping someone could answer for me:

    • What's best way to create an event sequencing? I tried setting a variable number, and then top condition for each sequence, and at the bottom, I had plain sub event adding 1 to sequencing variable, but seems like not all events are finished within same tick and so it ended up braking.

    Therefore: - Which of the following two actions is being completed the same tick as the action triggered and which one doesn't: Create object or Spawn object? Also Id like to know which other actions are being completed on the next tick?

    • Another question about sequencing is when the variable is being changed trough other set of events, it's not working, and I don't know why.

    Examples

    Not working: Every tick: add 1 to Variable, Variable grater then 6, set Variable to 0. If variable = 0, player is not moving along path, has player in sight: find path.

    Working: Every 0.0128 sec, player is not moving along path, has player in sight: find path.

    • When "repeat" and it has variable to check then add to the same variable, is it only checking that variable on each repeat or only on start of the loop?
    • What's best use of "While"?

    Thanks!

    M

  • sqiddster what's your original window size?

  • Looks good

  • > Hi, would you consider making a plugin or behaviour out of your 3d object engine, please?

    >

    Probably not. That would mean re-writing it in javascript which doesn't appeal to me.

    No worries. Could you do an example with pseudo-isometric camera? I'm asking because I'd want presentation of my game to be 2.5D isometric style, where 3d block are walls, and rest are just scaled sprites. Would that be possible?

  • Try Construct 3

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

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

    That would look cool, I'll have tinker around with Spriter one of these days.

    irina

    Yes I've seen it. It's approach is similar to what I'm doing in some ways It's even a bit faster since it's all js, however it would be very time consuming to integrate it into a plugin.

    New update: Now boxes match the rotation of the ground sprites on layer 1, also events were cleaned up a bit and an improved perspective transform is now used. Also the rotate function can now rotate around an arbitrary point.

    https://dl.dropboxusercontent.com/u/542 ... _3d_5.capx

    Hi, would you consider making a plugin or behaviour out of your 3d object engine, please?

  • Ashley : I have issues with image editor for a long while now. Not sure how to reproduce it, but it's simple: you have an image, lets say 256x256, and you crop it, sometimes it will not fully crop, but leave 1px of transparent border that is unable to be removed or cropped any further.

    For guys that have problems with seames, it might be scaling issue if you're project runs in unappropriate resolution. I always choose halves, quarters and such. For my current project, resolution is set 960x540, which is half of 1080, end even more, originally game was running in 480x270, so assets are only 16x16 and 32x32. At this way selected resolution, I have no problems with any seams, unless webGl effect is being applied to object itself, like floor tiles made out of sprites,something even as simple as blur, then seames appear ( no clue why ). My other settings are: Low quality scaling, point sampling, medium quality downscaling, pixel rounding Off, and webGl On. I use MagiCam plugins to zoom in, to get that original 480x270.

  • You do not have permission to view this post

  • +!

  • You do not have permission to view this post

megatronx's avatar

megatronx

Member since 25 Sep, 2008

Twitter
megatronx has 1 followers

Connect with megatronx

Trophy Case

  • 16-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 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

23/44
How to earn trophies