Hi Wulfy88, great tutorial, but I am stuck with an error message I would really appreciate it if you could suggest a solution. "Paramater for 'SPRITE' do not match 'Sprite number Xpos Ypos image number at line 29' What does that mean? Line 29 is as follows: Sprite platformID(i), platform1_X(i), platfrom1_Y(i), platformID(i)
Hi again, a few hours of pulling my hair out and I got it to work with the following in the main game loop: Sprite platformID(i), 10, 100, platformID(i) Sprite platformID(1), 70, 240, platformID(1) Sprite platformID(2), 120, 340, platformID(2)
This makes a kind of stairs for my character to jump on. The only problem is that he sticks to the bottom of the steps with his head, lol. funny though. I needed a laugh after all that stress.
Might as well have just uploaded the code in a text doc/put it in description, because this isn't really a tutorial, it's just code with a bunch of comments.
@superant10000 lol, there are actually no comments in this video with in the code. There are, however, paragraphs upon paragraphs of detailed explanations for the code written for this video. I know it may seem boring with no audio, but that is just too bad.
@wulfy88 I wrote more than this on my theory test... And it was multiple choice.
All I'm saying is that this video is just code with comments (or as you might call it, paragraphs of detailed explanation).
Uploading the annotated code would be much more useful for this video, because all you've done really is just told people to paste a load of code into DarkBasic and compile it, a video just slows that process down sevenfold.
@superant10000 hmm... I see it differently. but that is just me. :) I don not make these tutorials anymore. so, that doesn't concern me anymore. Thank you for your opinion though.
@ManiacChees18 I would use voice if I had a working Mic and a way to record it and actually play correctly in my Editing program. but until then there will be no voice =].
GREAT tutorial! I created some sprites & got it working. Thank you so much for this! Now all I have to do is work on fixing the collision and smoothing out the animation.
Well see i wanna make a game and i thought it'd be hard but not that hard but i did NOT understand a f***ing thing you just said.... Sorry:) Well most of it anyway. Although your other tutorials are awesome thanks. But how do you literally make a segment of land that a character can walk on? And how do you determine where it shall be placed or do you have to create a whole level using paint then import the images? Srry for all the questions but i nly have a trial version and it leaves out things
@Vidwhizzo You actually have the gravity thing working! I really Need that code. Im working on making a game, and I cant do that(2D side scroller) without a jump. PM me with the code if you can, thanks so much!!
One problem I notice, dude, is that when you jump under a platform, you go through it if you hold jump, and you stop and get stuck when you let go of jump in the platform. How can this be prevented?
Yea my Collision in this tutorial is not the best, in this collision we are just telling the program to make playerY = playerY so it lets it go past it instead of Stopping it.
Since this was not a tutorial on Collision and only on Gravity and jumping, I didnt went all the way to making the Character Stop from going over those boundries.
You could make it better by checking if th TOP of the Player is less than the Platforms BOTTOM and check thats ...
Would that slo fix why my characters feet sink into the platform instead of walking inside of ti and make them walk on top of it? And would I check all that within the Collision:?
Great tutorial as always, man. I bet you're getting pretty tired of my requests, but...
I'd like to see a series of tutorials based on enemy AI, short range and long range combat, displaying a HUD (health, magic, etc) and maybe picking up powerups.
Indeed. Your tutorials are actually a HUGE help. I'm working on a game where you play as a character that was created from the Aurora, the light of the world, and it was foreseen that the emperor would lose his empire and his life when confronting the Son of Aurora.
Just code with comments. You should type the code as you speak, and explain what each line does, to make an effective tutorial.
RukiryoProductions 1 month ago
Hi Wulfy88, great tutorial, but I am stuck with an error message I would really appreciate it if you could suggest a solution. "Paramater for 'SPRITE' do not match 'Sprite number Xpos Ypos image number at line 29' What does that mean? Line 29 is as follows: Sprite platformID(i), platform1_X(i), platfrom1_Y(i), platformID(i)
jaysteinbourg 2 months ago
Hi again, a few hours of pulling my hair out and I got it to work with the following in the main game loop: Sprite platformID(i), 10, 100, platformID(i) Sprite platformID(1), 70, 240, platformID(1) Sprite platformID(2), 120, 340, platformID(2)
This makes a kind of stairs for my character to jump on. The only problem is that he sticks to the bottom of the steps with his head, lol. funny though. I needed a laugh after all that stress.
At least it is working.
jaysteinbourg 2 months ago
hi wulfy... can you add there a code that your char will walk then the background side scroll... ineed that code badly :( please help me.
trevorarganda 4 months ago
Might as well have just uploaded the code in a text doc/put it in description, because this isn't really a tutorial, it's just code with a bunch of comments.
superant10000 10 months ago
@superant10000 well, if you can read there are directions and explanations as to what is what. ;)
wulfy88 8 months ago
@wulfy88 Yeah, code with a bunch of comments.
superant10000 8 months ago
@superant10000 lol, there are actually no comments in this video with in the code. There are, however, paragraphs upon paragraphs of detailed explanations for the code written for this video. I know it may seem boring with no audio, but that is just too bad.
wulfy88 8 months ago
@wulfy88 I wrote more than this on my theory test... And it was multiple choice.
All I'm saying is that this video is just code with comments (or as you might call it, paragraphs of detailed explanation).
Uploading the annotated code would be much more useful for this video, because all you've done really is just told people to paste a load of code into DarkBasic and compile it, a video just slows that process down sevenfold.
superant10000 8 months ago
@superant10000 hmm... I see it differently. but that is just me. :) I don not make these tutorials anymore. so, that doesn't concern me anymore. Thank you for your opinion though.
wulfy88 8 months ago
i dont thing your voice would be that bad haveing both text and voice walk through would be helpful
ManiacChees18 1 year ago
@ManiacChees18 I would use voice if I had a working Mic and a way to record it and actually play correctly in my Editing program. but until then there will be no voice =].
wulfy88 1 year ago
GREAT tutorial! I created some sprites & got it working. Thank you so much for this! Now all I have to do is work on fixing the collision and smoothing out the animation.
silverfoxtrot13 1 year ago
Do you have this code available as a text file?
silverfoxtrot13 1 year ago
@silverfoxtrot13 - nevermind I typed it! thx
silverfoxtrot13 1 year ago
Think you could do a "sequel" to this, referring to collision with walls and floors and platforms?
WingedGuardian11 2 years ago
sure thing, bt it might take a while.
wulfy88 2 years ago
I'm subscribed, and I'll wait as long as I need to ^_^ It's no problem.
WingedGuardian11 2 years ago
I'm in way over my head with this.............
GNRJaffa 2 years ago
how come?
wulfy88 2 years ago
Well see i wanna make a game and i thought it'd be hard but not that hard but i did NOT understand a f***ing thing you just said.... Sorry:) Well most of it anyway. Although your other tutorials are awesome thanks. But how do you literally make a segment of land that a character can walk on? And how do you determine where it shall be placed or do you have to create a whole level using paint then import the images? Srry for all the questions but i nly have a trial version and it leaves out things
GNRJaffa 2 years ago
@GNRJaffa The program is now free. Look it up on youtube, it will tel you where, i can't post links.
Vidwhizzo 1 year ago
@Vidwhizzo thanks man :) i havent tried this in ages so it might be fun to give it a go again
GNRJaffa 1 year ago
@Vidwhizzo You actually have the gravity thing working! I really Need that code. Im working on making a game, and I cant do that(2D side scroller) without a jump. PM me with the code if you can, thanks so much!!
Vidwhizzo 1 year ago
One problem I notice, dude, is that when you jump under a platform, you go through it if you hold jump, and you stop and get stuck when you let go of jump in the platform. How can this be prevented?
WingedGuardian11 2 years ago
Yea my Collision in this tutorial is not the best, in this collision we are just telling the program to make playerY = playerY so it lets it go past it instead of Stopping it.
Since this was not a tutorial on Collision and only on Gravity and jumping, I didnt went all the way to making the Character Stop from going over those boundries.
You could make it better by checking if th TOP of the Player is less than the Platforms BOTTOM and check thats ...
wulfy88 2 years ago
...inside the Platfor and making the PlayerY go down to make it not go over it.
I hope you understood a bit what I said. :)
but yea, I didnt make the collision work well here. Maybe ill do a Collision tutorila, or have I? hmm iam not sure
wulfy88 2 years ago
I think...
Like, check to see:
If playerY <= platformID(i) and if jumping = 1
falling = 1
jumping = 0
Endif
Sorry, I'm not too great at coding, and I'm trying to grasp as best I can.
WingedGuardian11 2 years ago
Hmm...like...
If playerY <= platformID(i) and jumping = 1
jumping = 0
falling = 1
Endif
I'm highly doubt what I just suggested is right or even close.
WingedGuardian11 2 years ago
lol no ur not even close you have to do more than that. check playerY against platform Height. and also the Width with the playerX and player Width.
wulfy88 2 years ago
Would that slo fix why my characters feet sink into the platform instead of walking inside of ti and make them walk on top of it? And would I check all that within the Collision:?
WingedGuardian11 2 years ago
Iam not sure what you mean by the 1st Q.
Does ur players feet sink into the platfor??
mine dont only the head goes into the bottom.
and yes youd put the code into the Collision lable part of the Program
wulfy88 2 years ago
nice tutorial, helped me alot! =]
mike5424 2 years ago
Thanks, Iam glad to hear that. =]
wulfy88 2 years ago
Great tutorial as always, man. I bet you're getting pretty tired of my requests, but...
I'd like to see a series of tutorials based on enemy AI, short range and long range combat, displaying a HUD (health, magic, etc) and maybe picking up powerups.
WingedGuardian11 2 years ago
Iam not tiered of ur requests =] they help me make new videos and they give me ideas. lol
I'll see what I can do. ;)
by short range you mean Melee? like Swords? and stuff?
wulfy88 2 years ago
Indeed. Your tutorials are actually a HUGE help. I'm working on a game where you play as a character that was created from the Aurora, the light of the world, and it was foreseen that the emperor would lose his empire and his life when confronting the Son of Aurora.
...Or something alone those lines, heheh.
WingedGuardian11 2 years ago
lol sounds interesting. I'd love to see it once its done.
wulfy88 2 years ago