Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

iOS and MacOS / Image Folder

Author
Message
Richard_6
User Offline
Joined: 3rd Feb 2017
Location:
Posted: 3rd Feb 2017 02:41
Hello!

I need some help.

I'm doing my first program and the image is not being loaded, maybe because the image is in the wrong folder.

Here is the code:

setvirtualresolution(1024,768)
loadimage(1,"opala.png")
createsprite(1,1)
do
sync()
loop

and here is the result I'm getting:
RobbSnow
2
Years of Service
User Offline
Joined: 14th Oct 2015
Location:
Posted: 5th Feb 2017 19:31
Is opala.png in the media folder?
SpecTre
Developer
14
Years of Service
User Offline
Joined: 24th Feb 2003
Location: UK
Posted: 8th Feb 2017 15:05 Edited at: 8th Feb 2017 15:06
This should work unless as RobbSnow said the image is not in the media folder or it is not a .png file maybe?

Can't see what your result is though.
The Amiga and Amos were great!

Login to post a reply

Server time is: 2017-11-18 08:31:29
Your offset time is: 2017-11-18 08:31:29