Super Stick Brawl demo

Post here your demos and examples with the source files.
Forum rules
Always post the games with a screenshot.
The file must have the ged and data files (complete game source)
Use the forum attachment to post the files.
It is always better to use the first post to put the game files

Re: Super Stick Brawl demo

Postby Kcee » Mon Jun 18, 2018 7:24 am

Okay, another quick question: How do I make an actor follow another actor on a particular spot?
Currently working on: Super Stick Brawl.
User avatar
Kcee
 
Posts: 265
Joined: Tue Feb 14, 2017 5:40 pm
Location: Dimension GE
Score: 13 Give a positive score

Re: Super Stick Brawl demo

Postby Kcee » Sat Jun 30, 2018 12:59 am

I found out that making the actor a parent to the other actor would do the trick.
Currently working on: Super Stick Brawl.
User avatar
Kcee
 
Posts: 265
Joined: Tue Feb 14, 2017 5:40 pm
Location: Dimension GE
Score: 13 Give a positive score

Re: Super Stick Brawl demo

Postby Ehman » Wed Aug 08, 2018 11:17 am

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
User avatar
Ehman
 
Posts: 186
Joined: Wed Apr 18, 2018 7:56 pm
Location: MonsteRealm
Score: 1 Give a positive score

Re: Super Stick Brawl demo

Postby Kcee » Sat Aug 11, 2018 6:17 pm

Thanks bro!
Currently working on: Super Stick Brawl.
User avatar
Kcee
 
Posts: 265
Joined: Tue Feb 14, 2017 5:40 pm
Location: Dimension GE
Score: 13 Give a positive score

Re: Super Stick Brawl demo

Postby Kcee » Sat Aug 11, 2018 6:19 pm

I've actually dragged my lazy body and gotten to work. I'm currently working on the menu and it's pretty amazing.
Currently working on: Super Stick Brawl.
User avatar
Kcee
 
Posts: 265
Joined: Tue Feb 14, 2017 5:40 pm
Location: Dimension GE
Score: 13 Give a positive score

Re: Super Stick Brawl demo

Postby Ehman » Sat Aug 11, 2018 6:32 pm

that's nice kcee
User avatar
Ehman
 
Posts: 186
Joined: Wed Apr 18, 2018 7:56 pm
Location: MonsteRealm
Score: 1 Give a positive score

Re: Super Stick Brawl demo

Postby Kcee » Mon Aug 13, 2018 7:44 pm

How long can you guys wait for this game? 'Cause I'm not sure It's getting released any time soon.
Currently working on: Super Stick Brawl.
User avatar
Kcee
 
Posts: 265
Joined: Tue Feb 14, 2017 5:40 pm
Location: Dimension GE
Score: 13 Give a positive score

Re: Super Stick Brawl demo

Postby Ehman » Mon Aug 13, 2018 9:05 pm

As for me Anytime
User avatar
Ehman
 
Posts: 186
Joined: Wed Apr 18, 2018 7:56 pm
Location: MonsteRealm
Score: 1 Give a positive score

Re: Super Stick Brawl demo

Postby Ehman » Mon Aug 27, 2018 8:03 pm

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 ..
User avatar
Ehman
 
Posts: 186
Joined: Wed Apr 18, 2018 7:56 pm
Location: MonsteRealm
Score: 1 Give a positive score

Re: Super Stick Brawl demo

Postby lcl » Tue Aug 28, 2018 1:18 pm

What part of it you don't get?
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Super Stick Brawl demo

Postby Ehman » Tue Aug 28, 2018 9:53 pm

I don't get the " &myName " is it the string variable name?
User avatar
Ehman
 
Posts: 186
Joined: Wed Apr 18, 2018 7:56 pm
Location: MonsteRealm
Score: 1 Give a positive score

Re: Super Stick Brawl demo

Postby Kcee » Sun Sep 02, 2018 6:19 pm

custom_menu - Copy.png
Currently working on: Super Stick Brawl.
User avatar
Kcee
 
Posts: 265
Joined: Tue Feb 14, 2017 5:40 pm
Location: Dimension GE
Score: 13 Give a positive score

Re: Super Stick Brawl demo

Postby Ehman » Mon Sep 03, 2018 6:32 am

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;
User avatar
Ehman
 
Posts: 186
Joined: Wed Apr 18, 2018 7:56 pm
Location: MonsteRealm
Score: 1 Give a positive score

Re: Super Stick Brawl demo

Postby Kcee » Thu Sep 06, 2018 7:14 pm

How the game's gonna be once I'm done.
Attachments
ssb_screenshot.png
Currently working on: Super Stick Brawl.
User avatar
Kcee
 
Posts: 265
Joined: Tue Feb 14, 2017 5:40 pm
Location: Dimension GE
Score: 13 Give a positive score

Re: Super Stick Brawl demo

Postby Ehman » Thu Sep 06, 2018 11:15 pm

Is the car ride able or just a scenario? :D
User avatar
Ehman
 
Posts: 186
Joined: Wed Apr 18, 2018 7:56 pm
Location: MonsteRealm
Score: 1 Give a positive score

PreviousNext

Return to Game Demos

Who is online

Users browsing this forum: No registered users and 1 guest

cron