CPCWiki forum

General Category => Programming => Topic started by: enteka on 21:13, 13 June 21

Title: Painting on the Amstrad
Post by: enteka on 21:13, 13 June 21
Suppose I have an image like this one... (just exploring pixel art at this time)
(https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/eb7ded05-a778-4a32-88b3-c85feec42168/delgdf7-b6250d00-478f-4d91-ad51-9423d1fcd494.png/v1/fill/w_959,h_833,q_70,strp/exploring_the_idea_of_a_siege_in_pixelart_by_ailolai_delgdf7-pre.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7ImhlaWdodCI6Ijw9OTQ0IiwicGF0aCI6IlwvZlwvZWI3ZGVkMDUtYTc3OC00YTMyLTg4YjMtYzg1ZmVlYzQyMTY4XC9kZWxnZGY3LWI2MjUwZDAwLTQ3OGYtNGQ5MS1hZDUxLTk0MjNkMWZjZDQ5NC5wbmciLCJ3aWR0aCI6Ijw9MTA4NiJ9XV0sImF1ZCI6WyJ1cm46c2VydmljZTppbWFnZS5vcGVyYXRpb25zIl19.sXkDCmsEIx3JKLgZRMw-gWEpCFQxQshoSjKchP88ifg)
And I wanted it to show as a static game screen. Using Basic, how should I do that?
Title: Re: Painting on the Amstrad
Post by: SkulleateR on 22:22, 13 June 21
Just use a util of your choice to convert it to a CPC Screen (like https://github.com/jeromelesaux/martine (https://github.com/jeromelesaux/martine) ), transfer it to DSK (or real disk) and just load it to screen ram with basic :


LOAD"IMAGE.SCR",&C000


 :)
Title: Re: Painting on the Amstrad
Post by: enteka on 00:06, 14 June 21
Just use a util of your choice to convert it to a CPC Screen (like https://github.com/jeromelesaux/martine (https://github.com/jeromelesaux/martine) ), transfer it to DSK (or real disk) and just load it to screen ram with basic :


LOAD"IMAGE.SCR",&C000


 :)
YAY!! Thank  you
Title: Re: Painting on the Amstrad
Post by: m_dr_m on 12:31, 14 June 21
Check impdraw! http://impdraw.wikidot.com/help-impdraw-english