Added: 8 months ago
From: RedReaper132
Views: 5,528
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (40)

Sign In or Sign Up now to post a comment!
  • you give the best tutorials ever. Better than native english speakers! Thank you and keep up the amazing work!

  • @RedReaper132

    I am running this in CodeBlocks in Windows and the problem is whenever I run the program, in addition to opening the game window it also opens an empty console window. How do i fix this?

  • @1chapper add "-mwindows" to the console command.

  • I hope you can extend this to GPU programming :) such as OpenCL

    

  • Hi, thanks for doing the videos I really enjoyed them, but are you going to do any more? It's been 2 months.

  • Maybe make a level 2?

  • maybe a title screen if possible or a game over screen??

  • MORE PLEASE :D

  • Comment removed

  • @RedReaper132 I've watched and enjoyed all 10 episodes of this series, and I found them very helpful to get into SDL and OpenGL. Thank you! :-)

    In this 10th episode there is a small flaw though, when you change the direction of the ball based on which side of the pad it hits. The behavior you modeled is totally unphysical (assuming that your pad is still rigid) and looks weird. What you could do instead is change ball.vx depending on pad.vx when the ball hits the pad to model friction.

  • @RedReaper132 instead of using sdl could i use microsoft visual studio pro 2010

  • i want.... MOAR.

  • PLEASE in the next video make the game Object Oriented...

    and for some ideas:

    -scrolling backgrounds and tilemaps. XD

  • thanks for the great 10 videos....

    how to move a background (like we see in mario) screen..???

    pls help me...

  • Comment removed

  • Text and menus would be extremely helpful.

  • Liked your whole series it helped me a lot. If you want you should try doing a short "house keeping," video cleaning thing up a little bit like Thecawesomeone said. Else, you could add some game logic and make random tiles have temporary power ups like increased ball speed, increased paddle speed or even a fireball drop that the player must avoid or die. Stay awesome.

  • Turns out the problem is with libpng although I've linked it correctly with code blocks. Do you have any ideas on how to fix it? Thanks.

  • @Thecawesomeone Did you also add zlib? It's hard to tell why it doesn't work.

  • Are you gonna to make a different game after you finish this one?

    Btw, when I click build and run (with your code) on codeblocks it opens a white window and closes quickly, but when I click on the exe in the bin folder it works fine. Do you have any idea what could be the problem?

  • Nevermind, I fixed it.

    Oh, and PLEASE do text soon... Would be great with more tutorials xD

    In the meanwhile, I'll start making powerup items now! :D

  • Okay, I have a problem!

    Here is a screenshot:

    imgur . com/ECuK0

    (fix the url as YouTube won't allow urls >_> )

    It will not render the white part of the screen, as you see!

    Do you have any ideas what cause this?

    I'm so confused...

  • @BulletShredd I don't know, as I haven't tested it yet...

    But I think if you look over what you've already learned, it shouldn't be too hard to make the screen move ;)

  • I got a question...

    Why haven't you just made the drawing a function?

    Like...

    DrawTexture(TEXTURE, COLOUR, X, Y, W, H);

    Etc ?

    I'm going to do that now... :D

  • @ShadowSky24 I didn't want to complicate too much with functions. If you want to, then make one for yourself :)

  • @RedReaper132 Okay xD

  • Great series! Id like to get onto 2 new things.

    First, can you talk about framerate, and making a game play the same across multiple/many machines.

    And the second thing, is capturing inputs through messaging / signalling.

    I'm working on a 2d game engine that I can use for a basis as all my games that I will be developing. Thank you so much you'vebeen a great help and I cant wait for more videos

  • You can also make tutorials for Animation, Timers, Threads, and at the end, using all that to make an mini GameEngine :)

  • I've been trying to get to the bottom of this but I can't seem to get a concrete answer...

    I have noticed that the images you are using do not have dimensions that are powers of 2.

    How is this working?

  • @Kingtag1445 Yes that is true. It's certainly recommended that the images have dimension that are powers of 2, but it doesn't have to be that way. It knows to stretch images and things like that. But for the best results, use dimensions that are powers of 2.

  • you could make tutorials for "how to play sound". Example: When ball touch pad or brick to play sound ... :)

  • All the images have transparencies around their edges and it seems like these stay in tact when you apply them.

    Is this always the case or is something special happening that allows the transparencies to stay?

  • @Kingtag1445 Yes it depends on the image type and how you load the image into the texture. Also there are some parameters in the glBlendFunc that change how texturing works. It's best that you check around a little to find the best suited settings.

  • oh man you are SDL_GOD, man!

  • ty for the upload.

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