Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Drawing Pixel Characters
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
scholarlytutor




PostPosted: Fri Apr 09, 2021 11:34 pm   Post subject: Drawing Pixel Characters

If you like to create graphics from scratch like I do, arrays can be quite powerful. Since game characters from retro-style games are just a collection of pixels, I used a multi-dimensional array to represent each pixel colour from the character Alis in Phantasy Star (Sega Master System, 1987). Then, I made a procedure that displays the character on the screen (it also lets you set the size of each 'pixel' so that you can change the size of the character).

Feel free to make your own pixel game characters and use my procedure Smile Just follow the instructions in the comments carefully.



Character Pixel Display.t
 Description:

Download
 Filename:  Character Pixel Display.t
 Filesize:  2.97 KB
 Downloaded:  222 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 1 Posts ]
Jump to:   


Style:  
Search: