mOOnpunk's Recent Forum Activity

  • Fairly new to using Json.

    If the value of a key is a string then it needs quotation marks, but how do you put quotes inside the string so the quotes are displayed with the text?

    I've tried a double "" "" but the editor doesn't like it. I tried various combinations of \ as well. I know C3 doesn't strictly follow the normal Json syntax in some cases.

    The manual doesn't specify and i can't find and results with search.

    Thanks.

  • You could set a timer to start when the music begins, then when it hits the right time change the image.

  • Dividing by zero also returns a NaN, i think.

  • This thread got me thinking, i only had 20 mins so its a bit rough, but heres a quick example.

    https://www.dropbox.com/s/fuitqh8s1h37mnz/reigns.c3p?raw=1

    To make a new card just duplicate it and change it properties accordingly.

    Each card will effect the kingdoms variables in a different way depending on the cards settings.

    The chance of a card being picked is based on the post above, but i used weights instead of size, and a list instead of a bag.

    I didn't have time to include a death, but you just need to test if any variable reaches x amount.

    Also it could be coded a lot better with functions etc.

  • Reigns shouldn't be that hard to make.

    The difficulty will be your lack of familiarity with C3.

    There is an interesting interview with the devs here on how it was designed.

    https://www.gamasutra.com/view/news/283967/Game_Design_Deep_Dive_Creating_an_adaptive_narrative_in_Reigns.php

    The random events are produced with the following logic;

    Imagine a bag with the interesting ability to expand and shrink in order to fit the contents you put in it. By default, that bag contains all the cards available in the game. When I’m about to select the next card shown to the player, I start by removing from the bag every card that doesn’t fit the state of the Kingdom.

    I have many variations of this, but for example, if a range of cards are related to the presence of a queen but you’re not married yet, I remove those. If a card is only triggered if the church is strong but you have a weak church, I remove it too. I also remove all the cards that have been played too recently.

    This creates a bag of cards that’s very different each time each time the player is about to see a new card. The final touch is to associate every remaining card in the bag with a size. The « larger » the card, the more space it will occupy in the bag.

    You end up with a bag of mixed cards, large ones that take a lot of space and smaller ones. I then select one card randomly from the bag and display it to the player.

    The fact that some cards are larger than others creates interesting possibilities. The probability a larger card ends up being the one that is selected is greater than the probability of a smaller one. But if the larger cards are not in the bag because they have been removed at the previous step, the overall probability of the smaller cards to be picked up increase a lot.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • rexrainbows SLG movement plugin was designed to do this. It has been converted to C3, along with examples. Not sure where it is hosted now.

  • The suggestions repository is ironically where suggestions now go to die.

    I gave up on it a long time ago, haven't even looked in many months because its such a hassle only having a few votes.

    Its pointless posting suggestions as well because i think most other people have given up too, especially when they've used their votes.

    Votes don't seem to count towards anything anyway. They implement what ever they want regardless of vote count or the popularity of a suggestion.

  • Yeah, if it's a joke i think it will end up back firing on them. Strange thing to joke about a feature people want.

  • I do appreciate that you are disabling them for the subscribers, and i intend to subscribe again when i have enough free time to make it worth the price.

  • All artwork is converted into pixel art by the C3 engine (i think PNG), so it doesn't matter if you import vector or pixel art.

mOOnpunk's avatar

mOOnpunk

Early Adopter

Member since 29 Mar, 2017

Twitter
mOOnpunk has 8 followers

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

19/44
How to earn trophies