AlexandrTheGreat's Recent Forum Activity

  • Ah, thanks for that! The Else option worked wonderfully.

  • Yeah, that's why I was trying to use the Geo Request, rather than the Geo Watch. I feel like pinging a Request every 10 seconds is probably better than constantly watching for location changes.

  • I setup a Menu Button that when clicked, it should toggle the menu layer Visible/Invisible. I thought it would be a relatively simple block, but apparently I've done something wrong.

    Menu Button - On Clicked

    ~[Sub] System - Layer 1 is not Visible > System - Set Layer 1 to Visible

    ~[Sub] System - Layer 1 is Visible > System - Set Layer 1 to Invisible

    What's going wrong? When I click it, it will turn the Menu layer on, but then it won't turn off. The only possibility I can think of, is that the Button itself doesn't persist between layers, even though it appears to and can apparently be clicked. :/

    Any solutions would be appreciate.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ah, so it requires a click to begin. Good to know.

  • Not sure if this is a bug, or I just did it wrong. Reluctant to post in the bug forum with all the rules there, and I could just have made a mistake.

    I've been messing around with Geolocation, and the Geolocation Request action will work with a button, but it apparently won't work 'On start of layout' for some reason. Logically, you should be able to start up the program and ping for Geolocation simply. I've even tried Compare Time (3 seconds) to try and get an initial Geolocation result, but no luck.

    Any suggestions or insight would be very helpful.

  • I'm interested in this too. I have a different game in mind to ultimately build, but I figure if I can rebuild PoGo I'll learn a lot about what needs to be done for mine. Any thoughts on getting an accurate Geolocation map?

  • I'm also interested in this.

  • This is less "How do I...?" and more "Why does this...?" as I have a working solution, but my curiosity got the better of me. I've recently returned to C2 after about a year, and started working on my old idea again. I ran into the same wall I did before and wanted to tinker a bit while I learn the program better.

    Before I took a break, I asked around for help on making a Smooth Grid Movement for a player controlled sprite, found in this post. On returning, I dug it up and was curious about other ways to get the same function and wondered about tweaking the 8 Directional Movement behavior as I found more recent tutorials on Bullet movement used as a Grid Movement.

    The first one is a Custom Movement function for the sprite that moves it in a 32x32 grid format, which works. However, I'm not 100% sure why it works and was thinking there might be a simpler way to achieve the same function.

    The second capx uses 8 Direction movement instead of Custom (simply switched out) and while it moves, it doesn't stick to the 32x32 grid, let alone transition smoothly from one square to the next.

    Smooth Grid Movement 1.capx

    Smooth Grid Movement 2.capx

    Needless to say, the 8 Direction version doesn't work properly and I'm curious *why* it doesn't work. If anyone can shed some light, I would appreciate it very much.

  • Apparently, Grid Movement is on the To-Do list to be added to the Behaviour options of Construct 2. No idea how long it will be until it's implemented, but eventually the Custom Movement section will become obsolete.

    Tarkion: Glad you like it!

  • Anything you feel like contributing, will be gratefully accepted and added to the list. Do you happen to know if using plugins counts as plagiarism if the end project is sold?

  • Glad it could be of help! If you find anything new that isn't covered here, by all means add it as well.

  • : I used this tutorial to create my HP bars. https://www.scirra.com/tutorials/449/cr ... -healthbar

    7Soul: That's really cool! I'm going to learn how you did that.

AlexandrTheGreat's avatar

AlexandrTheGreat

Member since 16 Feb, 2014

None one is following AlexandrTheGreat yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies