# DSDrive - game is finished

**URL:** <https://forum.castle-engine.io/t/dsdrive-game-is-finished/752>\
**Category:** Show Your Projects\
**Created:** [March 1, 2023, 3:10pm UTC](https://forum.castle-engine.io/t/dsdrive-game-is-finished/752 "2023-03-01T15:10:21Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Didi](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/didi/32/1908_2.png) [@Didi](https://forum.castle-engine.io/u/Didi)\
**Post date:** [March 1, 2023, 3:10pm UTC](https://forum.castle-engine.io/t/dsdrive-game-is-finished/752/1 "2023-03-01T15:10:21Z")

</div>

Hi everyone,

I finished my game now 😃. it is made entirely with CGE and Lazarus (and Blender and LazPaint).  
It is a car race game against 10 opponents and/or time. You can save the best lap time in highscore.  
You can choose between three weather types or random weather. In the box you can change tires, refuel, change the brake or adjust the wing angle. You can drive in three different views on three different tracks. I use only simple physics (gravity).  
Please let me know if someone is interested in code.

some screenshots:  
 ![grafik](https://forum.castle-engine.io/uploads/default/original/2X/4/490e5e06e6e08427fede549738254dbd616562eb.jpeg)  
 ![grafik](https://forum.castle-engine.io/uploads/default/original/2X/9/941de600135ffcffce2d38d3202c533fc4b0ae65.jpeg)  
 ![grafik](https://forum.castle-engine.io/uploads/default/original/2X/f/fad4ef76e18dac4cd342d0df18469d133f5049df.png)  
 ![grafik](https://forum.castle-engine.io/uploads/default/original/2X/4/424d8bbd2b28f18b49c384fcfd0e0c3b7965b01f.jpeg)  
 ![grafik](https://forum.castle-engine.io/uploads/default/original/2X/e/eaefda8c0154f59c817502aa9b19422c3d9a966f.jpeg)  
 ![grafik](https://forum.castle-engine.io/uploads/default/original/2X/3/32d5dd1f52af627fa16ea54b65f9178a04aa6849.jpeg)  
 ![grafik](https://forum.castle-engine.io/uploads/default/original/2X/a/a3032508f697bcb561ce3ad777532644b5f44b86.jpeg)

regards  
didi

---

<div class="post-metadata">

**Author:** ![michalis](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/michalis/32/3_2.png) [@michalis](https://forum.castle-engine.io/u/michalis)\
**Post date:** [March 1, 2023, 10:08pm UTC](https://forum.castle-engine.io/t/dsdrive-game-is-finished/752/2 "2023-03-01T22:08:22Z")

</div>

Looks cool!

Well I’m interested in anything you’d like to share 🙂

- Do you have a downloadable version (executable) to play? If not yet, do you maybe want to upload one (e.g. to [https://itch.io/](https://itch.io/) ?). I would happily link to it from [Games using Castle Game Engine | Castle Game Engine](https://castle-engine.io/gallery_games.php) .

- Do you have any videos, e.g. on YouTube? Screenshots are cool, videos are cooler 🙂

- And if you want to share the code, to just allow every developer to play – of course I would be happy to see it 🙂 Note that I would still recommend to upload a ready binary with the game e.g. to [https://itch.io/](https://itch.io/) and/or as a release of the GitHub / GitLab project. This allows even people who are not FPC/CGE developers to get your game easier.

---

<div class="post-metadata">

**Author:** ![Didi](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/didi/32/1908_2.png) [@Didi](https://forum.castle-engine.io/u/Didi)\
**Post date:** [March 2, 2023, 6:16pm UTC](https://forum.castle-engine.io/t/dsdrive-game-is-finished/752/3 "2023-03-02T18:16:40Z")

</div>

this is my first try on [itch.io](http://itch.io). I hope everything is set up properly.

> **[DSDrive by didisoft](https://didisoft.itch.io/dsdrive)**
>
> car race game

Does it make sense to upload the \*.pas-files on [itch.io](http://itch.io) as well?

regards  
didi

---

<div class="post-metadata">

**Author:** ![NiunioMartinez](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/niuniomartinez/32/2232_2.png) [@NiunioMartinez](https://forum.castle-engine.io/u/NiunioMartinez)\
**Post date:** [March 3, 2023, 9:36am UTC](https://forum.castle-engine.io/t/dsdrive-game-is-finished/752/4 "2023-03-03T09:36:34Z")

</div>

It looks great.

I’ve put it in my _pending games_ list in [itch.io](http://itch.io) because I have not Windows right now. Maybe I’ll try Wine later. Also if you publish the sources I would try to compile for Debian and tell you if it works.

---

<div class="post-metadata">

**Author:** ![Didi](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/didi/32/1908_2.png) [@Didi](https://forum.castle-engine.io/u/Didi)\
**Post date:** [March 3, 2023, 5:52pm UTC](https://forum.castle-engine.io/t/dsdrive-game-is-finished/752/5 "2023-03-03T17:52:33Z")

</div>

Source code is now also available for download.

Pleas let me know if it works under Debian.

---

<div class="post-metadata">

**Author:** ![eugeneloza](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/eugeneloza/32/12_2.png) [@eugeneloza](https://forum.castle-engine.io/u/eugeneloza)\
**Post date:** [March 3, 2023, 6:28pm UTC](https://forum.castle-engine.io/t/dsdrive-game-is-finished/752/6 "2023-03-03T18:28:52Z")

</div>

Yes it works!

I’ve managed to make a build 🙂 There are a few issues with the code. Two files are case-sensitive (you call DSDRIVE\_options.txt in several times as `dsdrive_options.txt`) and in one place you use `\` instead of Unix-style `/`. Plus `Action-Rock.ogg` is capitalized in Audio folder, but not capitalized in the `index.xml`. `Track_Austria` has first letter capitalized, also had to be fixed.

When I’ve fixed those issues the game compiled, launched and ran perfectly!

 ![2023-03-03-202514_1366x768_scrot](https://forum.castle-engine.io/uploads/default/original/2X/3/333f84b1e43445a56b42956b13b816d94fe705ee.jpeg)  
 ![2023-03-03-202749_1366x768_scrot](https://forum.castle-engine.io/uploads/default/original/2X/a/a56d5657a775a37ceac27839e3e037cb55dbad6d.jpeg)

---

<div class="post-metadata">

**Author:** ![eugeneloza](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/eugeneloza/32/12_2.png) [@eugeneloza](https://forum.castle-engine.io/u/eugeneloza)\
**Post date:** [March 3, 2023, 6:33pm UTC](https://forum.castle-engine.io/t/dsdrive-game-is-finished/752/7 "2023-03-03T18:33:08Z")

</div>

> [@Didi](#):
>
> Does it make sense to upload the \*.pas-files on [itch.io](http://itch.io) as well?

If you don’t mind being open source GitHub/GitLab is a better option to store code. E.g. this way I could have easily made a fork of your project and made a pull request with the fixes above so you wouldn’t have to guess where exactly to fix that 🙂

---

<div class="post-metadata">

**Author:** ![eugeneloza](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/eugeneloza/32/12_2.png) [@eugeneloza](https://forum.castle-engine.io/u/eugeneloza)\
**Post date:** [March 3, 2023, 6:48pm UTC](https://forum.castle-engine.io/t/dsdrive-game-is-finished/752/8 "2023-03-03T18:48:11Z")

</div>

Got one more file: `DSDRIVE_highscore` with incorrect capitalization, when won (came the last :D) the race

---

<div class="post-metadata">

**Author:** ![Didi](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/didi/32/1908_2.png) [@Didi](https://forum.castle-engine.io/u/Didi)\
**Post date:** [March 3, 2023, 10:11pm UTC](https://forum.castle-engine.io/t/dsdrive-game-is-finished/752/9 "2023-03-03T22:11:54Z")

</div>

Thanks for the information.  
That means Linux is case sensitive. Windows has no problem with this. Good to know.

---

<div class="post-metadata">

**Author:** ![michalis](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/michalis/32/3_2.png) [@michalis](https://forum.castle-engine.io/u/michalis)\
**Post date:** [March 3, 2023, 11:25pm UTC](https://forum.castle-engine.io/t/dsdrive-game-is-finished/752/10 "2023-03-03T23:25:43Z")

</div>

> [@Didi](#):
>
> That means Linux is case sensitive. Windows has no problem with this. Good to know.

Indeed, almost all non-Windows systems are now Unix or derived from Unix, and all of them (Linux, Android, iOS…) have case-sensitive filesystems by default.

Note that we have in CGE a variable to deal with it automatically: `CastleDataIgnoreCase`, [https://castle-engine.io/apidoc/html/CastleURIUtils.html#CastleDataIgnoreCase](https://castle-engine.io/apidoc/html/CastleURIUtils.html#CastleDataIgnoreCase) . I would not advise to use it in long run (fixing the files is usually easy), but it’s actually a great solution if you develop mostly on Windows and want the game to run with minimal effort on cases-sensitive filesystems. You can just set it to `true` and forget 🙂

> [@eugeneloza](#):
>
> > [@Didi](#):
> >
> > Does it make sense to upload the \*.pas-files on [itch.io](http://itch.io) as well?
> 
> If you don’t mind being open source GitHub/GitLab is a better option to store code. E.g. this way I could have easily made a fork of your project and made a pull request with the fixes above so you wouldn’t have to guess where exactly to fix that 🙂

Agreed 🙂 That is, [itch.io](http://itch.io) works if you want to just distribute source code as a zip… but putting source code on GitHub / GitLab is better 🙂 – you get version control, everyone gets ability to send pull requests etc. And you get cool toys like GutHub Actions / GitLab CI that make building for you ( [GitHub Actions | Manual | Castle Game Engine](https://castle-engine.io/github_actions) , [GitLab CI/CD | Manual | Castle Game Engine](https://castle-engine.io/gitlab_ci) ).

Thank you for putting the game on [itch.io](http://itch.io)!

---

<div class="post-metadata">

**Author:** ![michalis](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/michalis/32/3_2.png) [@michalis](https://forum.castle-engine.io/u/michalis)\
**Post date:** [April 21, 2023, 2:21pm UTC](https://forum.castle-engine.io/t/dsdrive-game-is-finished/752/11 "2023-04-21T14:21:35Z")

</div>

Note that we’ve made a news post about DSDrive today 🙂 See [DSDrive – a new racing game made in Castle Game Engine – Castle Game Engine](https://castle-engine.io/wp/2023/04/21/dsdrive-a-new-racing-game-made-in-castle-game-engine/) , on forum too on [DSDrive - a new racing game made in Castle Game Engine](https://forum.castle-engine.io/t/dsdrive-a-new-racing-game-made-in-castle-game-engine/795) .
