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.

AppGameKit Classic Chat / My Game - its a bit clunky

Author
Message
ThePict
6
Years of Service
User Offline
Joined: 6th Nov 2017
Location:
Posted: 1st Nov 2020 11:09
Can anyone suggest ways to refine my game, making it a bit less clunky?
Not sure how to upload all the media folder, but maybe just a look at my agc source file will do for now. I'm uploading everything to my Dropbox

Attachments

Login to view attachments
Loktofeit
AGK Developer
15
Years of Service
User Offline
Joined: 21st Jan 2009
Location: Sarasota, FL
Posted: 1st Nov 2020 13:40
Could you elaborate on "clunky"?

Runs slow? Moves choppy? Has pauses during loading? UI not as responsive as desired?
Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 1st Nov 2020 13:44 Edited at: 1st Nov 2020 13:52
since you're sharing media, too, can you zip up the project folder, instead? the swapshop file has no extention.
otherwise, your code to save others a DL:

meanwhile, as Loktofeit said, what do you feel is wrong with it?
at a glance, the only thing that i can see optimizing is the LoadTheImages routine since there's an apparent pattern to it. beyond that, making an image atlas, etc.. but, if it works, it works
[My Itch.io Home] [#LowRezJamAGK2020]
[AGK Resource Directory] [TGC @ GitHub]
[CODE lang=AGK] YOUR CODE HERE [/CODE]
[VIDEO=youtube] VIDEO ID [/VIDEO]
[Google Forum Search]
Lupo4mica37
3
Years of Service
User Offline
Joined: 1st Jun 2020
Location:
Posted: 2nd Nov 2020 18:55
Hi ThePict. Looking at the code you have called Sync() 4 times, once for each CASE and also one outside the case, so when you run this programme, it will sync twice, once in the CASE and again outside, which might the reason for the clunkyness you are talking about. Hope that helps.

There are also commands like



that will not do anything as there is nothing in the while-endwhile loop.

Cannot run the programme as there is no media for it. Better upload the entire project folder in a zip file as Virtual Nomad suggested.
????????

Login to post a reply

Server time is: 2024-04-24 20:07:34
Your offset time is: 2024-04-24 20:07:34