Added: 2 years ago
From: wulfy88
Views: 3,956
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (29)

Sign In or Sign Up now to post a comment!
  • Just code with comments. You should type the code as you speak, and explain what each line does, to make an effective tutorial.

  • 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.

    At least it is working.

  • 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.

  • 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 well, if you can read there are directions and explanations as to what is what. ;)

  • @wulfy88 Yeah, 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.

  • i dont thing your voice would be that bad haveing both text and voice walk through would be helpful

  • @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.

  • Do you have this code available as a text file?

  • @silverfoxtrot13 - nevermind I typed it! thx

  • Think you could do a "sequel" to this, referring to collision with walls and floors and platforms?

  • sure thing, bt it might take a while.

  • I'm subscribed, and I'll wait as long as I need to ^_^ It's no problem.

  • I'm in way over my head with this.............

  • how come?

  • 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 The program is now free. Look it up on youtube, it will tel you where, i can't post links.

  • @Vidwhizzo thanks man :) i havent tried this in ages so it might be fun to give it a go again

  • @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 ...

  • ...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

  • 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.

  • 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.

  • 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.

  • 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:?

  • 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

  • nice tutorial, helped me alot! =]

  • Thanks, Iam glad to hear that.  =]

  • 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.

  • 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?

  • 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.

  • lol sounds interesting. I'd love to see it once its done.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more