Page 2 of 3

Re: Super Stick Brawl demo

PostPosted: Mon Jun 18, 2018 7:24 am
by Kcee
Okay, another quick question: How do I make an actor follow another actor on a particular spot?

Re: Super Stick Brawl demo

PostPosted: Sat Jun 30, 2018 12:59 am
by Kcee
I found out that making the actor a parent to the other actor would do the trick.

Re: Super Stick Brawl demo

PostPosted: Wed Aug 08, 2018 11:17 am
by Ehman
Kcee wrote:... Sometimes when I look at my progress, I feel forced to give up on the game. It just seems impossible to complete. I am still amazed at how Bee-Ant...

You are not the only one Kcee, well this game isn't bad; keep it up, GOD is your Strength

Re: Super Stick Brawl demo

PostPosted: Sat Aug 11, 2018 6:17 pm
by Kcee
Thanks bro!

Re: Super Stick Brawl demo

PostPosted: Sat Aug 11, 2018 6:19 pm
by Kcee
I've actually dragged my lazy body and gotten to work. I'm currently working on the menu and it's pretty amazing.

Re: Super Stick Brawl demo

PostPosted: Sat Aug 11, 2018 6:32 pm
by Ehman
that's nice kcee

Re: Super Stick Brawl demo

PostPosted: Mon Aug 13, 2018 7:44 pm
by Kcee
How long can you guys wait for this game? 'Cause I'm not sure It's getting released any time soon.

Re: Super Stick Brawl demo

PostPosted: Mon Aug 13, 2018 9:05 pm
by Ehman
As for me Anytime

Re: Super Stick Brawl demo

PostPosted: Mon Aug 27, 2018 8:03 pm
by Ehman
lcl wrote:
Kcee wrote:Can someone help me out with this?
At the beginning of the game, the player types in his name and later on in the game, an NPC would talk to the player and I want him to mention the player's name.

Create a new string variable, then use sscanf() to read the contents of the text box (if you don't know how to make a text actor into a text input actor, all you have to do is to select "Yes" on the "Text Input" option in the "Text" panel of the actor).

sscanf() stands for:
  • string
  • scan
  • format

What it does is that it reads data from a string. You give it the format it uses for finding the data, and then you give it pointers to the variables you want it to store the data to. The formatting works just like the formatting on sprintf(), if you're familiar with that. Here's an example to get you started:
Code: Select all
// The first argument "text" defines what string you want to scan.
// We want to scan the contents of the text box actor's text,
// so if we are in an event of that actor, that would be "text"
// (which is equal to "myTextInputActor.text", if that's the name of the actor).
// The second argument is the formatting used for reading.
// As we only want to read a string from the text, the formatting is simply "%s",
// which stands for string.
// The third argument is the pointer (i.e. the memory address) to the string where
// we want to store the result of the scan. As we want to read it to our variable, just
// input the name of the variable, preceded by "&", which is the "address-of" operator.
sscanf(text, "%s", &myName);

The lines that begin with "//" are comments, not code. The code alone without the comments is:
Code: Select all
sscanf(text, "%s", &myName);


Hope this helps! If you have trouble understanding it or using it, just ask and I'll explain it to you. :)


I don't seem to get this, maybe you should help me post a demo pleease ..

Re: Super Stick Brawl demo

PostPosted: Tue Aug 28, 2018 1:18 pm
by lcl
What part of it you don't get?

Re: Super Stick Brawl demo

PostPosted: Tue Aug 28, 2018 9:53 pm
by Ehman
I don't get the " &myName " is it the string variable name?

Re: Super Stick Brawl demo

PostPosted: Sun Sep 02, 2018 6:19 pm
by Kcee
custom_menu - Copy.png

Re: Super Stick Brawl demo

PostPosted: Mon Sep 03, 2018 6:32 am
by Ehman
Use this code.
on the actor Red (-)+ Mouse button down script -> SE
Code: Select all
 whitebox.r (-=)+= 5;

the same for Green and blue.

For the actor you wanna change the color just do this:
in a draw actor script->SE
Code: Select all
Menu_Border.r=whitebox.r;
Menu_Border.g=whitebox.g;
Menu_Border.b=whitebox.b;

if there is any text actor on the border
just invert the color like this:
Code: Select all
 textactor.r=whitebox.r*-1; // I don't know if this can work. Also for green and blue


I hope this helps.
As for the brightness, Edit: I have an idea Brightness changes when rbg changes altogether
So, in a 'mouse button down' script (for brightness ± actor) -> Script Editor;
Code: Select all
whitebox.r±=5;
 whitebox.g±=5;
   whitebox.b±=5;

Re: Super Stick Brawl demo

PostPosted: Thu Sep 06, 2018 7:14 pm
by Kcee
How the game's gonna be once I'm done.

Re: Super Stick Brawl demo

PostPosted: Thu Sep 06, 2018 11:15 pm
by Ehman
Is the car ride able or just a scenario? :D