raylib-d how to program a simple moving circle.

Alain De Vos devosalain at ymail.com
Sat Nov 30 01:26:49 UTC 2024


On Friday, 29 November 2024 at 22:35:14 UTC, Steven Schveighoffer 
wrote:
> On Friday, 29 November 2024 at 22:02:23 UTC, Alain De Vos wrote:
>> On Friday, 29 November 2024 at 21:37:48 UTC, Alain De Vos 
>> wrote:
>>> I can do "dub add raylib-d" but i have no clue to program a 
>>> simple moving circle.
>>
>> Following program has an import error
>>
>> ```d
>>
>> import std.stdio: writeln;
>>
>> import raylib; //Error
>> ```
>
> Makes no sense. Can you post the dub.json?
>
> -Steve

I had Canvasity in dub.json , so i removed it.
My current dub.json is :

```

{
	"authors": [
		"x"
	],
	"copyright": "Copyright © 2024, x",
	"dependencies": {
		"raylib-d": "~>5.5.1"
	},
	"description": "A minimal D application.",
	"license": "proprietary",
	"name": "myprogram"
}



```



More information about the Digitalmars-d-learn mailing list