Stencyl 3.4.0 is now out. Get it now!

Space Pirate (Feb 2017 demo available)

aeklad

  • Posts: 20
Darn this game is amazing!  Great look, great sound, great feel,  It has a very nostalgic, gooey, tactile feel that early 32 bit games had .   You've put a lot of quality work into this and it shows.

Bombini

  • *
  • Posts: 723
Thanks aeklad!
I appreciate it  :)

Current status is that we are working on the levels:

Bombini

  • *
  • Posts: 723
New communication system is in (actors you talk to are insivible in this example):


Bombini

  • *
  • Posts: 723
I advanced the system quite a bit.

It is easy to configure now and supports:
  • Changes actors in level and portrait depending on who is speaking
  • Multiple different characters (the pink dot is Josea for example)
  • Audiolog, dialogue or radio signal (when not face to face)


Bombini

  • *
  • Posts: 723
I advanced the system to its almost final state.
I have now multiple characters involved in one conversation (change in motion state and dialogue popup).
On the right you see the advanced upgrade terminal:


merrak

  • *
  • Posts: 1241
Dialogue system looks good so far!

fillergames

  • Posts: 607
Will there ever be a chance for the text to scroll an draw in real-time? As that's isn't as hard as some think is to make.

Otherwise, it looks pretty nice.

...

Bombini

  • *
  • Posts: 723
Thanks!
I would have to research how to do that because i have no clue ;)
But it would be nice!

fillergames

  • Posts: 607
I can help, if needed, as I have a game that does the text scrolling thing.

It involves:

  • A game attribute (list or text) to store text
  • Another game attribute to store what position the text is currently in (X-axis), and another for what row of text it belongs in.

Basically, it stores text through a game attribute, and then draws the characters on screen from the start of the text, to the current character it has reached.



The NPCs can probably use a bool-based function to change the text every couple seconds (contact with an NPC could set a variable like "able to speak" to true), when that bool goes true, it increases character in text drawn, then sets to false, and then when it goes false, after a bit (maybe 0.16 seconds), it goes true and repeats.

But. If character in text drawn reaches the length of the text string, it stops the recursive code, and lets you talk to the NPC again.

Now, here's a snippet of code that tells the game how to lower the Y axis of drawn text: (note the censored bool was a test variable to see if it worked right)



This works that if the text has gotten too long, it saves the current location of character in text drawn, and uses that to continue another row of text to draw from the start of the saved location, to the character in text drawn, it simply just lowers the Y-position and keeps drawing more.

And note, I have a simple check to see if the text is going to run into blank space on the next row, it simply removes the space, and draws without it. Causing the line to not look misaligned compared to the one above. You could probably also use some sort of internal scripting to determine when the lines should move down manually, but that's out of my skill range for coding.
...