ultrafop's Forum Posts

  • Hey - Sounds like you've done some legwork with getting the shop set up but are having issues unlocking items (based on experience?) as well as updating what items the player has currently.

    I'd recommend using Local Storage and an Array for unlocking items (what's available in the store).

    I may be complicating things a bit, but I'd also have a separate array for items the player currently has, which should be updated/loaded with local storage as well.

    Here are some tutorials:

    https://www.scirra.com/tutorials/5343/h ... -game-capx

    https://www.scirra.com/tutorials/307/ar ... ers/page-2

    https://www.scirra.com/tutorials/583/ea ... g-an-array

  • Both are great! The second one you posted is tripping me out haha

  • > You can also check for an overlap at offset.

    >

    > If player platform is overlapping jumpthru at, X=0 Y=4 (for instance) then (whatever action you're hoping for)

    >

    Yup that works too but I was thinking if you create an invisible sprite to check overlap you could use it for many platforms that might be at different positions on the screen so no writing additional events to check overlap at offset.

    It is just something I use a lot in platformers and blank sprite triggers are very convenient.

    I get the feeling code will be necessary regardless. I suggested the overlap at offset to avoid collision checks. Whatever's clever though - if it doesn't impact performance for OP then it's moot.

  • You can also check for an overlap at offset.

    If player platform is overlapping jumpthru at, X=0 Y=4 (for instance) then (whatever action you're hoping for)

  • There are a few different ways to do these...

    1) For the textbook, depending on how you want text replaced, you may want to check out a dialog system tut:

    feedback-dialogue-box-for-lazy-people_t178141?&hilit=LaDestitute

    2) You can put your plays stats into an array. I'd recommend looking at how those work:

    https://www.scirra.com/tutorials/307/ar ... -beginners

    3) for a sum random you can use a function and set the first parameter to random(lower bound, upper bound) and use that to determine the success or failure. You can also set a variable on the instance itself, if that is more your style.

  • I'd think 32x32 or 32x64 would be fairly standard for your bounding boxes. You can scale things up ordain, but I recommend designing things bit larger than you need and scaling down than scaling them up, as image quality may degrade.

  • It's difficult because I'm not sure where these sprites are in motion or exactly what the setup is...assuming that they are static, I might try having an array that is filled with the UID's of the instances at the start of the layout, then use the a function to select the UID at loopindex (which I believe would be the array.at(x)-1) and pick object by function.param(whichever parameter has this array variable) and pick nearest where + (invert action) UID is equal to function.param. I habit had to try this myself, but this is my first thought about it. You could also just try adding that last bit, with the inverted action to what you have and see if that fixes it?

    So I've read the blog posts and this thread...

    Whether we announce the pricing sooner or later is really irrelevant if I don't know exactly what I'm paying for - and I don't really get why there hasn't just been a fancy video with a vibrant narrator showing this thing off. Maybe I'm just an advertising novice but giving out details of software over weeks feels unnecessary. I'm pretty excited about the idea of a browser mode and I want to feel more of that excitement. Also, I'm wondering if that could actually be a separate price-point. You want standalone, it costs $X one time; you want to use our servers and have cross platform login features, that costs Y yearly/monthly. Not sure exactly how that would work for Linux users (and maybe other platforms?) but I'm willing to bet if it was investigated it wouldn't be too difficult to figure it out, even if it remains a web application.

    I think it kind off sucks that we're (myself included) discussing a PR method instead of the software itself, which in my estimation means something went wrong.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads

    Buy

    Most people here who use & enjoy C2 are hobbyist, myself included. I will not pay a subscription fee for C3.

    My sentiments exactly.

  • >

    > > rexrainbow

    > >

    > > I've been tinkering with this effect and it's really cool! I'm having some trouble getting object positions to track accordingly. I'm using rex's behaviors but I'm using a tiled background for the object ground. Will that impact the way the perspective behavior works? I currently have grass (as the tiled background) and houses (as sprites) but I can't get my houses to appear anywhere after setting up the camera sprite to the ground behavior's camera and the houses perspective behavior to the grass's ground behavior parameters. In the sample capx it looks like 0,0 (on the X and Y parameters of the perspective behavior) is the upper left hand corner of the canvas but I don't see anything populating there when I test things out.

    > >

    > > EDIT: I've also tried setting the logic positions to the sprites current x/y positions, which could be a mistake (as I'm not so confident with all the math), but I thought it was worth a shot. I also don't see them when I try that out.

    > >

    > It's been a while since I've use this but doesn't the math have to be inverted, or something?

    >

    Hey thanks for the response! I tried discontinuing use of the behaviors and just inserting the math from R0j0hound's mode7_obj capx (copied and pasted the variables and equations to make sure I didn't make a mistake). I tried it "as is" (thinking the placement would't match up but I'd at least see the objects on screen...which did not happen) as well as with the numbers 'm using for the mode7 in the variables provided but I'm stlll having issues. Now I can get the houses placed, but their size is so small they are effectively invisible - I only know they are there because of other objects in a container with the houses. After about 5-10 seconds the other objects simply disappear, which leads me to believe the objects are being transported elsewhere (though I don't know how this could be the case) - or possibly since the houses are invisible their size is constantly shrinking and the container objects can't be pinned to them anymore? Objects that have a m7x and m7y of 0 are also seen flying across the map until they exit the layout. Any help getting this to work would be greatly appreciated!! If nothing overtly comes to mind about similar problems I'll work on a sample capx to upload.

    Zebbi

    https://www.dropbox.com/s/awpiq55c31zrj ... .capx?dl=0

  • > rexrainbow

    >

    > I've been tinkering with this effect and it's really cool! I'm having some trouble getting object positions to track accordingly. I'm using rex's behaviors but I'm using a tiled background for the object ground. Will that impact the way the perspective behavior works? I currently have grass (as the tiled background) and houses (as sprites) but I can't get my houses to appear anywhere after setting up the camera sprite to the ground behavior's camera and the houses perspective behavior to the grass's ground behavior parameters. In the sample capx it looks like 0,0 (on the X and Y parameters of the perspective behavior) is the upper left hand corner of the canvas but I don't see anything populating there when I test things out.

    >

    > EDIT: I've also tried setting the logic positions to the sprites current x/y positions, which could be a mistake (as I'm not so confident with all the math), but I thought it was worth a shot. I also don't see them when I try that out.

    >

    It's been a while since I've use this but doesn't the math have to be inverted, or something?

    Hey thanks for the response! I tried discontinuing use of the behaviors and just inserting the math from R0j0hound's mode7_obj capx (copied and pasted the variables and equations to make sure I didn't make a mistake). I tried it "as is" (thinking the placement would't match up but I'd at least see the objects on screen...which did not happen) as well as with the numbers 'm using for the mode7 in the variables provided but I'm stlll having issues. Now I can get the houses placed, but their size is so small they are effectively invisible - I only know they are there because of other objects in a container with the houses. After about 5-10 seconds the other objects simply disappear, which leads me to believe the objects are being transported elsewhere (though I don't know how this could be the case) - or possibly since the houses are invisible their size is constantly shrinking and the container objects can't be pinned to them anymore? Objects that have a m7x and m7y of 0 are also seen flying across the map until they exit the layout. Any help getting this to work would be greatly appreciated!! If nothing overtly comes to mind about similar problems I'll work on a sample capx to upload.

  • rexrainbow

    I've been tinkering with this effect and it's really cool! I'm having some trouble getting object positions to track accordingly. I'm using rex's behaviors but I'm using a tiled background for the object ground. Will that impact the way the perspective behavior works? I currently have grass (as the tiled background) and houses (as sprites) but I can't get my houses to appear anywhere after setting up the camera sprite to the ground behavior's camera and the houses perspective behavior to the grass's ground behavior parameters. In the sample capx it looks like 0,0 (on the X and Y parameters of the perspective behavior) is the upper left hand corner of the canvas but I don't see anything populating there when I test things out.

    EDIT: I've also tried setting the logic positions to the sprites current x/y positions, which could be a mistake (as I'm not so confident with all the math), but I thought it was worth a shot. I also don't see them when I try that out.

  • hmm okay I'll try completely removing the driver and reinstalling from scratch and see if that works.Thanks for your time with this!

    EDIT: That didn't work either. I'm on a GTX 560, if that is at all helpful.

  • I had this issue when I was using nvidia. I still have this issue while using amd. My only work around is to turn off "force own texture" while working with those layers.

    Oddly, I don't have the issue with force own texture, so potentially that is a separate issue impacting AMD? Was that happening with the Nvidia card as well?