A little help for a newbie

Pixilang programming language
Post Reply
Posts: 1
Joined: Wed Dec 02, 2020 2:41 am

A little help for a newbie

Post by ElNico5 »

So i just reciently got into pixilang and i was testing with graphics when i noticed that pixilang doesn't do pixel perfect drawings?
this an image of what i was expecting vs what i got
pixilang.png (16.44 KiB) Viewed 943 times

how do i do pixel perfect graphics here?
User avatar
Site Admin
Posts: 3568
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia

Re: A little help for a newbie

Post by NightRadio »

How did you get the second image?
Posts: 3
Joined: Wed Jan 27, 2021 2:38 am

Re: A little help for a newbie

Post by Discord »

Pixilang actually does only pixel perfect drawings so that is strange you got that. Your code should look like that:

Code: Select all

line(-10, -10, 10, 10)
print("line1", 0, 0, RED)
print("line2", 0, 10, RED)
Post Reply