FTLinuxCourse - Tin tổng hợp mới nhất không thể bỏ lỡ
  • Home
  • Lập Trình Linux
  • Công Nghệ
  • Máy Tính
No Result
View All Result
  • Home
  • Lập Trình Linux
  • Công Nghệ
  • Máy Tính
No Result
View All Result
FTLinuxCourse - Tin tổng hợp mới nhất không thể bỏ lỡ
No Result
View All Result

Writing 2D Games in C using SDL by Thomas Lively

admin by admin
April 7, 2020
in Lập Trình Linux
41
Writing 2D Games in C using SDL by Thomas Lively



SDL, the Simple DirectMedia Layer, is the cross-platform game library used in everything from small indie games to Valve’s blockbuster triple-A games to other applications with rich media needs. This seminar will teach you how to use this powerful C library to write your own 2D games. We will talk about the structure of game code and cover the installation and initialization of the SDL library, the creation and management of the game window, how to draw images onto the window, and how to handle keyboard and mouse input. By the end of the seminar you will have created a small demo that you can later build on as much as you want.

Nguồn: https://ftlinuxcourse.com

Xem thêm bài viết khác: https://ftlinuxcourse.com/download

Xem thêm Bài Viết:

  • Trải nghiệm mới hay ho với hướng dẫn cài Mac Os trên vmware
  • Bật mí cách cài đặt ssl miễn phí lên Let’s Encrypt
  • Tuyệt chiêu tạo usb boot kali linux đơn giản dành cho bạn
  • Hướng dẫn chi tiết từ A – Z các bước cài đặt Python trên Windows 10
  • Bật mí quy trình cài đặt Kali Linux trên Vmware đúng chuẩn và chi tiết
Tags: Youtube
Previous Post

[ WINDOWS ] Cài đặt môi trường và công cụ trên windows | Tự học machine learning cơ bản

Next Post

Hướng dẫn tạo máy ảo cài đặt Windows bằng VMware Workstation

Next Post
Hướng dẫn tạo máy ảo cài đặt Windows bằng VMware Workstation

Hướng dẫn tạo máy ảo cài đặt Windows bằng VMware Workstation

