Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (133)

Sign In or Sign Up now to post a comment!
  • Ohh i wish i understood more of the stuff youre talking about:( Do you have any recomandations for me to learn??

  • @TheChillaThrilla antirtfm on YouTube has some beginner C++ video tutorials

  • 3:14 I'd like to add that you should make sure that you are linking to the correct library. Installing the Windows SDK 7.1 along side the most recent DirectX SDK causes VS to link with an old version of the XInput library that is missing some stuff.

  • Comment removed

  • my windows theme changes to windows basic when i launch this application why is that?

  • @politicaltruth42 ok it was because color depth was set to 16 i changed it to 32 and it fixed the problem

  • i am using microsoft visual c++ 2010 express edition along with allegro5. how would i set up the linker now?

  • @Type0ForeignTaco Just some advice... If this is your first time linking which I suppose it is because you don't know how it is a very complicated process. There are some videos on youtube, but then again if you don't even know why your linking or the basic mechanics behind it, you should go to your nearest bookstore and buy a nice big book on C++ either a primer or intermediate.

  • you should put a link in for allegro. idk what to look 4 in google.

  • @kidharris55 umm... allegro download...?... are you sure you're ready to start programming,,, It's gonna take a lot more initiative than that if you want to be serious about programming... A well done text-based game with no API or any other outside directory can take days and even weeks to write.. maybe you should choose another path...?

  • At 2:00, do you really need the 'clear_bitmap( buffer )' because it is essentially being cleared when you fill it isn't it?

  • I wish this worked for Allegro5 because I can't figure out how to get Allegro4 installed.

  • wow....... thats a lot to gather from this so were dose my skilll start and my thinking end?????? lol

  • I know how to start my computer =)

  • @korken4 The most important think to know! A++

  • why isn't the color working, I have your code down exactly but the color is black. What am I doing wrong?

  • Ugh, My brain Hurts.....

  • @ThEBuRRo133  "Because knowledge is power...*music plays* this is lusikaMage's big house of rock, in Lusikamage's of school house rock". Sorry, my inner troll came out. but listen to her...she knows what she is doing.

  •  Circular Main <- Main.o dependency dropped. E:\Dev-Cpp\Projects\Makefile.w­in [Build Error] ["Allegro] Error 1

    help plz?

  • @DemangoProductions 1. Uninstall dev-c++ 2. delete the dev-c++ folder. 3. install dev-c++ again (4.9.9.2) 4. install allegro-devpak. 5. open tool, goto cimpiler options, check the second box and write "-lalleg" in the command line ( without quotations), then click OK. 6. make a test.cpp includeing allegro and enjoy :D ( Remember to delete MinGW if you've installed it seperatly, there's no need for it because dev-c++ includes it :D)

  • @Prussiaaccount thnx but i already had solved this myself :D

  • Ultimate brain fart

  • btw... why do i need to destry a bitmaps? just asking :)

  • @pecololek Do you understand the concept of dynamic memory in C++? If you don't, then first you should go research it because it's important. Secondly, that's what the bitmap destroy function does, since every time you create a bitmap it allocates memory, and if you don't free that memory when your program closes, you'll essentially just have space taken up that you can't access until you restart.

  • @CoderRach

    so the damage you do whit not destroying the bitmaps is temperealy ( its good whan you restart) ?

    And thnx for the help and tutorials ^^

  • @pecololek It's temporary until you reset, yes, but it's not good practice. :P Have you ever ran a program multiple times while you're computers on (or haven't restarted for a while) and things start slowing down? That could be a problem with memory leaks, somewhere along the line, memory isn't freed up. It's even worse if it's in a routine inside a program.

  • umm i have no experience with any programming AT ALL. I watched your first where to begin tutorials but i still don't know what to do. I tried blender and python, blender was too confusing to me, but python wasnt so i download pygame but i dont know how to make a 2d game like pacman. i guess what im trying to say is is it posible to make a game with python and pygame. there are no places for me to import backgrounds or sprites. pleese help:(

  • Ah, theres' other thing..Dev-cpp give's me an erorr about 'blint' (tells me it's undeclared). How can I solve it?

  • @maxinimrod sorry, my bad, it was BLIT not bliNt

  • @maxinimrod Allegro linking error? Are you #include [less than]allegro.h[greater than] at top of program? (not sure if it's lessthan/greaterthan or quotes there)

  • Sorry if i'm too stupid, but...I don't understand the part of #include "System.h" and the class you created...Do I have to create the class then save the file in the lib folder of dev-cpp as System.h ???

  • @maxinimrod You need to stop this tutorial right now. In the very first episode I tell you that this is a guide for somebody who understands their basics of C++. It sounds like, to me, you've barely started. Go check out AntiRTFM's tutorials on YouTube, or go pick up a C++ textbook, and return when you've spent time writing programs and understand classes and headers, in addition to pointers, references, inheritance, etc.

  • @maxinimrod You cannot start at all :/. Learn C++ i recommend 'C++ Without Fear 2nd Edition' book. It is full of math you will love it! :D

  • I have a problem, when I want to run my code I get an error saying:

    unresolved external symbol __imp__set_gfx_mode

    unresolved external symbol __imp__set_color_depth

    unresolved external symbol __imp__install_sound

    unresolved external symbol __imp__install_mouse

    unresolved external symbol __imp__install_timer

    unresolved external symbol __imp__install_keyboard

    unresolved external symbol __imp___install_allegro_versio­n_check

    unresolved external symbol __imp___WinMain

    could you help me?

  • I love that-

    "dont forget to put 'end of main' at the end of main"

    So obvious yet so easily forgotten especially by noobs. well thanks for the tutorial. Your videos are very nice and i enjoy watching and learning from them. Thank you :)

  • The code makes me sad with all the " ); "

  • In your class's public section, I see you have system(); and ~system(); I understand the code but I've never seen system(); with no parameters before. What does it do?

  • @taloton Read up on Constructors and Destructors. Other sites will be able to describe it better than I can in 400 characters.

  • makecol(255,0,0)

    does 255 means black??

    if em changing d values like makecol(0,255,0).....no chnage in d output.............

    cn u help me out wd thsi prblm.

    thnks:)

  • @THEFEDERER1992 No, makecol is in the order of (Red value, Green value, Blue value). You've heard of "RGB" before? That is what this is. It ranges from 0 (none of this color) to 255 (maximum of this color), so (0, 0, 0) would be black and (255, 255, 255) would be white. (255, 0, 0) would be only red, while (255, 0, 255) would be magenta (purpleish)0

  • @THEFEDERER1992 As far as a know you #000000 is the color code for black.

  • @LusikkaMage thanku..............can u explain abt bitmap buffer..........how to put an image in d code...?

  • @THEFEDERER1992 You're on the "Initializing Allegro" video. There are like 13 videos in this series, watch them all, it covers it. Otherwise, there's the written version on my website.

  • Comment removed

  • Brilliant!

  • problem, I can't make a new project and open the project options... and when i try to make a new project i get this error message: Could not change to the template's directory.

    What do I do?

  • I love knowledge :D

  • this video was made 2 years ago, i do not understand at all how we're supposed to figure out how to isntall Allegro on our own. i searched it for 2 whole days and nothing was helpful, i find it very disapointing that theres no help for this

  • @MrHankkey93 Googling "Allegro DevPak" still gives me the correct link as the #1 result. Install DevC++, download the DevPak, double click devpak, done!

    As for Allegro 5, the latest version, I don't know. It's super simple in Linux, and in Windows it generally consists of moving things into the "lib" and "include" files for your IDE. Google is your bff.

  • @MrHankkey93 Googling "Allegro DevPak" still gives me the correct link as the #1 result. Install DevC++, download the DevPak, double click devpak, done!

    As for Allegro 5, the latest version, I don't know. It's super simple in Linux, and in Windows it generally consists of moving things into the "lib" and "include" files for your IDE. Google is your bff.

  • @LusikkaMage i'm using Code::Blocks, is DevC++ another IDE? or a form of using the devpak?

  • @MrHankkey93 I only suggest DevC++ because it's super easy to set up, even though it's really old and a bit buggy.

    Are you trying to use Allegro 4 or Allegro 5? Because this tutorial covers 4 and I don't currently have the time to relearn Allegro 5 and update the tuts.

  • @LusikkaMage Well all i really wanted to do was get any of the versions of Allegro to work with Code::Blocks, but there are absolutely 0 decent tutorials out there, and the version 5 of Allegro looks completely different from the 4th. so i'll just try to use Dev-C++, how different can it be? its all the same language :S thanks for the help, couldn't find any anywhere else. ^^

  • @MrHankkey93 The IDE you use (DevC++, Code::Blocks, Visual Studio) don't affect the language or the libraries at all, it's just a different tool to type and compile in (and I believe DevC++ and Code::Blocks use the same compiler, even.)

    Once you run the DevPak, in DevC++ you can create a new project and Allegro should be listed in there.

  • @LusikkaMage yeah, i ran the .devpak or whatever, put in the linker (-lalleg) and am typing the code, hopefully it will work. Thanks for the help again ^^

  • so confusing -.-??

  • @masterjackie1 Need to pick up a C++ textbook and begin with learning the language.

  • @LusikkaMage where can i aquire said textbook? :)

    also, can you explain what the main difference is between C++ and Java scripting? (other than the fact that java needs java). and do you know a website that is really good for helping beginners out? because videos are nice, but can be difficult to follow. :) thanks in advance

  • @MrHankkey93 There's not really any such thing as C++ scripting. Java is a different language than JavaScript. JS is used for web development, Java is an object oriented language similar to C++, where you can make either desktop executable files or web applets with it.

    I don't know many websites for C++ basics, I bouguht textbooks. You can check out AntiRTFM on YouTube, he does C++ video tutorials.

  • my program stops responding?

  • Nevermind, found it >.<

  • Umm... How do you link/linker on Dev C++? >.<' Sorry for the noob question...

  • Very Helpful

  • Your tutorial helped me a lot, I have just started Allegro, Thanks for so much help...

  • Ok so i downloaded Allegro form the official site and i am in the folder and i cant find the installer or setup for allegro (please help)

  • @shakarlay Allegro isn't a program that you install, it's a library; a set of code and/or .dll files that you link to your program project via the linker.

    What IDE are you using?

  • @CoderRach Now i realize that i do not want to code my games so i am now using MultiMedia Fusion 2

  • that piano jingle in your transitions is catchy

  • Screw going to school, I'd rather do this.

  • @firehead333 There are still handy things that can be learned at school, mind. What grade are you in? You could look into getting your GED and jumping to community college or university, like me. (I was homeschooled, though, so I don't really know what public school is like, but college- even community college- is a great idea, AND you have more control over the classes).

  • @LusikkaMage I'm in 8th. And no offense to this 'modern' age, but I feel more stupid after school.

    Be happy you were homeschooled.

  • @firehead333 You're in 8th grade. They don't teach you anything. Wait till your in 11th grade. Then you can tell me when you feel stupid.

  • @ImTheBatchMan I'll do that. ;)

  • Where the fuckis the written tutorial then?

  • @FrozenMasters Excuse me, do you think that is an appropriate way to talk to anyone, much less ask for help? You're not going to learn anything if you can't even learn some common courtesy and basic respect.

    The written tutorial is on my website (see: description). Use logic skills to determine to click on the "Resources" button in the navigation on top, and then the "Tutorials" link in the sub-menu. The written versions are available on the top of each tut's page.

  • @LusikkaMage I did that

    whole thing

    resources

    tutorials

    only thing i found out was these video and i did comment like that only because i was annoyed from something, wont remember

  • @FrozenMasters On the page for the tutorial you're looking at, directly above the first video and below the description of the tutorial, you will see "Full written version: .ODT .PDF". You can open the pdf with Adobe Reader (or Foxit Reader), or ODT will open with Open Office, and probably Microsoft Word.

  • @LusikkaMage Thanks then

  • @LusikkaMage

    hey dont worry about this low lifes just ignore them they keep saying bla bla and complaining just delete there comment

    u r way too help full thank u very much :D

  • wut is blit?

  • These are fucking great. I don't understand a goddamn thing about any of this but somehow I managed to create two bouncing circles and one circle that moves by the keyboard. YAY!

  • to everyone enforcing a linker-error (like error LNK2019 for example):

    remove constructor and destructor from system.h. they are not (yet) used here.

    also, learn your c++ basics.

  • @retardierteKACKE the compiler will automatically create the constructor and destructor.

    if you want to make your own one, kame sure you dont forgett the curly brackets aber the normal brackets ;-) lusikkamage forgot them. a real constructor looks like this: MyConstructor(){};

  • how do i add an image ?

  • @sam421kc That's covered in part 4

  • is allegro easier to program a game then SDL?

  • @sam421kc I find SFML to be the easiest, with Allegro being 2nd easiest.

  • fuck this shit, i wasted 60 hours triying to made this code, for some reason i always get a ERROR MENSAGGE, readed all the fking tuts on the web about allegro AND KEEP GETTING A FKIN ERROR

  • @MrSaggat

    Maybe you should send us the Error?

  • @AnewBANDareHERE Neh, im programming in SDL now. I already made Pong and a 2d fight game :):)lazyfoo FTW

  • hehe did your character just smash the keyboard with her head xD at 0:34

  • i don't get it?

    what exactly iam i suppose to type?

  • @sailornaruto39 Maybe check out the written version of the tutorial on my website. It "goes" slower.

  • @LusikkaMage ok. i will try.

  • i love your videos! your great. and i really like all the emotions your little girl character has :)

  • [Linker error] undefined reference to `System::System()' ?

  • @Psycho1922 Check your includes at the top of the file, make sure any files using the System class has #include "System.h" (or whatever the filename is), as well as System.cpp /whatever

  • Comment removed

  • When I compile it I get the error "depth undeclared" (from the part "set_color_depth")

    Im using dev c++ if that has anything to do with it.

  • i cant run any game, there is just an error, saying it cant run it O.o

    one of the best #WTF moments ever

  • @AnewBANDareHERE Care to describe the symptoms with more detail?

  • @LusikkaMage

    ...

    There is just a windo poping up, wich says it cant run the Application. Then its searching for the Problem, but it doesn´t find the it.

    If I programm with Visual C++ 2010 its working but not with Dev C++

    Sorry for bad english :')

  • awesomee~

  • I copied your code almost exactally (i shortened the comments) and DevC++ gives me an error for all of the "install_" references. It also gives a linker error. Can you help me?

  • You I just enjoy thee videos for the cute animations ^^

  • I used to use DarkGDK but then I got a Trojan.dns virus that I can't remove.. so I can't use Visual C++ anymore it stops me from downloading anything from microsoft. =(..... *crys*

  • Hi can someone PLEASE give me a hand installing (and making work) Allegro with Visual Studio 2008? I can never get libraries to work, I have googled many times and I still can't do it :(. If someone can explain that to me using Allegro, I will really appreciate it :).

  • This should help you a lot:

    watch?v=B44tSBJCcfU

  • Thanks a bunch! That video really helped me to get Allegro working with no problems.

  • With Allegro&Dev-C++, set_color_depth(16) made my screen flash and change mode. It also crashed any full screen applications open at the time and temporarily disabled Aero in Windows7. Changing the value to 32 made the problem dissapear completely. Just a heads up for anyone else trying to eliminate this issue.

  • what happens if you draw to the buffer outside of the bounds? Will it result in an error?

  • i cant open project options in dev-C++.... gets me a address 0012F647 error..

    I have vista ultimate...

  • DevC++ is a bit old (I don't think it's updated anymore). I get random crashes with it too, sometimes. If it gives you issues, you might try a different IDE.

  • Try " eclipse for c/c++ " (:

  • @LusikkaMage Although I hate to say it, VC++ 2010 is your best bet

  • Hey final, go into project options if ur using dev c++ and make sure it is win32 GUI, otherwise u will see the console screen.

  • This is gunna sound rlly stupid, but whenever I run my allegro program, the window comes up fine but it always opens a console window in the background as well? I've used some allegro before and it never seemed to happen then, cant work out what im doing wrong :/

  • Heyo-

    You can turn that off through your IDE, which one are you using? While I'm actually making the game I'll keep it there to cout stuff as sort of a debugging tool, but then afterwards you can turn it off for release. :D

  • Im using Dev-C++, yea the debugging thing is a great idea :D

    Not sure how to turn it off though, dont even know how i turned it on lol

  • Okedokey. After you open your project, go to Project > Project Options (Alt+P).

    On that window, on the bottom-right, you'll see a section labelled "Type". Change that to Win32 GUI to get rid of the Console (dos) window.

    On the bottom left side of this window, you can change the .exe's icon. :D

  • Awesome, thanks for the help :D

  • wow i feel so nooby i'm trying to learn dark gdk so i think i'll do that for now

  • This is great, now I finally feel like getting back in to programing again.

    Just going to brush up on the basics again before I start.

    =)

  • Add a paypal link to your site so we can donate im from the uk so the T-Shirt is a no go dilivery charge is a little high. But if you add a donate via paypal link thing of like $5 - $15 then i can donate

  • There is a link, under Store. I guess I should figure out a better name for that though

  • Donated $30 thnx for the help and i hope you get your internet back asap.

    P.s - its mikesherps lol

  • where do i download allergo

  • Check the first video for links

  • it works! woot tyvm

  • I see a vast improvement in your teaching skills! Very organized... You must have spent quite a while on this series of tutorials!

  • Cool presentation. It feels like I am watching this video for an actual programming class...

  • Now kids, watch this video while I go surf ebay for air guitars...

    *sneaks away*

  • Yaaaaay :D , Education :)

  • lol i love this tutorial its very educational and fun to look at awesome work

  • Hehe.

    Cutest programming tutorial you'll ever see? ;D

  • By far :P

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