Video tutorial to create a point & click on Atari Falcon with FGDL

Hardware, coding, music, graphic and various applications

Moderators: Mug UK, lp, [ProToS], moondog/.tSCc., Moderator Team

Post Reply
User avatar
Orion_
Atari Super Hero
Atari Super Hero
Posts: 571
Joined: Sat Jan 10, 2004 12:20 pm
Location: France
Contact:

Video tutorial to create a point & click on Atari Falcon with FGDL

Post by Orion_ »

Hello,

I created a C library for the Atari Falcon that makes it easier to develop games and demos on this machine.
I also created a series of tutorial videos to show an example of creating a very basic point & click with the library.
The FGDL library support 3 different video modes: 320x240x8, 320x240x16, 640x480x8
Double and Triple Buffering.
Virtual screen hardware scrolling.
Palette Fading and conversion from PC format.
GIF Image loading.
Blitter sprite drawing with automatically generated transparency mask.
Keyboard, Mouse and Joystick support.
A Sound mixer with up to 4 channels and WAV file loading.
A Cinepak video player.
CT60 accelerator card and C2P functions.
A random number generator.
A tiny libC for very small executable size.

2 examples are included, one for the standard falcon showing how to create a very basic point & click game, and the second example is a very small demo for the CT60 demonstrating C2P.

Link to the video tutorials playlist: https://www.youtube.com/watch?v=9zKGLaB ... LY&index=1
Link to the FGDL library: https://orionsoft.itch.io/atari-falcon- ... mo-library

Hoping that this can help people to realize their projects on the Falcon :)
User avatar
Cyprian
10 GOTO 10
10 GOTO 10
Posts: 3288
Joined: Fri Oct 04, 2002 11:23 am
Location: Warsaw, Poland

Re: Video tutorial to create a point & click on Atari Falcon with FGDL

Post by Cyprian »

wow, great!
Lynx I / Mega ST 1 / 7800 / Portfolio / Lynx II / Jaguar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
Hatari / Steem SSE / Aranym / Saint
http://260ste.atari.org
User avatar
damoebius
Atari nerd
Atari nerd
Posts: 49
Joined: Tue Nov 29, 2022 12:53 pm

Re: Video tutorial to create a point & click on Atari Falcon with FGDL

Post by damoebius »

Capture d’écran 2024-11-24 112418.png
Thank you so much.
I was able to end the first tutorial few days ago.
Tomorrow, i'll do the second tutorial.
You do not have the required permissions to view the files attached to this post.
David,
Atari Falcon 030 + DFB1X @50Mhz
User avatar
damoebius
Atari nerd
Atari nerd
Posts: 49
Joined: Tue Nov 29, 2022 12:53 pm

Re: Video tutorial to create a point & click on Atari Falcon with FGDL

Post by damoebius »

EDIT : My mad, i miss GIF_Load :D
So it's work now

Noooooo, i failed to display a single gif :(
I ony got a black screen.

Any idea on what's wrong ?

Code: Select all

#include "tinylibc.h"
#include "fgdl.h"
#include "gif.h"

int _main(void)
{
    char *error;
    uint32_t palette[256];
    uint16_t w, h;
    void *gifdata;

    error = FGDL_Init(VM_320x240_8BITS, 320, 240);

    if (error)
    {
        puts(error);
        return (-1);
    }

    gifdata = ("el1.gif", &w, &h, palette, true);

    if (!gifdata)
    {
        FGDL_Exit();
        return (-1);
    }

    memcpy(FGDL_CurrentScreenPtr, gifdata, w * h);
    FGDL_SetPalette(palette, 0, 256);

    while (FGDL_Keyboard != (FGDL_KEY_ESC | FGDL_KEY_RELEASE_FLAG))
    {
        FGDL_WaitVBL();
    }

    FGDL_free(gifdata);
    FGDL_Exit();

    return (0);
}
David,
Atari Falcon 030 + DFB1X @50Mhz
User avatar
damoebius
Atari nerd
Atari nerd
Posts: 49
Joined: Tue Nov 29, 2022 12:53 pm

Re: Video tutorial to create a point & click on Atari Falcon with FGDL

Post by damoebius »

Mmm, i try to load my own GIF in VM_640x480_8BITS but i got

Code: Select all

GIF: file 'bg.gif' format error
Strange because it's a 640x480 256 indexed colors.
You do not have the required permissions to view the files attached to this post.
David,
Atari Falcon 030 + DFB1X @50Mhz
User avatar
damoebius
Atari nerd
Atari nerd
Posts: 49
Joined: Tue Nov 29, 2022 12:53 pm

Re: Video tutorial to create a point & click on Atari Falcon with FGDL

Post by damoebius »

Yeaaaah.
Thanks to Orion, gif format has to be the old 87a.
I used this online tool https://www.vertopal.com/
Capture d’écran 2024-11-29 104543.png
You do not have the required permissions to view the files attached to this post.
David,
Atari Falcon 030 + DFB1X @50Mhz
User avatar
damoebius
Atari nerd
Atari nerd
Posts: 49
Joined: Tue Nov 29, 2022 12:53 pm

Re: Video tutorial to create a point & click on Atari Falcon with FGDL

Post by damoebius »

Hello there,
I just wanted to share with you, my progress.
Today i drawn a mouse cursor 8)
There's no little victory.
Enregistrement-de-l_écran-2024-12-06-091851.gif
You do not have the required permissions to view the files attached to this post.
David,
Atari Falcon 030 + DFB1X @50Mhz
User avatar
Orion_
Atari Super Hero
Atari Super Hero
Posts: 571
Joined: Sat Jan 10, 2004 12:20 pm
Location: France
Contact:

Re: Video tutorial to create a point & click on Atari Falcon with FGDL

Post by Orion_ »

nice :)
User avatar
Orion_
Atari Super Hero
Atari Super Hero
Posts: 571
Joined: Sat Jan 10, 2004 12:20 pm
Location: France
Contact:

Re: Video tutorial to create a point & click on Atari Falcon with FGDL

Post by Orion_ »

I updated the library with a shoot'em up mini game example, I will soon release a video explaining how to do it.
User avatar
Orion_
Atari Super Hero
Atari Super Hero
Posts: 571
Joined: Sat Jan 10, 2004 12:20 pm
Location: France
Contact:

Re: Video tutorial to create a point & click on Atari Falcon with FGDL

Post by Orion_ »

New video tutorial on how to make a Shoot'em Up mini game for the Atari Falcon using the FGDL game library.
In this tutorial we will review the code of the Shoot'em Up mini game example provided with the game library.
https://www.youtube.com/watch?v=Iq2FtDuSzQc
User avatar
alexh
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 3097
Joined: Wed Oct 20, 2004 1:52 pm
Location: UK - Oxford
Contact:

Re: Video tutorial to create a point & click on Atari Falcon with FGDL

Post by alexh »

Thanks for all your hard work on our platforms. I did enjoy Elansar & Philia a long time ago.
Post Reply

Return to “Professionals”