Lazarus

Programming => Graphics and Multimedia => Games => Topic started by: Guva on August 18, 2022, 05:32:32 am

Title: Ray4Laz Examples
Post by: Guva on August 18, 2022, 05:32:32 am
I have created a repository with examples for raylib rewritten in pascal language from third-party developers.
https://github.com/GuvaCode/Ray4LazExample (https://github.com/GuvaCode/Ray4LazExample)

So far there is only one example rewritten from c++


Title: Re: Ray4Laz Examples
Post by: Guva on August 23, 2022, 07:24:03 pm
I found a good example of a shader in c.
and I decided to rewrite it to pascal as well
Title: Re: Ray4Laz Examples
Post by: retronick on August 23, 2022, 10:22:41 pm
Guva - thanks for spending all tis effort getting raylib working with laz/freepascal and converting the example programs.

any chance of doing rpg template project. something that uses the camera 2d to scroll the world. I have seen the 2d platformer example but i am looking at something more tile based.

I am working at this myself but slow going do far as I am trying to figure when to pan the camera and when to move the player.

Title: Re: Ray4Laz Examples
Post by: Guva on August 24, 2022, 03:42:13 am
Guva - thanks for spending all tis effort getting raylib working with laz/freepascal and converting the example programs.

any chance of doing rpg template project. something that uses the camera 2d to scroll the world. I have seen the 2d platformer example but i am looking at something more tile based.

I am working at this myself but slow going do far as I am trying to figure when to pan the camera and when to move the player.

Yes of course. I will try to do something similar one of these days.
P. S thanks for your video. And also for the raster master.

P.S.S add example camera 2d and texture scaling
Title: Re: Ray4Laz Examples
Post by: retronick on August 25, 2022, 04:30:09 am
thanks Guva - this is a good start.  I will work on it see how I can improve.
Title: Re: Ray4Laz Examples
Post by: Guva on August 26, 2022, 06:28:39 pm
Added some new examples.

Morphing,
Drag panning for 2D camera,
World space panning,
FPS shoot bullet,
FPS 50x50 Cube ground,
FPS camera in cubebox,
Camera in LCL,
Video Acinerella.
Title: Re: Ray4Laz Examples
Post by: Blade on February 24, 2023, 05:51:39 am
Probably should put up the main link too.

https://github.com/GuvaCode/Ray4Laz
TinyPortal © 2005-2018