Tutorial videos by LCL

Learn how to make certain types of games and use gameEditor.

Tutorial videos by LCL

Postby lcl » Thu Jun 07, 2012 8:25 pm

Hello all!

I have now started making the tutorials.
I will update all the video tutorials to this topic and non-video (xD)
tutorials will be published as independent topics.

Tutorial 1 - Timers
Image
Click the picture to see the video

Tutorial 2 - Bitmap Tutorial Part I
Image
Click the picture to see the video

Tutorial 3 - Bitmap Tutorial Part II
Image
Click the picture to see the video

Tutorial 4 - Showing text and numbers (using sprintf() function)
Image
Click the picture to see the video

More tutorials will come as I get them done.
Tell me if these tutorials are helpful and tell me what I need to do better for the tutorials to come.

I hope these are helpful! :)
Attachments
lclVideo.png
Just to make this topic be easier to find
Last edited by lcl on Sun Apr 07, 2013 8:49 pm, edited 5 times in total.
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Tutorial videos by LCL

Postby SuperSonic » Fri Jun 08, 2012 12:44 am

+1 for the bmp tutorial. I'm gonna watch it right now! :P

EDIT* Oh no! It's a cliff hanger! You have to make part 2 RIGHT NOW :shock:

Just kidding. Take your time :wink:
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score

Re: Tutorial videos by LCL

Postby Hblade » Fri Jun 08, 2012 2:51 am

Cool! :D
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: Tutorial videos by LCL

Postby lcl » Fri Jun 08, 2012 10:35 am

SuperSonic wrote:+1 for the bmp tutorial. I'm gonna watch it right now! :P

EDIT* Oh no! It's a cliff hanger! You have to make part 2 RIGHT NOW :shock:

Just kidding. Take your time :wink:

Yeah sorry about that, it was quite late here when I got the first part finished so I was too tired to make the another one. And I don't have time to work on the videos this weekend so you will have to wait a few days.. :/

But thanks for the point! :lol:
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Tutorial videos by LCL

Postby SuperSonic » Fri Jun 08, 2012 1:02 pm

lcl wrote:Yeah sorry about that, it was quite late here when I got the first part finished so I was too tired to make the another one. And I don't have time to work on the videos this weekend so you will have to wait a few days.. :/
Noooooo :cry:

lcl wrote:But thanks for the point! :lol:
Haha, no problem :wink:
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score

Re: Tutorial videos by LCL

Postby Jagmaster » Sat Jun 09, 2012 12:17 am

#define Awesome
void watch_tutorial()
{
bmp_tutorial = Awesome;
if(bmp_tutorial == Awesome)
{
lcl.points++;
Jagmaster.happy=true.
}
}

Kinda redundant with the if statement, but it gets the point across. :wink:
Keep 'em coming!
User avatar
Jagmaster
 
Posts: 875
Joined: Sun May 08, 2011 4:14 pm
Location: Not where you think.
Score: 82 Give a positive score

Re: Tutorial videos by LCL

Postby lcl » Sun Jun 10, 2012 7:04 am

Thanks Jagmaster! :)

@SuperSonic: I might have some good news for you, my sunday turned out to be a day with lots of free time so I'm pretty sure I can finish the BMP tutorial already today! :--)

I will probably make some other tutorials today too. Videos and/or written tutorials.
I think an essential thing will be the written version of the BMP tutorial. :D
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Tutorial videos by LCL

Postby lcl » Sun Jun 10, 2012 11:05 pm

Sorry, I can't get the tutorial done today.. I recorded the video but my microphone kept making strange noise and it was difficult to understand what I said because of that. After struggling with it I found out that the charger of my laptop was causing the noise.. :P

And now I'm too tired to make the tutorial anymore. I'm sorry but you will have to wait a little more.. :oops:
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Tutorial videos by LCL

Postby SuperSonic » Mon Jun 11, 2012 9:41 pm

lcl wrote:And now I'm too tired to make the tutorial anymore. I'm sorry but you will have to wait a little more.. :oops:
No problem. But it's good that you found what was making the noise :P
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score

Re: Tutorial videos by LCL

Postby lcl » Wed Jun 13, 2012 12:08 am

Bitmap tutorial has now been finished! :D

It seems that youtube messed up the sound on the part I of the bitmap tutorial, the sound is many seconds ahead the video.. :/
And I am sorry about that noise under my voice, it is most likely caused by my computers audio card, it may not be all that good. :P
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Tutorial videos by LCL

Postby SuperSonic » Wed Jun 13, 2012 1:07 am

No problem. This is GREAT! :P

+1 :wink:
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score

Re: Tutorial videos by LCL

Postby lcl » Wed Jun 13, 2012 11:05 am

Thanks, glad you like it :)
I hope more people will watch the videos and tell their opinions about them so I can develop the way I do the videos. :)
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Tutorial videos by LCL

Postby SuperSonic » Wed Jun 13, 2012 12:29 pm

Ok, I have this wierd problem. I used your code but I changed it just a bit. Here's what I have:
Code: Select all
void ViewBMP(char *FP, int X, int Y)
{
    int header[64], i, j, WIDTH, HEIGHT;
    unsigned char R, G, B;
 
    FILE *BMP = fopen(FP, "r+b");
 
    for(i = 0; i < 64; i++)
    {
        header[i] = fgetc(BMP);
    }
 
    WIDTH  = header[18]+header[19]*256;
    HEIGHT = header[22]+header[23]*256;
 
    fseek(BMP, header[10], SEEK_SET);
 
    for(j = HEIGHT-1; j <= 0; j--)
    {
        for(i = 0; i < WIDTH; i++)
        {
            B = fgetc(BMP);
            G = fgetc(BMP);
            R = fgetc(BMP);
 
            setpen(R, G, B, 0, 1);
            putpixel(i + X, j + Y);
        }
        fseek(BMP, WIDTH%4, SEEK_CUR);
    }
    fclose(BMP);
}
As you can see, I pretty much just added the ability to view the image with X and Y. But this is wierd, I have a bitmap called "bitmap.bmp" and I have a canvas and on the canvas's create event, I put this:
Code: Select all
ViewBMP("bitmap.bmp", 32, 32);
//This makes the bitmap get displayed 32 pixels right, and 32 pixels down from the top left corner of the canvas
For some reason, when I start the game, nothing happens. I even waited for a while but still nothing happened. It's only a 32x32 bitmap. I don't think it would take a long time to draw. Also, the canvas takes up my full screen so it's not too small. Do you know what's wrong? :|
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score

Re: Tutorial videos by LCL

Postby lcl » Wed Jun 13, 2012 2:01 pm

Have you tried the code with out the X and Y thing?
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Tutorial videos by LCL

Postby SuperSonic » Thu Jun 14, 2012 12:39 am

Yes, I have. Would you mind trying the code to see if it works for you? I'll give you a point just for trying :P
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score

Next

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest

cron