mindfaQ's Recent Forum Activity

  • Vati-nyan: you are welcome to look over it <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    I was busy these days, but now could find spare time to add some new stuff:

    version: 0.4; current number of events: 68 (only 32 spare till we would exceed the free version limits)

    https://copy.com/WE2HmSkZoyJ9MaBz

    you can try out the current state at:

    http://strategy-investor.de/mgz10/vnengine/

    (if you tried it out before and no menu buttons at the bottom appear, try refreshing with F5; some menu buttons do nothing for now btw)

    what's new?

    • fade in and fade out for images
    • history
    • hide the bottom text box

    Thinking about automatically adding a short, default crossfade for images. I will try to add it, after I'm done with the rest of basic features that still need to be added:

    • main menu
    • save / load

    optional:

    • skip
    • auto play
    • options menu

    edit:

    0.4b: https://copy.com/zCIHGcVo4E1JKbUp

    added a fadeout on the edges in the history screen for the looks

  • this is how I would do it

  • It doesn't work like this.

    Instead do:

    choose(1,2,3)

    if 1: set var 1 = true

    else if 2: set var 2 = true

    else if 3: set var 3 = true

    and since thats not really practical, it makes more sense to program it another way, maybe like this:

    every x seconds: attacktype = choose(1,2,3)

    if attacktype (not equal) 0:

    • if attacktype 1: do attack 1
    • else if attacktype 2: do attack 2
    • else if attacktype 3: do attack 3
    • : set attacktype = 0

    (ofc you can also use strings instead of 1, 2, 3, ...)

  • For monopoly decisions for a big part are influences by:

    • which turn it is (early turns -> some fields like the public transportation have higher priority, you tend to save up a bit of money towards the end of the course, so that you could buy more expensive streets, but not always... stuff like this)
    • which streets the AI owns (trying to complete a series, if possible)
    • which streets enemies own (if enemy has a street of the series already you have the choice of either sabotaging by buying it or leaving it, because you can't make a profit out of it; which you chose kinda also depends on the money and board influence you have and how well situated the enemy is)
    • total money available / board influence
    • small influence: where players on the field could roll in the next 1-2 turns (short term profit)

    You can probably formulate a rough estimation on the value of a move / estimated profit in midterm - so to say put a number on it. And then chose the better alternative most of the times, or all of the times depending on difficulty and numerical difference between the choices.

    Giving the AI clues when to sell/try to buy streets is probably the hardest to do, because that's side stuff where negotiation with the player can come in...

  • remember that -90° means up in construct2

    or 270°

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • http://www.piskelapp.com

    You could try this online editor, if you want to create something simple.

  • new version is 0.3; current number of events: 52

    https://copy.com/f0bvviAvgOE9fiAO

    you can try out the current state at:

    http://strategy-investor.de/mgz10/vnengine/

    what's new?

    • image
    • move
    • set (re/set values of decisions)
    • macro / runmacro (define script snippets that can be reused)

    Some finetuning is needed for the music (thinking about fade out and need to detect if the same piece is already playing, and if it is, it should just continue playing).

    Not sure if positional play is needed for sfx.

    Next things I will be working on:

    • fade out/in for images
    • save / load
    • main menu
    • text history
  • Or:

    on touch start & touching object: start timer once tag "delay" for 3.0 seconds

    on touch end: stop timer tag "delay"

    on timer "delay": do actions

    might not detect when the touch leaves the object though, so might need an additional:

    is not touching object button: stop timer tag "delay"

  • I added new functions:

    https://copy.com/CounHpDqNPCRRyoc

    version 0.2; current number of events: 32

    newly added functions:

    • character
    • background
    • text
    • choice (just noticed a bug there)
    • require
    • goto

    I put in image and move placeholder functions, so the example script pretty much plays through now, just without character images.

  • depends on whether you have always the same format or if your system has to work with different formats

    if its always mm:ss, you could for example just calculate

    int(tokenat("4:00", 0, ":"))*60+int(tokenat("4:00", 1, ":"))

  • Very interesting, cool stuff. Performance is my main gripe with Construct 2, too.

  • rexrainbow: yeah your plugins rock. Still I would like to try it with just the standard stuff of Construct 2. Btw is there a way to evaluate with variable names. Your plugin seems to be able to do evaluation, but can I work it in without it? I know there is the javascript execute of the browser object, but how would I use variables from construct there?

    Ofris: one can't expect a fully capable engine in 100 events, but it might work as basis one could expand, yeah. With RenPy there is already a good and simple to use open source VN engine that people can use, so this is just a for-fun project and maybe a few people will find it interesting or educational.

    I started scripting:

    https://copy.com/RXvmGj2ghnW4AO9J

    version 0.1b; number of events: 10

    done so far:

    • reading the script
    • exection of functions

    and added the most simple to implement functions:

    • sound
    • music
    • wait (added this, can't hurt)

    I adjusted the script (fixed a typo) and added the newly added functions at the start so you can see (or rather hear) them in action.

mindfaQ's avatar

mindfaQ

Member since 12 Oct, 2013

None one is following mindfaQ yet!

Trophy Case

  • 11-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

13/44
How to earn trophies