Page 1 of 1

Why do i get an error?

Posted: Sat Sep 26, 2020 5:21 pm
by MarTCM
I just started my new project but when i try to compile it, it gives me an error!
pls help.. :(

edit: if i try to test game i get this...

Re: Why do i get an error?

Posted: Sat Sep 26, 2020 6:07 pm
by MarTCM
compiling a 4.9 project does just fine
so im i missing something?

Re: Why do i get an error?

Posted: Sat Sep 26, 2020 7:56 pm
by MarTCM
aight fixed!
i added some patches from an old vid and created a new project :)
thx anyways!

Re: Why do i get an error?

Posted: Sat Sep 26, 2020 8:10 pm
by MarTCM
oh wait when i start making my game again it gives the same errors so its my fault...
what am i doing wrong?
:(

Re: Why do i get an error?

Posted: Sat Sep 26, 2020 10:29 pm
by Ruffsta
i am not a 5.12 user, so i cannot personally help you, i'm strictly a 4.9 user - personally i don't use patches nor recommend them. the apps are fully functional and to my knowledge we do not have nor recommend using patches to the software... If we did, we would have listed them on our website.

feel free to post your project in the "work in progress" section - so others can help you... i know sometimes the errors you see are NOT easily understood.. (i even question James at times when i have them in 4.9), per topic/forum rules.. "DigitalDesignDude" is a 5.12 user, he may be able to help you..

Re: Why do i get an error?

Posted: Sun Sep 27, 2020 5:58 am
by DigitalDesignDude
Hi, MarTCM,

Welcome to the forum. :)

I can probably help you if you share me your project file to look through. As Ruffsta mentioned I use DSGM 5.12.

Given that you have a "Expected identifier before }" message, I think it's likely you have logic or code syntax writting error.

Typically means isolating and finding what is causing the problem by either deleting code or re-creating the project and compling each step until it works.

If you have trouble uploading your project to the forum, try posting a google drive or drop box link for me to download from.

Re: Why do i get an error?

Posted: Sun Sep 27, 2020 9:24 am
by MarTCM
I think the problem is from my sprites ill try isolating to find the problem :D

Re: Why do i get an error?

Posted: Sun Sep 27, 2020 9:42 am
by MarTCM
i found the problem its just that my sprite size wasnt supported...

Re: Why do i get an error?

Posted: Sun Sep 27, 2020 10:40 am
by DigitalDesignDude
Yeah, be prepared for more limitations like that when working with DSGM. You should normally get a warning when trying to import a sprite that's isn't a supported dimension.


Some Other Limitations Include:
-Backgrounds also have to be in increaments of 256x192 or so
-You cannot have more than 256 colours in any piece of art.

You may also get an error when importing or re-importing sprites. If that happens just click the "Edit" sprite button and save the sprite again for DSGM to recongize the change of graphics.