Katala's Forum Posts

  • shinkan I made the image 256x256 to see the difference a bit better and on this method I got 11.73 Image memory usage with one object and when I loaded all of them to Sprite I got 16.55. So there would be advantage if there are a lot of animations like in isometric game for example. Also something I am interested is the possibility to make modding tools.

  • [quote:h9feh4ws]You could possibly use the Paster object for texturing, but it could only be in quads.

    Again, making this just for one game is pretty much a time waster since you can make the maps by hand.

    Would't that Paster method require quite a lot of memory.

    I would say it could be worth the effort if users could make levels as well. Otherwise I would't bother.

  • I just share my experiment so you have better idea. If someone tested on weaker machine it would be nice to know if there was any problems.

    Basically everything should be in order and it should be possible to make smooth animations like here for example.

    [PC] Lionheart - Legacy of the Crusader - Gameplay - Youtube

    If you are not familiar with Node-Webkit you should put those image files to Construct 2\exporters\html5\node-webkit\win32\Images

    or export the project and put them to the exe folder/Images

  • Actually I dont see any distortion so using polygon plugin that should be doable. Harder thing would be drawing those other images like the grass automatically.

    I added simple textured polygon test. NOTE that you need the polygon plugin to open that.

  • [quote:xe8ts20e]I've never used the canvas plugin. I've looked at it, but I wouldn't know what to do with it.

    Well I don't know how you do it now but I've thought how I would make isometric minimap is to draw the minimap similarly I draw the isomap but just using kind of a brush object to draw to it and probably using another on top of that to draw units or if there is no hundreds of them maybe using similar system I assume you are using.

    As far as I remember I have only encountered this with blend modes but, just from the picture I cannot say what that could be.

  • codah I was bit too slow

    Also int( random(10)+1)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Also: "F" & ceil(random(10))

    Note that random expression is 0 based and will give float numbers so ceil will round it up to closest whole number.

  • Are you using some blend mode for that. I had problems with those before on Webkit. Like this for example https://www.scirra.com/forum/two-node-webkit-problems-still-on-v-168-temp-freeze-fix_t95506

    Is it Canvas plugin? That seems to work at least on preview with transparency and could make a good minimap I think.

  • I ended up making it a bit differently since there was one nasty bug on the first one when the item count wasn't multiple of two (or the row width).

    Maybe I could improve it at somepoint since it seems there is no tutorial for this type of jrpg inventory.

  • [quote:8a61i9pr]viewtopic.php?t=90520&start=0

    As far as I remember it cannot wrap the texture. So your texture should have two of the same image side by side.

  • If your items are in array you could just draw portion of the list comparing the scroll position. So in this case when you scroll the list you could make repeat loop 18 times from the scroll position that would be the first item to show. In this case Potion. Or if you want some fancy smooth scrolling maybe 2 after and 2 over what is shown and mask the areas. But really there are many options to do this

  • By the way has someone else tested that blend mode problem mentioned in the first post.

    [quote:38ch9e3u]Second issue is with some Blend modes. If you download THIS example and you try it in browser (tested Firefox and Chrome) it works as intended, but on Node-webkit it doesn't work if WebGL is enabled just shows black. Should be that blue background with some white lines.

    That would be very usefull feature. Or if someone knows how to achieve that in another way.

  • Oh nice!

  • [quote:1jm2q2iy]Still actually not 100% sure on making the level editor available to the player yet though, I might just use it for myself in creating levels.

    Why not? You clearly went the extra step by making it user friendly already.

  • [quote:3u872tha]I think answering your question might derail the conversation and send it in a different direction, but I felt the need to add my two cents.

    I guess what I was trying to say using this axe comparison is that on #1 the creativity has really taken over and the purpose is lost. This is personal opinion but, I think it is ugly as well and if you would really try to use it you would probably just hurt yourself. #2 Is more in balanced on usefulness and creativity and it is simpler as well.

    If we would think just code it would be pretty much that when you have a problem you think the most complicated way first and after that realice that you could have made it much simpler and direct way. So if you think logical problem maybe a bit too creative way you might make new problems that you have to solve as well. I do this quite often on debuggin for example. Sometimes I start to look the problem from the most improbable place and later find out that it was just a small typo.

    Don't know if this makes any sense to anyone anymore but, if you have a nail you have to pound it would recuire both creativity and logic to use a hammer or some type of tool instead of a barehand.

    Or I could just agreed with this. That vs on the title was maybe a bit confusing.

    [quote:3u872tha]The most creative solutions are often logical extrapolations, there's a fair amount of cross over.