Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

A Few Tutorials !

Jason

Awesome Bro

How to make an MP3 Player!
Ok, this is my first real tutorial, so don't ask too many questions if I do something wrong...

This feature enables you to change the BGM, by using an MP3 Player !
And to make it better, you can use your own songs !

Ok...

Make an Item in the Database, call it MP3 Player or whatever suites your game.
Make it Call Common Event: MP3 Player

Go into the Common Event Tab, Leave the Trigger as None, and name the event MP3 Player

Insert a Message saying something like: You turn on the MP3 Player

Now make a Show Choices come on, with 4 Tabs, and name 3 of them with songs that you want on the playlist, mine are:
001-Battle01
012-Theme01
052-Negative01

and the 4th Tab is:
Turn off MP3 Player

Ok, For all the Handlers, just make them play the songs that you chose, for example...

If you chose it to play 001-Battle01, You make it play BGM: 001-Battle01.
It's the same principle with all the others.

On the Turn off MP3 Player, just make it Fade out BGM in 1 second (Lowest you can go)

***********IMPORTANT NOTE!!!!!*************
When you Turn off MP3 Player, It turns off the BGM that you had on before, so you will be left with no music, so I advise you to keep your MP3 Player turned on at all times, unless you can find away to Bypass this problem, If you do, please post. (I've already tried Memorise BGM, Doesn't work)

Ok, thats it, Sorry about this, But I don't know how to make it so yo ucan have more than 3 songs at a time, unless you plan to keep the MP3 Player on all the time and not have a Turn off MP3 Player, then you can have 4 songs.
I'll try to update this in another Tutorial, sorry if it was a little hard to follow.

You can download the Demo Here:
http://www.box.net/public/l92b2s8yla

Shapeshifter Items!
Ok, this is my second tutorial, I'm getting the hang of things now...

Go into your Database, And go to the Item tab.
Create an Item, call it Shapeshifting Potion or something to suite your game.
Give it an Icon and a Description.
Make sure it's Consumable too.

