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.

Newcomers AppGameKit Corner / Introducing myself +little problem

Author
Message
domoDD
2
Years of Service
User Offline
Joined: 12th Apr 2020
Playing:
Posted: 12th Apr 2020 18:06
Hello, My name is Mateo and i come from Croatia.I love playing football and my favorite teams are Liverpool and Atalanta. Also i love playing games like Counter Strike and i'm currently playing free strategy game eDominations
I'm busy these days my head is gonna explod and i hit a wall i can not open my mind to find solution for this simple problem
I'm having trouble trying to have the image I want in the game and this is the command I put:

LoadImage(1,"redball.jpg") <---prints out (Error: Could not find images: redball.jpg,redball.jpg in main.agc at line 26)

if GetImageExists(1)=1

endif

And I know you have to put in the media folder, however when I do that it still doesn't work. Someone please help me and the steps in how to do it.
fubarpk
Retired Moderator
17
Years of Service
Recently Online
Joined: 11th Jan 2005
Location: Adelaide
Posted: 12th Apr 2020 18:20
your correct it has to be placed in the media folder
but if the problem exists on Android but works in windows this might be because Android is case sensitive ie Redball.jpg is different than redball.jpg
if the problem exists under windows ide check carefully that you have spelt it correctly and the media folder is in fact in the same folder as the program
directory

fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk

Login to post a reply

Server time is: 2022-12-01 12:58:36
Your offset time is: 2022-12-01 12:58:36