Comments 41

  1. David Demelier says:
    3 years ago

    Please note that your makefile is not portable as it requires GNU make. Also the include convention is SDL.h not SDL/SDL.h.

    Reply
  2. RainingArtillery says:
    3 years ago

    This is for when C++ just doesn't bring enough tears and pain

    Reply
  3. Giancarlo Andre Bravo Abanto says:
    3 years ago

    damn lm about to watch this video.

    what l was doing all this years?

    Reply
  4. Manuel Kvarda says:
    3 years ago

    I spend some time looking for lerning materal for game development wit C. I did not find annything useful. If i found something SDL based it was about C++ and not C. So is it just my personal preference which language i choose at the énd ? what are the benefits of using pure C insead of C++ with SDL ?

    Reply
  5. karim kohel says:
    3 years ago

    cs5 does it again. thank you guys so much for everything

    Reply
  6. Syed Baryalay says:
    3 years ago

    great presentation mate, nice intro this crazy hell

    Reply
  7. Téssio Fechine says:
    3 years ago

    There's no libsdl2-dbg package in Ubuntu anymore.

    Reply
  8. Dashiell Elliott says:
    3 years ago

    When I run this it just says not responding and the window never appears, there is no error though, and it waits 5 seconds and then quits. (I am on mac)

    Reply
  9. UltimatePiccolo says:
    3 years ago

    I appreciate the tutorial, but why the hell linux? Why not default to Windows?

    Reply
  10. Junior Santos Gerry says:
    3 years ago

    and how configure SDL to Visual Studio 2010?

    Reply
  11. Digital Insan1ty says:
    3 years ago

    My PC runs linux. PC is not another word for Windows.

    Reply
  12. Salim Trabelsi says:
    3 years ago

    thanks man its really helpful 😍❤❤

    Reply
  13. Rose Black says:
    3 years ago

    Hello,thank your video,where tutorial code that download them?
    https://manual.cs50.net/appliance/2015/
    this link can't open and download.

    Reply
  14. Hsin Hung Lin says:
    3 years ago

    Most SDL demo video I find on the youtube is C++ in Windows, and thank you for making a demo in C and Linux.

    Reply
  15. Rambabu Upreti says:
    3 years ago

    I am bachelor 1st year student and i wanna learn c to the fullest
    Idk the codes how can i learn the graphics code and other code.
    Is there any book.?
    Please help me anyone😕

    Reply
  16. Decrypt Blessing says:
    3 years ago

    But where is the game dude?
    I have an example. This rpg has been made with allegro and sdl.
    You can switch between them.

    https://www.youtube.com/watch?v=nuLi_lB6c4Y

    Reply
  17. The Ultimate Lizard says:
    3 years ago

    You were wrong about Unions. They are made to store only one of the specified types of data, and they output only one and the most recently added data. They don't store 'the largest data' in it, as you said.

    Reply
  18. The Ultimate Lizard says:
    3 years ago

    Thank you, Dr. Chase, that was very helpful.

    Reply
  19. Marcelino Borges says:
    3 years ago

    Don't we have cs50 appliance available to download anymore??

    Reply
  20. Vishal says:
    3 years ago

    Awesome presentation! I am new to SDL 2 programming and loved it. Thank you!

    Reply
  21. Dương vn says:
    3 years ago

    huhu Im vietnamese I don stan enythink

    Reply
  22. Abraham Manuel says:
    3 years ago

    Loved this video

    Reply
  23. Alex Falsh says:
    3 years ago

    Спасибо большое за видео! мы изучаем эту библиотеку в университете, но преподаватели не очень хорошо нам её объясняют. Мы даже не догадывались, что есть официальный сайт с подробным описанием каждой функции.

    Reply
  24. Nyume says:
    3 years ago

    So I'm planning to make a small platformer for my Data Structure class, this tutorial helped me A LOT to understand and begin the development.
    Next step, reading the documentation!

    Reply
  25. Dgafecb says:
    3 years ago

    CXXXXXX

    Reply
  26. Gadour Mn says:
    3 years ago

    Is this useful for windows compiles?

    Reply
  27. Evil Diesel says:
    3 years ago

    Excellent tutorial! Gonna give it a bash now:)

    Reply
  28. Michael Woodruff says:
    3 years ago

    Hey thanks guy. I've been using lazy foo's tutorial to get farmiliar with sdl, but I think I'll start using the wiki now.

    Reply
  29. Chester Hackenbush says:
    3 years ago

    Excellent!

    Reply
  30. plushoom says:
    3 years ago

    awesome

    Reply
  31. Shrek V says:
    3 years ago

    Thank you mit

    Reply
  32. Josh Li says:
    3 years ago

    This has rendered great help and allowed me to surface above a lot of troubles, thank you. Deserves better applause at the end.

    Reply
  33. Mo says:
    3 years ago

    I was wondering if anybody has difficulties installing libsdl2-dbg. For some reason it doesn't find the package on ubuntu 17.04 zesty. When I add a different source it does find the package but shows me: The following packages have unmet dependencies:
    libsdl2-dbg : Depends: libsdl2-2.0-0 (= 2.0.2+dfsg1-3ubuntu1.1) but 2.0.5+dfsg1-2ubuntu3 is to be installed

    Any advise on how to solve this?
    Thanks in advance 🙂

    I am running:
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 17.04
    Release: 17.04
    Codename: zesty

    Reply
  34. Zayani Meriam says:
    3 years ago

    Undefined reference to SDL_INIT . why? I installed sdl just like in the tutorial?

    Reply
  35. Zayani Meriam says:
    3 years ago

    Why doesn t this work for meeee T-T

    Reply
  36. Zayani Meriam says:
    3 years ago

    when I try to run the make file I get this error :
    clang : not found
    recipe for target (blabla) failed

    Reply
  37. Amchy says:
    3 years ago

    how to dwonload this

    Reply
  38. Wicqed Eyebot says:
    3 years ago

    Please help me, I am stuck at when I type make. It came up with this: make: * No rule to make target 'hello_window.o', needed by 'game'. Stop.

    Reply
  39. Fabrice Irambona says:
    3 years ago

    That's an awesome introduction but I still have a small problem https://github.com/tlively/sdl_seminar.git this link works well but I can't sdl_seminar-master

    Reply
  40. Red Queen Official says:
    3 years ago

    Awesome

    Reply
  41. Ka tai Ho says:
    3 years ago

    IMG_Load does not exist? How do you import it? Also, why doesn't it come with SDL?

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Xem Thêm

Những điều bạn có thể chưa biết về Thánh sim Hi Vietnamobile

Những điều bạn có thể chưa biết về Thánh sim Hi Vietnamobile

January 17, 2021
Xiaomi Mi 10 Pro thiết kế thời thương, màn hình cong ấn tượng

Xiaomi Mi 10 Pro thiết kế thời thương, màn hình cong ấn tượng

June 1, 2021
Địa chỉ in bao bì nhựa tại Đà Nẵng chiết khấu cao

Địa chỉ in bao bì nhựa tại Đà Nẵng chiết khấu cao

January 26, 2021
Địa chỉ bán đèn tuýp LED Philips uy tín và chất lượng trên thị trường?

Bán đèn tuýp led Philips – Skyled

July 27, 2020
Lựa chọn chủ đề in áo thun phù hợp

Lựa chọn dịch vụ in áo thun cotton cần lưu ý gì?

August 2, 2020
Cần xác định được điểm đặt pallet cao nhất để mua xe

Bí quyết chọn mua xe nâng điện đẩy tay

August 3, 2020

Về Chúng Tôi

Báo ftlinuxcourse.com 24h – Đón xem những tin tức mới nhất về tình hình chính trị, xã hội, an ninh trật tự, văn hóa – giải trí, thể thao, thông tin trong ngày.

  • Liên Hệ
  • Chính Sách Bảo Mật

© 2023 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Lập Trình Linux
  • Công Nghệ
  • Máy Tính

© 2023 JNews - Premium WordPress news & magazine theme by Jegtheme.