Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 06:34
    Build #3704 passed
  • 06:34
    Build #3704 passed
  • Jul 25 16:33
    Build #3703 passed
  • Jul 25 16:33
    Build #3703 passed
  • Jul 25 12:05
    Build #3702 passed
  • Jul 25 12:05
    Build #3702 passed
  • Jul 23 17:58
    Build #3701 passed
  • Jul 23 17:58
    Build #3701 passed
  • Jul 23 16:22
    Build #3700 passed
  • Jul 23 16:22
    Build #3700 passed
  • Jul 23 16:06
    Build #3699 passed
  • Jul 23 16:06
    Build #3699 passed
  • Jul 17 15:08
    Build #3697 passed
  • Jul 17 15:08
    Build #3697 passed
  • Jul 17 12:04
    Build #3696 passed
  • Jul 17 12:04
    Build #3696 passed
  • Jul 13 06:13
    Build #3691 passed
  • Jul 13 06:13
    Build #3691 passed
  • Jul 12 17:51
    Build #3690 passed
  • Jul 12 17:51
    Build #3690 passed
tanos
@TacoGit
i got this piece of code
````if (this.pX != MouseManager.X && this.pY != MouseManager.Y)
{
if (MouseManager.X < 2 || MouseManager.Y < 2 || MouseManager.X > (MouseManager.ScreenWidth - 2) || MouseManager.Y > (MouseManager.ScreenHeight - 2))
return;
            this.pX = MouseManager.X;
            this.pY = MouseManager.Y;

            Sys.Graphics.Point[] point = new Sys.Graphics.Point[]
            {
                new Sys.Graphics.Point((Int32)MouseManager.X,(Int32)MouseManager.Y),
                new Sys.Graphics.Point((Int32)MouseManager.X+1,(Int32)MouseManager.Y),
                new Sys.Graphics.Point((Int32)MouseManager.X+1,(Int32)MouseManager.Y),
                new Sys.Graphics.Point((Int32)MouseManager.X,(Int32)MouseManager.Y+1),
                new Sys.Graphics.Point((Int32)MouseManager.X,(Int32)MouseManager.Y)
            };

            foreach (Tuple<Sys.Graphics.Point, Color> pixelData in this.savedPixels)
            {
                this.canvas.DrawPoint(new Pen(pixelData.Item2), pixelData.Item1);
                this.savedPixels.Clear();
            }


            this.savedPixels.Clear();

            foreach (Sys.Graphics.Point p in point)
            {

                this.savedPixels.Add(new Tuple<Sys.Graphics.Point, Color>(p, this.canvas.GetPointColor(p.X, p.Y)));
               this.canvas.DrawPoint(this.pen, p);
                this.savedPixels.Clear();
            }

            if (MouseManager.MouseState == MouseState.Left&&this.prevMouseState!=MouseState.Left)
                System.Console.Beep();

            this.savedPixels.Clear();
            this.prevMouseState = MouseManager.MouseState;
        }````
this is suppose to make a cursor
it works but makes a trail, how do I fix the cursor trail?
Quajak
@quajak
You have to clear the console after each draw/erase the old cursor
raxracks
@raxracks
you should use a double buffer
raxracks
@raxracks
i guess if you're just getting started you should use the canvas but it isnt great
Charles Betros
@charlesbetros
Which platform should we use for the Cosmos communiyy?
https://www.surveymonkey.com/r/5YWCBP7
raxracks
@raxracks
the discord is cool
more people should join
BlitzWolfMatthew
@BlitzWolfMatthew
^^^true
Charles Betros
@charlesbetros
The plan is to create an official Discord so we can moderate it
BlitzWolfMatthew
@BlitzWolfMatthew
@charlesbetros to be honest you should just make one anyway
BlitzWolfMatthew
@BlitzWolfMatthew
It is by far superior to gitter in terms of functions and it will help the community expand
BlitzWolfMatthew
@BlitzWolfMatthew
image.png
Someone explain
Charles Betros
@charlesbetros
Testing we hooks in our new Discord :)
BlitzWolfMatthew
@BlitzWolfMatthew
@Chaosdrachin when will it be released? Or if it is already released, where can I get the link from?
Wrong ping oof
Seth G. R. Herendeen
@sherendeen
Hello. If I am using the Cosmos Kit Builder, how long should the step "Installing Repos: IL2CPU, XSharp and Common..." take? Thank you in advance.
Additional information: I ran install-VS2019.bat as administrator.
Quajak
@quajak
If it didnt work, stop the installer
and manually pull the projects
it somtimes get stuck
Quajak
@quajak
We have decided to move to a discord server! Please head over there to discuss everything cosmos related.
Vip181
@Vip181
hello world
BlitzWolfMatthew
@BlitzWolfMatthew
hello!
Vip181
@Vip181
I have a little problem
I can't throw my bone a wander is displayed
ExceptioSystem.Exception
lancée mon os
someone and the
Kudzu
@czhower

We have decided to move to a discord server! Please head over there to discuss everything cosmos related.

https://discord.com/invite/kwtBwv6jhD

Prisision
@Prisision
hey i cant find any help on the dc server so HELP
i cant use DrawImage
Doonort3
@Doonort3
Hello, how can I implement the 'cd' command?
Deniz-seckin55
@Deniz-seckin55
Hi, I have a problem with cosmos kernel C#. It gives me an error called "<Enum.ToString> is not implemented". But I didn't use any ".ToString" function. I used + "". Can anyone help?
Oh, I found the solution. But it wasn't about the string...
The error came from "listStack.RemoveAt(listStack.Count);"
Deniz-seckin55
@Deniz-seckin55
I don't know why
I changed it to "listStack.RemoveAt(listStack.Count-1);" and it worked
I know this is a problem but I don't know why the error is about ".ToString".
Misha
@MishaTY
Use the discord server to ask questions: https://discord.com/invite/kwtBwv6jhD
No one will answer here probably
Deniz-seckin55
@Deniz-seckin55
Ok
GodToRun
@GodToRun
how to use Font class?
i use drawing string method, but i dont know font
Misha
@MishaTY
Use the discord server to ask questions: https://discord.com/invite/kwtBwv6jhD
boyangsic
@boyangsic
image.png
image.png
cloud59314831
@cloud59314831
how to detect pressing arrow key in user kit??I need it to make a text selecter in text mode.
Misha
@MishaTY
Please use the discord server to ask questions: https://discord.com/invite/kwtBwv6jhD