2DManiac's Recent Forum Activity

  • This is probably something that only the Construct Team will be able to help with. I would appreciate if Ashley or someone else from the team could give me some insight.

    I would like to use some of the Construct Game Services plugin's features on my app. The thing is that I have no interest in publishing my app on Construct Arcade at all.

    I'm making this app for my community and it's pretty basic. I spread pieces of codes around that the community can piece together, those that can figure out the codes put them in the app in a TextInput, if they get it right they'll be attributed a Score and show up in the Leaderboard. I was hoping to integrate a Discord login on too for a really nice seamless experience. That's it.

    Here's where the problem lies, this is for the community of my NFT collection.

    And the objective is for me to send the winners a unique NFT I personally made. But apparently can't do this even if I don't intend to publish the app on the Construct Arcade because it would fall under 18+, and it doesn't allow me to hit "Next" when creating the game. Which is pretty frustrating since I paid for the software and now can't use a feature, just because of the nature of my project, as it forces me to post the game on a platform that I don't even want to post on in the first place just to use a couple features that have no inherent necessity to be tied to the platform.

    - I guess here are a couple questions:

    1.Since the rewards are not directly attributed on the app, there's no gambling, there's no entry fee or payment of any kind in or out of the app, the reward is not monetary — the only thing about it is that it is an NFT — Can I mark it as something other than 18+?

    2.If not, could you at least change the way that Construct Arcade works, so that users whose game/app doesn't fall within the Everyone-Teen rating simply are not able to publish the game on the platform, but can still use the back-end features?

  • Hello! Here's my small contribution to the community.

    It's a card game Template similar to the style of games such as Slay the Spire.

    It allows you to draw cards, have them laid out on the bottom of the screen as if holding the cards, and play the selected card.

    A few details:

    - Game uses 2 arrays: Draw Pile and Hand. Cards are moved from one array to the other. Both UID of the card and a Card ID (that you can use to populate with your own card types) are stored on the arrays.

    - The state-machine for the card dragging might need some improvements.

    - You can setup certain Global variables in the objects GameManager and HandZone.

    Have fun!

    Link to Demo and Template:

    construct.net/en/free-online-games/basic-card-game-template-79065/play

  • Hey Ashley, thank you for the response!

    The idea is to avoid having the html file being stored locally on the instance, because the base HTML content isn't global to all instances (for instance, like a sprite's animation is), so making changes to one would force me to go and manually update the content of each single instance.

    Getting the html content directly from a file solves this issue. It also makes it easier to make quick edits to the content with code highlighting.

    The AJAX option worked (funnily enough I'm actually using the full document across multiple html elements without issues). It does have the limitation of only being able to access LastData, but there are workarounds.

    Even though the AJAX method does the job, having been relying heavily on the HTML Element object recently, I think it would be really useful to have an action that does this directly, mainly because it would allow us to take full advantage the built-in IDE when coding the html content.

  • Hello, what's the best way to load the entirety of an HTML file from the Files folder into an HTML Element, as opposed to having the content pasted inside the object on the layout.

    Can't seem to find a direct way of doing it.

    Cheers!

    Tagged:

  • You do not have permission to view this post

  • Thanks so much! I wasn't aware of this, it works perfectly!

  • How do I access project files through an HTML Element Object?

    I'm trying to create some icons in an HTML Element for a rich text editor that I'm integrating on my project. However I'm having trouble knowing how to access those files through html, or by getting the files URI.

    - Using the actions "Create sprite image element" and "Position object at element" is no good because the images don't look good when imported this way, and the user is able to drag the images around if they click them, which doesn't look very normal for what it's intended.

    Tagged:

  • Very cool, congrats! :)

  • Very cool Prince of Persia vibes.

    Still feels a bit clunky, but it's still fun.

    A few suggestions:

    - Maybe make the movement somewhat tile based, so it can be a bit more predictable. Like the Prince of Persia games. I couldn't grab to one of the ledges for a while because I wasn't pixel perfect aligned.

    - The smoke time-out doesn't feel very intuitive. It should only be safe to cross when the smoke is gone completely. Maybe adjust the timing there.

    Cool project though, keep it up!

  • Like this:

    I also made some adjustments to the demo which include this, and made some tweaks to some values, such as the pathfinding refresh rate. It was at every 0.02 seconds, but that appears to be pretty memory heavy so I changed it to 0.05.

    It also seems to work better with 4 directional movement.

    drive.google.com/file/d/1nDI-BU8huVVyZSzPvkEFd0nZLw6xFY-e/view

  • Adding this should help you achieve the effect:

    Also consider increasing the rotation speed so the characters quickly snap into the correct angle.

    As for the animations, all you need to do is check the angle of the Player/Enemy Controllers and apply the animation to the characters based on that.

    - For example, if Enemy_Controller angle is between 315 and 45, set Enemy animation to "Right".

    You can use the condition "Pick Children" to access the Graphic object belonging to the controller.

    - For example: Condition1 -> Enemy_Controller -> Pick Children -> Enemy.

    Condition2 -> Enemy_Controller angle is between 315 and 45

    Action: Enemy -> Set Animation to "Right"

    Since you used the Condition 1 to specifically pick the child of the Enemy_Controller, it will only change the animation if it's its own child.

    Same applies to the Player.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Do you need only the graphics to turn in 4 directions, or do you want to restrict the movement to only Up, Left, Right and Down?

2DManiac's avatar

2DManiac

Member since 20 Jan, 2009

Twitter
2DManiac has 2 followers

Trophy Case

  • 16-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

23/44
How to earn trophies