smumpy's Recent Forum Activity

  • Below is an example of the menu I was working on, again, it only somewhat works, this time though it is only barely working going back (Again, it should go 1,13,12,11,10,9,8,7,6,5,4,3,2,1 going back, however at the moment it is going 1,12,11,10,9,12,11,12,11,10,12,11,10,9,etc...)

  • maybe put a small invisible line attached/pinned to each box that acts as the point that floats. then just make it so that line cannot go past the water line, even if the box does, that way the bottom half would float and the top half would remain out, then add the same thing at the top to represent the line that they cannot go past upwards, this may give you more control over the amount of movement each box possesses. I mean essentially make invisible, more controllable, objects the things that "float" and set boundaries for their movement, then just pin the boxes to them. I also think that BadMario's suggestion could be combined with this one potentially, maybe? iunno just spitballin' here. If I combined them though I would make it so only the floating box objects and those related to it were affected by the invisible, immovable object under the water so it doesn't affect the player's physics.

  • tasminsimmonds lol you didn't even answer the question

    jaygummers this is just a basic search as I too am curious about this and would like to see you solve this but here are some helpful links that may help you get where you're going. P.S. please update once you have an answer to this question, again, I would love to know what you find out.

    (start with this one, apparently IAP is the way to go for in-game purchases for Construct)

    construct.net/en/make-games/manuals/construct-3/plugin-reference/mobile-iap

    (this seems to be a tutorial on implementing in-game purchases)

    youtube.com/watch

    (this doesn't seem related to Construct but may help you)

    2dkit.com/how-to-add-facebook-instant-games-in-app-purchases-with-2dkit-tutorial

    (this is also talking about IAP)

    help.gamesalad.com/gamesalad-cookbook/7-using-pro-features/7-03-adding-in-app-purchases-iap

  • Did you try using a global number variable? just set the global number variable, let's call it blah, to __ number based on the aforementioned conditions. so if ___ is whatever direction from ___ then set blah = 0 but if ___ is whatever direction from ___ then set blah = 1.

    Then furthermore, you would then set it so if blah = 0 spawn ___ but if blah = 1 spawn ___

  • If you head over to editor.construct.net and just search through the beginner's/intermediate/advanced examples sections there are plenty of tutorials on how to build a top-down view 2d game, beginning with making sprites and creating their animations and setting their controls to building the world around them. Also as you move through and have specific questions just try googling said specific questions because odds are there is a tutorial on the problem you are facing, and of course the forums. (literally on front page of Beginner's Examples there are two tutorials just for top-down view games, and you can also open the games they have on their Start Page section and play around and explore how they were created).

    With the pond I would create an object to represent the pond, an object to represent the waves, and an object(s) for fish. for the pond I would basically just make a blue splotch of water that had rippling/moving edges, youtube videos of ponds/lakes/rapids/etc... pick what you want it to look like and then just emulate those movements in the animations. So if you were doing a dead quiet pond it probably wouldn't move that much unless it had something influencing said movement (jetskis, boats, etc...)

    but if you were say doing an ocean for example then you would want to make the edges of the water spread out and then recede back in repeatedly over the beachfront.

    The rippling waves I would just make the object then literally paint the ripples spreading outward each cell so it appears they are moving out from the spots where the ripples are created toward the edges of the pond.

    then the fish (I mean this also depends on the type of behavior you want them to have, IE do they jump out or are they just visible under the surface? for instance) but I would just make it so they have a swimming animation which is their idle, then have a jumping animation for when the are "jumping" out of the pond.

    I would start with "How to animate objects in Construct" tutorials for most of that stuff, will help you understand how to utilize the editor immensely.

    And GIMP is a great free digital drawing software that you can use to create all this, specifically if you wanted to make it so you can see through the water (making it slightly transparent or opaque) GIMP can help you accomplish that.

  • So I have been developing a game for roughly the last two months and am nearing a finished product, however, I have hit a brick wall trying to implement a song selection menu.

    The Basis: my game is meant to play, die and play again, so I do not want the gameplay to get repetitive from the music getting old (especially considering the way the game is designed, certain levels take more time to get past)

    The Solution: My original problem was that my first idea to create a menu basically just sets one variable true and all others false and tells it what to go to if right arrow key is hit or left arrow key is hit (basically just forward and back) however, this worked occasionally but for the most part what I ran into was the process would jump past the desired variable and go to the end. Essentially because it would [on arrow key hit] go to next, go to next, go to next, etc... until the end as it would continuously set one the next variable to true onward through the list.

    The only solution I have seen posted to create a menu that A) can be navigated through with the keyboard/touch controls and B) is in a cyclical loop so that it always refers to the next and previous song on the list (essentially just something that tells the game which item is selected and what items will be selected if either arrow key is triggered) requires a "For" statement that interferes with the music playing.

    The Problem: The real problem lies in the fact that the only menu that seems to be possible to create in Construct relies on a "For each" statement. It relays two object's position to the console and determines what is selected based off its current position in relation to eachother. This leads to an issue though where every time the player cycles through the menu it plays the intended song, however, it repeats infinitely from the start (roll your tongue, it sounds like that) my theory is it is being interfered with by the "For Each" statement that the menu relies on causing it to select the song over and over repeatedly from the beginning

    (example of the code for the menu above)

    The way that the song selection actually works is I essentially just paired the song selection with said menu option and made the menu invisible. So using the same idea as before, if ___ is selected in the menu, then ____ song is activated (set songpic animation to ___ frame, set song__ variable to true, set song__ variable to false x2 (for both the song before and the song after))

    So basically, what I'm really wondering and hoping for here, is there a way to make a cyclical menu that one can control with the keyboard/touch input that doesn't rely on a "For" statement? I'm not sure how this would be accomplished as you assumably need the "For" statement to test the position of the marker to the menu item, and from what I have found, that is the only way to make a menu like this.

    P.S. section: I will mention, as I said above, the original solution did work occasionally, however, it was odd and hard to pinpoint what was working and what wasn't. But for the sake of trying to come up with solutions I will attempt to explain the best I can.

    On one attempt, I finished the menu by having 13 different songs to choose from, if you were on or otherwise (global variable) SongOne is true, then set SongTwo to false and SongThirteen to false, if on SongTwo is true then set SongOne and SongThree to false, if SongThree is true then set SongTwo and SongFour to false, so on so forth through the whole list so that the previous and next song would always be set false once you arrive on the selected song (this prevents overlay from the previous song). Then I simply set it so if the SongSelectionMenu (also global variable) menu is true (activated if you select it from the pause menu ((that section works fine))) then set SongOne to true.

    Now here's where it gets weird, first the menu worked perfectly as intended if you were to only go back through it (IE 1,13,12,11,10,9,8,7,6,5,4,3,2, and 1), however if you went forward on it it would always go back to 1, and more-so if you were on 1 it would always skip to 13 if you were to attempt to go forward one song.

    On another attempt, none of really worked (this was for a different menu but same concept in the problem I was facing) however, this time I set it so that it only activated the Song__ variable IF BOTH the other two variables were also false. That didn't really work, but then I started deleting different conditions in various patterns and undoing them until something worked, AND IT DID! somehow...

    I don't really get it but with a strange combination of If true AND also if ____(s) false conditions the menu went through three selections (out of four) correctly, for some reason the fourth was disabled. However I had a power outage and was neither able to save the work nor continue testing why that solution was working.

    So Hopefully maybe these last few notes can maybe get the ol' brain juices flowing for anyone looking to help me create a new way to make a menu in Construct, or hopefully maybe someone knows something I don't. I'm only a novice when it comes to programming.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So I was just wondering, if I have the personal license for Construct 3 and make and release a game, and then later let the license for Construct 3 lapse (or otherwise end my subscription) do I have to subsequently take my game down? Can I continue to generate revenue from it or is it only if the license is active (even if the game is already released)?

smumpy's avatar

smumpy

Member since 29 Aug, 2018

None one is following smumpy yet!

Trophy Case

  • 6-Year Club
  • Email Verified

Progress

7/44
How to earn trophies