Return to site

2d game engine c

broken image
broken image

True/False to move the object using the keyboard or not. Number determine the index of the object in objects list. Number determine the height of the object. Number determine the width of the object. Number determine the y position of the object. Number determine the x position of the object. True/False determine the state of the object (Active/Not Active) The next table present the class attributes.

broken image

You have the same functions but we can build on that using the Ring language features Using RingAllegro and RingLibSDL is very similar to using Allegro and LibSDL from C code where Then the generator process this configuration file to produce the C code and the library To use the LibSDL game programming library.īoth of RingAllegro and RingLibSDL are created using the C language with the help of theĮach of them is over 10,000 lines of C code which is generated after writing simple configurationįiles (That are processed by the code generator).Įach configuration file determines the functions names, structures information and constants

broken image

We already have RingAllegro to use the Allegro game programming library and we have RingLibSDL

broken image