Ok, now thats made, Go into your Common Events tab (Don't you just love Common Events)

Make a new Event, name it: Shapeshifting Potion used.
Ok, make it come up with Show Choices, I'm using 2 for this Tutorial, but you can use as many as you like, Mine are Pig and Dog (Just use your imagination)

For the Handler, choose Move Event, Make sure it's on Hero, and Change Graphic to what your making it switch to, so for Pig, Graphic will turn into a Pig, and for Dog, Graphic will turn into a Dog.

Ok, on each one, Make it turn a Switch on called Potion Used.
Now, somewhere on the Map, make an Event, and Make the Precondition be Switch: Potion Used is ON
And on that, make it Parallel Process
Now, Put a Wait command, This will act for how long your Potion lasts, so it's completely up to you, I'm putting 100 Frames for this Tutorial, but yours can last any ammount of Frames.
After this, make it say a message like: The Potions effect wore off.
And make a Move Event, Make sure it's on Hero, and Change Graphic back to whatever your characters is, Example, if it's Arshes, you change it to 001-Fighter01.
Then you do a Switch Operation and make it turn Switch: Potion Used OFF

And thats it for this Tutorial, Feel free to ask about it, you can modify this so you can turn into more things or less things.

This idea would be great if you were making a stealth game, It could be a Disguise or something.

Download the Demo here:
http://www.box.net/public/t7ff34k98u

Stealth - Skill
Ok, Go to your Database, go to the Skills tab and make a new skill called Stealth.
Give it a description.

Ok, go to the Common Event tab.

Make an Event called Stealth.
Make it do a Move Event, make sure it's on player, and Change Opacity, For this Tutorial i'm using Opacity 10, But you can use whatever you wish.
Make it turn Switch: Stealth ON [ON] (Switch: [Stealth ON] = ON)

Now, Make an Event on your map, make it out of the way, and make it have Precondition of Switch: Stealth ON is [ON].
Make it wait 200 Frames (This is only for my Tutorial, make it last as long as you wish), Then make a Move Event, and make the Opacity back to 255.
After, Make it turn Switch Stealth ON [OFF]. (Still following?).

And thats it, Just go back to the Skills tab, and make the skill Stealth call Common Event: Stealth

And thats it. This is also another good Tutorial for a Stealth/Ninja type game, or just if you want a cool skill.

Download the Demo Here:
http://www.box.net/public/lyv9sfzpj4

On the Demo, Talk to the man to get the Skill, Only Arshes has the skill.
When you use the skill and become invisible, The man will be scared because he thinks theres someone there (Really its you, but he can't see you)

To do this:

Make an Event on the map, make the Graphic be a person, and make him give you the skill.
Make a new page on his/her Event, and make the Precondition be: Switch: Stealth ON is ON and make him/her say something like, Oh my God ! A Ghost !
And thats all there is to it, Feel free to comment and ask questions.


WTF, Who moved my Tutorials over here ?
 
Hmm.. nice! but I think it would be better if it had more options and not just four. And I think it was cooler if it was an event like a DJ system or somthing that you can choose what song to play and it plays it only for the house or room that the DJ system is (that can be easily done because to do that you only need to make some BGM to the next map and then it change that).
But good job anway! :D
 

Jason

Awesome Bro

Yeah I guess so, but you can expand the options to however many you like, at the moment i'm making a system where you can buy songs from shops and put them on your MP3 Player, should give it a little more excitement, I'll post the Tutorial in a few days or so.
 
Solution: In the choices dialog box, select Branch for when canceled. Leave the branch empty. This should make canceling exit the choices anyways. Tell me if it works.
 
A way to get past the limitation you mention, provided it's not just a simple mistake with the memorize BMG command, is this:

First make a txt file, which lists all the BGM's you plan to use, with a number for each of them. When you want to change the music on a map, you set a variable to be a number, the number next to the BGM you want in the txt file.

Now, on the "Turn MP3 player off" conditional branch, instead of stopping the BGM, put in a conditional branch that checks if the BGM variable is 1. If so, it can play the BGM in the txt file. Copy and paste this, changing the number and BGM for each paste command.

Of course, that may take about 5 or 6 minutes to do completely. But eventing takes time.

But there's a better way you could do this. Make a map of conditional branches. Make one, 4 choices. Soft music, Heavy Music, fast Music, Slow music. On soft music, put another choice event. Page 1, 2, 3, and 4. On each of those conditions, put a 3rd choice command, with the names of the songs. Then play the BGM you wanted. And ideally, you would also use lables to arrange it so that on the cancel key, it goes back up one menu.
 

Jason

Awesome Bro

Sorry it took so long to reply, I had to get rid of over 12,000 Trojans on my computer, lol.

Well i've tried those suggestions and they work, thanks.

Yay ! I win a medal !
 
If you're planning to make even more of these similar tutorial, perhaps it would be better if you'd just make one general topic for all the tutorials you wrote. It's much more organized, and it doesn't clutter the forum so much. ;)
 

Jason

Awesome Bro

I guess so, But I prefer to keep it this way, Don't know why, just do, and could you please tell me if this Tutorial has helped you in any way ?
 
Very nice...G4N Approved It's a lot like that ghost mode i once made... ah well.. Anyway, Good Tut nonetheless, it should help Newbies learn the mechanics... somehow...
 
Twar3Draconis;132369 said:
Appears that way. Don't tutorials require moderator permission?

I believe they dont want people complaining about having their tuts disaproaved because if you think of it anyone can call a bunch of info put together a tut -.- and if the mods were to have to judge tuts that might not be fair to some people. Basically this is like magazines showing badly drawn pictures (no offense), not everyone can make a really good tut so its good to appeal to the publics ability.
 
This is one of the worst "tutorials" I've ever seen. I don't mean it in a rude way. Try taking a look through the others that have been posted here.

The tutorial shows absolutely nothing. It seems that the goal is to teach about the transfer player command, but you don't talk about it at all. You just say "do this and this and there your done good job". This is pointless.
 
@jbrist: If you are going to make a simple tutorial, then you should clearly define the steps. If someone is using this tutorial, this person probably does not have a clear grasp of the event commands. I know that you have a demo available but I think that while some people would appreciate a demo, others would rather read a step-by-step explanation. If you are only going to upload a demo with a very brief explanation, then you should just upload this to the demos and event systems' section in the tutorials downloads' section.
 
I'm closing this as this isn't a proper tutorial.
If jbrist wants to change it and thinks the tutorial is good enough, he can PM me to reopen the thread.
 
A way I found to add onto the number of choices is to use the first three for choices, and the last one you label something like 'next'. In that one, you put another 'Show Choices', and then repeat. It works for me.
 

Jason

Awesome Bro

devonm0;139577 said:
A way I found to add onto the number of choices is to use the first three for choices, and the last one you label something like 'next'. In that one, you put another 'Show Choices', and then repeat. It works for me.

Yeah, I did that, But added it 2 mins after I posted the tutorial, and couldn't be bothered to change it.
 
This is really neat. You just tought us how to do ANYTHING by using a skill/item from the menu! OMG. Use "Village Burn Attack", changes to a Fire Fog and makes a few smoldering ash events appear. Mwaha!
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top