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.
@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.
@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...?
@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.
@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)
@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.
@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:(
@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.
"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 :)
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?
@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 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.
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.
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.
@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 ^^
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.
@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.
@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).
@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.
@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.
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!
@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(){};
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
@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
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?
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 :).
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.
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.
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 :/
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
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
Ohh i wish i understood more of the stuff youre talking about:( Do you have any recomandations for me to learn??
TheChillaThrilla 4 days ago in playlist More videos from LusikkaMage
@TheChillaThrilla antirtfm on YouTube has some beginner C++ video tutorials
LusikkaMage 4 days ago
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.
MrShyguy0 1 week ago
Comment removed
GeicoSoilder 3 weeks ago in playlist Beginner's/Game Programming 1
my windows theme changes to windows basic when i launch this application why is that?
politicaltruth42 3 weeks ago
@politicaltruth42 ok it was because color depth was set to 16 i changed it to 32 and it fixed the problem
politicaltruth42 3 weeks ago
i am using microsoft visual c++ 2010 express edition along with allegro5. how would i set up the linker now?
Type0ForeignTaco 1 month ago
@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.
MrKmose 1 month ago
you should put a link in for allegro. idk what to look 4 in google.
kidharris55 1 month ago
@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...?
MrKmose 1 month ago
At 2:00, do you really need the 'clear_bitmap( buffer )' because it is essentially being cleared when you fill it isn't it?
SuperEpicSounds 1 month ago
I wish this worked for Allegro5 because I can't figure out how to get Allegro4 installed.
TarousDT 2 months ago
wow....... thats a lot to gather from this so were dose my skilll start and my thinking end?????? lol
lordvurlance 3 months ago
I know how to start my computer =)
korken4 4 months ago in playlist Beginner's/Game Programming 1
@korken4 The most important think to know! A++
MrKmose 1 month ago 2
why isn't the color working, I have your code down exactly but the color is black. What am I doing wrong?
askmiller 4 months ago
Ugh, My brain Hurts.....
ThEBuRRo133 4 months ago
@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.
SuperShadowMarioFan 2 months ago
Comment removed
Prussiaaccount 5 months ago
Circular Main <- Main.o dependency dropped. E:\Dev-Cpp\Projects\Makefile.win [Build Error] ["Allegro] Error 1
help plz?
DemangoProductions 5 months ago
@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 5 months ago
@Prussiaaccount thnx but i already had solved this myself :D
DemangoProductions 5 months ago
Ultimate brain fart
InsaneBlizzard 5 months ago
btw... why do i need to destry a bitmaps? just asking :)
pecololek 6 months ago
@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 6 months ago
@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 6 months ago
@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.
CoderRach 6 months ago
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:(
drkevakamrkev 6 months ago
Ah, theres' other thing..Dev-cpp give's me an erorr about 'blint' (tells me it's undeclared). How can I solve it?
maxinimrod 6 months ago
@maxinimrod sorry, my bad, it was BLIT not bliNt
maxinimrod 6 months ago
@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)
LusikkaMage 6 months ago
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 6 months ago
@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.
LusikkaMage 6 months ago 7
@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
Destroyer19941995 22 hours ago in playlist Beginner's/Game Programming 1
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_version_check
unresolved external symbol __imp___WinMain
could you help me?
jelleverest 6 months ago
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 :)
swu880 6 months ago
The code makes me sad with all the " ); "
TheExplodingPumpkin 7 months ago
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 7 months ago
@taloton Read up on Constructors and Destructors. Other sites will be able to describe it better than I can in 400 characters.
LusikkaMage 7 months ago 2
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 7 months ago
@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
LusikkaMage 7 months ago
@THEFEDERER1992 As far as a know you #000000 is the color code for black.
TheExplodingPumpkin 7 months ago
@LusikkaMage thanku..............can u explain abt bitmap buffer..........how to put an image in d code...?
THEFEDERER1992 7 months ago
@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.
LusikkaMage 7 months ago
Comment removed
THEFEDERER1992 7 months ago
Brilliant!
uplodertopics 7 months ago
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?
9000failurez 8 months ago
I love knowledge :D
GT101boy 8 months ago
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 9 months ago
@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 9 months ago
@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 9 months ago
@LusikkaMage i'm using Code::Blocks, is DevC++ another IDE? or a form of using the devpak?
MrHankkey93 9 months ago
@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 9 months ago
@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 9 months ago
@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 9 months ago
@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 ^^
MrHankkey93 9 months ago
so confusing -.-??
masterjackie1 9 months ago
@masterjackie1 Need to pick up a C++ textbook and begin with learning the language.
LusikkaMage 9 months ago
@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 9 months ago
@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.
LusikkaMage 9 months ago
my program stops responding?
Xaloez 9 months ago
Nevermind, found it >.<
Epsio0 9 months ago
Umm... How do you link/linker on Dev C++? >.<' Sorry for the noob question...
Epsio0 9 months ago
Very Helpful
acesatyab 9 months ago
Your tutorial helped me a lot, I have just started Allegro, Thanks for so much help...
acesatyab 9 months ago
This has been flagged as spam show
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 10 months ago
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 10 months ago
@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 10 months ago
@CoderRach Now i realize that i do not want to code my games so i am now using MultiMedia Fusion 2
shakarlay 10 months ago
that piano jingle in your transitions is catchy
matcpn 10 months ago
Screw going to school, I'd rather do this.
firehead333 1 year ago
@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 1 year ago
@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 1 year ago
@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 1 year ago
@ImTheBatchMan I'll do that. ;)
firehead333 1 year ago
Where the fuckis the written tutorial then?
FrozenMasters 1 year ago
@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 1 year ago
@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 1 year ago
@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 1 year ago
@LusikkaMage Thanks then
FrozenMasters 1 year ago
@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
9wrongnumber 1 year ago
wut is blit?
TastyQQQs 1 year ago
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!
Squee505 1 year ago
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 1 year ago
@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(){};
retardierteKACKE 1 year ago
how do i add an image ?
sam421kc 1 year ago
@sam421kc That's covered in part 4
LusikkaMage 1 year ago
is allegro easier to program a game then SDL?
sam421kc 1 year ago
@sam421kc I find SFML to be the easiest, with Allegro being 2nd easiest.
LusikkaMage 1 year ago
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 1 year ago
@MrSaggat
Maybe you should send us the Error?
AnewBANDareHERE 1 year ago
@AnewBANDareHERE Neh, im programming in SDL now. I already made Pong and a 2d fight game :):)lazyfoo FTW
MrSaggat 1 year ago
hehe did your character just smash the keyboard with her head xD at 0:34
waytohell2 1 year ago
i don't get it?
what exactly iam i suppose to type?
sailornaruto39 1 year ago
@sailornaruto39 Maybe check out the written version of the tutorial on my website. It "goes" slower.
LusikkaMage 1 year ago
@LusikkaMage ok. i will try.
sailornaruto39 1 year ago
i love your videos! your great. and i really like all the emotions your little girl character has :)
MrDuskling 1 year ago
[Linker error] undefined reference to `System::System()' ?
Psycho1922 1 year ago
@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
LusikkaMage 1 year ago
Comment removed
Psycho1922 1 year ago
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.
Lukerasoft 1 year ago
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 1 year ago
@AnewBANDareHERE Care to describe the symptoms with more detail?
LusikkaMage 1 year ago
@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 :')
AnewBANDareHERE 1 year ago
awesomee~
zengrz 1 year ago
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?
iLimeMoose 1 year ago
You I just enjoy thee videos for the cute animations ^^
MrMelonBread 1 year ago
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*
OnixTeamCo 1 year ago
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 :).
NeoAndyDS 2 years ago
This should help you a lot:
watch?v=B44tSBJCcfU
Gills3339 2 years ago
Thanks a bunch! That video really helped me to get Allegro working with no problems.
NeoAndyDS 1 year ago
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.
byteXI 2 years ago
what happens if you draw to the buffer outside of the bounds? Will it result in an error?
iamawesometoo 2 years ago
i cant open project options in dev-C++.... gets me a address 0012F647 error..
I have vista ultimate...
McClover 2 years ago
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.
LusikkaMage 2 years ago
Try " eclipse for c/c++ " (:
m4unot 1 year ago
@LusikkaMage Although I hate to say it, VC++ 2010 is your best bet
MrMelonBread 1 year ago
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.
wwwbasicpcom 2 years ago
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 :/
TheFinalFanatic 2 years ago
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
LusikkaMage 2 years ago
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
TheFinalFanatic 2 years ago
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
LusikkaMage 2 years ago
Awesome, thanks for the help :D
TheFinalFanatic 2 years ago
wow i feel so nooby i'm trying to learn dark gdk so i think i'll do that for now
VicpixEntertainment 2 years ago
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.
=)
RibReaper 2 years ago
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
mikesherps 2 years ago
There is a link, under Store. I guess I should figure out a better name for that though
LusikkaMage 2 years ago
Donated $30 thnx for the help and i hope you get your internet back asap.
P.s - its mikesherps lol
GuiltyGeek 2 years ago
where do i download allergo
kimarhi23232 2 years ago
Check the first video for links
LusikkaMage 2 years ago
it works! woot tyvm
hebronsawyers 2 years ago
I see a vast improvement in your teaching skills! Very organized... You must have spent quite a while on this series of tutorials!
TheBatchGuy 2 years ago 11
Cool presentation. It feels like I am watching this video for an actual programming class...
ccricers 2 years ago 3
Now kids, watch this video while I go surf ebay for air guitars...
*sneaks away*
LusikkaMage 2 years ago
Yaaaaay :D , Education :)
robotwo 2 years ago 16
lol i love this tutorial its very educational and fun to look at awesome work
gonzo191 2 years ago 2
Hehe.
Cutest programming tutorial you'll ever see? ;D
LusikkaMage 2 years ago
By far :P
Korlebro 2 years ago 3