A little help for a newbie

Pixilang programming language
Post Reply
ElNico5
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
pixilang.png (16.44 KiB) Viewed 2410 times


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

Re: A little help for a newbie

Post by NightRadio »

How did you get the second image?
Discord
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)
frame(1000)
Post Reply