Buildbox Free - How To Make 2D Platformer Game [PART 1]
HTML-код
- Опубликовано: 14 окт 2024
- Welcome to updated version, how to make 2D platformer in Buildbox free software. In part 1, I'm showing important buttons, like camera mode, collision mode, character animations and movements. How to make UI's, how to add coins and enemies and much more.
Download Actor's BB ASSET file:
www.hanomaxgam...
Download BB DOC file: www.hanomaxgam...
Thanks to @ShawnIgnites for awesome animated logo with sound effects!
Buildbox forum: www.buildbox.c...
Join Buildbox official discord server: discordapp.com...
YES! I've been searching for a 2D platformer tutorial for Buildbox for days, thanks for making it.
yes me to
This is perfect for people like me who is a fast paced learner and don’t really need to hear the jibber jabber that programmers have and need!
Keep up the good work, I’ll for sure use your tutorials during my dev journey! Thanks
Except not hearing and learning the "jibber jabber" can restrict freedom and ability
very cool and instructive.
Thank you for the actor asset.
It would be cool if the reset for the jump would stop the jump animation as well, not just the movement.
salut, poti sa ma ajuti si pe mine de la min. 23:08 ?. din tutorial nu inteleg mai nimic ca se misca prea rpd :)
reusesc sa.l fac sa moara atunci cand da de inamic, dar daca apas stanga/dreapta reapare in idle in timp ce imi apare Game Over/Restart
unde gresesc?
the one thing i would recommend. you really skipped past the whole spawning new asset part. I had to freeze your video and go frame by frame to see what you were doing since you didn't explain this or even show it at all.
Yeah same
Exactly this
Awesome!! You rock. Just subscribed to your channel. Thank you!!
How did you copy that ground 6:54
Great Tutorial man. Love this.
Can i ask you where you got those packs of characters idle, jump, walk, run single by single
Thanks for making this, really helping me. Can you upload your own ground graphics, if the type of ground I want isn't there? If so, what setting do I need to apply? Thank you x
Big like from me,boy.Good job.Thank you very much,
after i jump the run animation is gone an i cant jump anymore
Bro at the coins process I made the same things that you did and then mine stands at 0, who in the whole world?Can somebody please explain?
same
when i zoom out ground floor its just dark even hide like shadow
sorry, but is there a website where one could find some characters to add into the game?
Please help I can only walk in the start scene and not in the first scene😑
amazing tutorial for beginners
My character's jump animation doesn't disappear after jumping. No matter if I turn left, right or stand still, the jump frame persists. Please help me
Make sure nodes are connected correctly.
@@HanomaxGames I think I have. Here it is: imgur.com/bLbN06O
Could you send bbdoc file, so I can take a look?
I checked it, and for me, it works correctly. Maybe some graphic card or settings problem?
@@HanomaxGames Alright, thanks for the help. Really appreciate it.
my character slides instead of walking. how can i fix it?
Hey man, tutorial is amazing, but when I made UI just like you my points are not counted on score board its always 0 when I pick up coin, what is the solution?
Hi, One Little problem. When the Character Jump alone without moving left or right, (Only Jump in the same location to same location), It is not changing Jumping appearance to idle action automatically. It is always needs to press left or right to change that jumping appearance to idle appearance. Could you please tell me how can I fix that thing?
Hello, we cannot see your "last 3 lines of code" in the Defeat Node Script Editor because you have your youtube end screen card promoting Part 2 is covering up the lines in the video. Can you place them here?
Thanks.
Thank you for letting me know! Fixed this.
Hi great video very helpful just have one problem when duplicating a scene for some reason when I test it everything don’t line up example the ground is higher then previous scene and I’m not sure how to fix any help would be much appreciated thank you
When I opened the preview when u said at 6:00 I could only see the character and it was very squished
Hello Hanomax ,do you know how to add other animation to the character for example a sword attack or a punch, kick etc
Can you tell me where is project settings in new version ? Please help me
your link are two zips file.. how can I drag them into buildbox? in the zip are so many files..
Thanks for the videos, as I'm starting in Buildbox, putting "COIN" in the scene is not shown in the Preview.
Tested with other 3D assets the same is not shown either.
2D asets yes. Thanks for listening.
Hey. Try different physic types. I experienced this weird thing, when I was making magnetic coin power-up.
@@HanomaxGames Thanks for your attention.
It would be possible to send an email from you to send the screen prints. indiegame2d@gmail.com. Thanks. Greetings from Brazil
Hey. Check also, where remove node is connected. I made a mistake earlier and connected delay and remove node to start node. But it must be connected to if collide node.
Thank you very much.... I learned so much from you.. 👍👍👍
i cant find the create game thing for some reason can you help me?
I can't import your bbasset in my scene plz help
maybe you didnt associate all bbdox files when you downloaded the engine
Thank you more 2d
Hello, I hope someone can help me
When I press the "pause button" in the game, the scenario music keeps playing, and when I quit the "pause screen" the scenario music starts over again. I want to stop the scenario music when I press the "Pause button" and when I resume the game I want that the music keeps playing right where it stops before the pause.
Someone has a tip??
Thanks
(i'm on BuildBox 2.3.3)
Hi! did you publish any games? I would love to play some of your games)
Haven't yet. One is almost ready.
Hanomax Games Nice) i am waiting for it)
For some reason when I go onto another platform I can no longer jump. Any ideas why this may happen?
It is actually not when I change platforms. But after I jump twice. How do you remove a jump 'amount' limit? If that's a thing.
Hey! I have a question. If i want to make a Charakter with selfmade animations, how much .png files i need for walking, idle or jump?
3
Jump is not working man
please help me
when i dragged your file that supports dual jump limit
and when i run the game after all
the character got the jump limit , but it stucked into jump animation
its not retaining the idle position when it touches the ground
your help will be great !
when i click on preview my character land really far down on the big desert ground erea and i cant fix it haha
Were do you download character png files?
I have a bug where when I am in test mode and I jump sometimes my character stays on the jump animation and when you walk it slides and when u press jump it does the animation but it doesn’t jump anyone know a fix?
Game over not coming while you touching the enemy1 please any solution
i love it
what chacetcer animation dowland?
the setting tab missiing what should i do?
Wagle Ki Duniya Sabme Best
It is a great tutorial, but it was really difficult to catch up from 23:30 to 23:40 cuz you made it pretty fast.. why?
if i put the actor png files in the animation and i go play and run to right the png file actor go left
Why do you have to speed up at the end
Tapping ground and then collision does nothing for me unfortunately :(. Nothing happens expect for the basketball image turn orange
Hey. Can you explain more, what issue you have?
Yes, so i followed your every step throughout the video, and when you select ground and tell to tap the collision icon top right and then drag it to select the whole screen, then for me tapping collision icon does nothing. I doesnt have an option to select the ground. And also when you first test how the game behaves, then your character doesnt fall through the ground but mine does. My ground is static and collision group platform, but my character still falls through the ground..
@@onetwothree7181 If you tap collision icon and nothing happens, try selection object in left panel, where are world, camera, sun and all scene objects. And when selecting ground there, you can siis "Start" under object name. This is start collision. If you click on that, collision shape is selected and you can change it's scale and position. And if you add if collide nodes inside node map, if collide collision shapes also appear there.
The asset is not working on my end only difference I see is, on my screen I get two options. CHARACTER or OBJECT it will not work in either.
Asset file contains only platformer brainbox nodes. You can make this asset with few clicks, check 4:45 in this video.
@@HanomaxGames I'm talking abou the fix you did for controlling how many jumps you can perform. The fix asset is not working.
I don't have those animation files bro
uhm when i press preview is just stuck on a screen that says "Built on Buildbox"
oh nvm
Please I need help. I want to make my character move automatically and jump in response to touch. Can you help me or guide me on how to do that.
Have you found out already
hey, can you make a tutorial on how to spawn 3d enemies and make them shoot the player?
I will write down your request.
@@HanomaxGames Thanks!
if we don't change animation and images then is there copy right issue on playstore?
Animations might be copyrighted. It came with buildbox subscription few years ago.
I have more animations for my character.. Slide and fighting.. How can I add more animation?
My guess would be adding state machine node between platformer and animation nodes. And sliding and fighting UI buttons connect with state machine and those with animation nodes.
It works... I felt so happy, I wanted cry :)... Although I think I made it too complicated with the nodes...I'm sure it's not the professional way.... But it worked anyway.... You've been very helpful, I appreciate it... Thanks
Tnx bro
where is my man at?
Your sound feels like text to Speech program
hi can you send me the finished version of the project?
hey man, i can't download your 'Actor', how could i make my character jump only twice?
var _state = 0; //0 - idle, 1 - move right, 2 - move left
var _scale;
var _physics;
var _moveSpeed = 1;
var _jumpForce = 1;
var _jump = false;
let _jumpCount = 0;
var _moveLeft = false;
var _moveRight = false;
var _side = -1;
var _grounded = false;
function init(){
this.setState(0);
_scale = this.entity().scale();
_physics = this.entity().physics();
_moveSpeed = this.attribute('Move Speed');
_jumpForce = this.attribute('Jump Force');
_jumpLimit = this.attribute('Jump Limit');
if(_physics.type() !== 'kDynamic'){
warning('Platformer Brainbox required to have Dynamic Phsyics attribute enabled.');
_physics.setPhysics(true);
_physics.setType('kDynamic');
}
_physics.setLinearFactor(1,1,0);
_physics.setAngularFactor(0,0,0);
}
function start(){
}
function update(dt){
let vel = _physics.linearVelocity();
if(_moveLeft){
_physics.setLinearVelocity( -_moveSpeed*4, vel.y, vel.z);
}
if(_moveRight){
_physics.setLinearVelocity( _moveSpeed*4, vel.y, vel.z);
}
if(!_moveLeft && !_moveRight){
_physics.setLinearVelocity( vel.x * 0.9, vel.y, vel.z);
}
}
function signal(name, value){
if(name == 'Left'){
if(value){
this.setState( 1 );
}
_moveLeft = value;
}
else if (name == 'Right'){
if(value){
this.setState( 2 );
}
_moveRight = value;
}
else if (name == 'Jump' && value){
this.setState( 3 );
}
else if (name == 'Grounded'){
_grounded = value;
if(_grounded && _jump){
_jumpCount = 0;
_jump = false;
if(_moveLeft){
this.setState(1);
}
else if(_moveRight){
this.setState(2);
}
else{
this.setState(0);
}
}
}
if(name != 'Grounded' && value == false && !_jump){
this.setState( 0 );
}
}
component.setState = function ( value ){
_state = value;
switch(_state) {
case 0: // IDLE
this.emitSignal('Jmp', false);
this.emitSignal('Run', false);
this.emitSignal('Idle', true);
break;
case 1: //MOVE LEFT
_side = -1;
if(!_jump){
this.emitSignal('Jmp', false);
this.emitSignal('Run', true);
this.emitSignal('Idle', false);
}
this.entity().setScale(_scale.x*-_side, _scale.y, _scale.z);
break;
case 2: // MOVE RIGHT
_side = 1;
if(!_jump){
this.emitSignal('Jmp', false);
this.emitSignal('Run', true);
this.emitSignal('Idle', false);
}
this.entity().setScale(_scale.x*-_side, _scale.y, _scale.z);
break;
case 3:
this.emitSignal('Jmp', true);
this.emitSignal('Run', false);
this.emitSignal('Idle', false);
_jump = true;
if(_jumpLimit == 0 || _jumpCount < _jumpLimit){
let vel = _physics.linearVelocity();
_physics.setLinearVelocity( vel.x, _jumpForce*10, vel.z);
_jumpCount++;
}
default:
}
}
Replace platerformer node code with this. And add "Jump Limit" number attribute.
@@HanomaxGames do I have to delete the old code and insert the code you sent it?
Sorry but i use Buildbox for the first time!
@@daniclaudiu4480 yes, delete old code and paste this code.
it's lots difference when i using buildbox 2.0 crack version, well thankyou for making this tutorial, that helpful alot
Buildbox 2 is older version. Buildbox Free is Buildbox 3, and you can use it for free. No cracks and other hacks needed.
Hello Hanomax,great video. when the animation of the character change for other ones instead of the default animation,
doesnt not work fine,when the character change direction for left or right very fast get stuck on idle animation doesn not change the right left animation or left when is a very fast flip.do you know what that happens?
If changing direction very fast, code in platformer node can't keep up.
@@HanomaxGames yes, but the platformer node ,by default work fine,(brainbox platformer) the problem start to happen when replace the animation of the characther by default and put other ones then the issue start to happens so maybe is not problem with the node.
@@peter-lm8ld Oh okay. That's weird. Maybe PNG sequence have some issues. At the moment, I have no idea.
@@HanomaxGames thanks a lot for answer hanomax , is true is a little weird the png images the i replace are the same that came when i buy buildbox the first time ,the ultime art pack .¡good luck with your games!
Is this TTS
When I downloaded the bb asset file it downloaded as a normal file and I can't transport it to Buildbox. Any ideas?
You can add bbasset files by drag and drop method. Open your world in Buildbox and select downloaded file in your folder and drag to the scene.
@@HanomaxGames It didn't download as a bbasset file though. it came as a zipped file folder. I'm sure that I'm missing something obvious
@@garylangley6532 file extension is .zip or file icon just looks like zip file?
@@HanomaxGames It says the file type is a compressed (zipped)folder. It won't let me change it
@@garylangley6532 When you try to drag and drop this file to your scene, it doesn't let you or shows some error message?
Hey, how can I make the character go faster over time?
With platformer node, you cannot without coding.
If you need to move only into one direction, you can use regular move node and there you can increase speed over time.
How do i make the ground part come out at an even level ??
What do you mean exactly?
How did you delete 3D world to 2D world
How to copy and paste the groung from scene 1 to scene 2 ?
Select your ground on scene 1, press Ctrl + C, go to scene 2 and press Ctrl + V
@@HanomaxGames thx +1
How to delete the 3d world, please somebody tell me
hi how do i delete a world?
I DONT HAVE A SETTINGS BUTTON HELLLLPPPPP
Hello! 23:08 if i have die animation how i do?
Just like in video. What I meant by not having dying animation is that I used jumping animation instead.
@@HanomaxGames ok, ty Bro!
please complete this series all things show which need ij a game thank s
Part 2 is coming soon!
New update won’t let me use the files
What new update? What does it say, when you open file?
If it says: "The game was created with a different version of Buildbox. Some features may not be available in this version of Buildbox", then just clik OK.
Hanomax Games yeah nvm I got it to work
how can i get the png run animation images
You need png sequence. For example : run1.png, run2.png, run3.png etc. Select them all and drag into animation node
anyone eles having problems with adblocker ?
i cant downlod ssets
how to add coin pickup sound and jump sound
With sound nodes. Connect sound node with jump node.
And for coin, go to coin nodemap, and connect sound node with if collide node.
@@HanomaxGames I tried but still not working
I wanna make a game because its my dream and my parents would be proud😁
I cant find the settings
Me too lol
Pls help Me I can’t collect coins. Pls help
this would have been great with a real person. PS. I am so sorry if you are real. To grow up with that voice must have been hell.
I just want to make a demo game first
Bro how you have deleted 2d world
Hey. Just hit delete key on keyboard, to delete.
this guy is not telling the truth because you dont code in buildbox it is a drag and drop game builder.
*me crys in chromebook*
Aww 🙁
@@HanomaxGames :(
recogeme papi
It’s impressive but I am not going to buy any subscription until I can publish to the PlayStation store using my subscription
AI LOV IIIU
but you need pro
:(
I hate the voice over