Search found 87 matches

by amyren
Sun Aug 18, 2019 9:56 pm
Forum: APK Compiler
Topic: Putting ads in apk's?
Replies: 3
Views: 542

Re: Putting ads in apk's?

The most common way today to make money on google.play apps and games seem to be using ads in the apps. Is it possible to do this with the apk compiler, or is this a planned feature? https://www.wikihow.com/Add-Advertisements-to-Your-Android-Applications-Using-Admob Thanks for the tip, but I doubt ...
by amyren
Tue Aug 13, 2019 6:18 pm
Forum: APK Compiler
Topic: apk API version
Replies: 6
Views: 597

Re: apk API version

How is that update coming along?
Target is API 28 already since two weeks for new projects, and for updates the date Is 1 september. This is not a pressing issue for me, since I have no new projects ready for release now. But I hope to be able to publish updates to my existing ones after 1 september.
by amyren
Sun Aug 04, 2019 11:41 am
Forum: APK Compiler
Topic: Saving apk compiler settings
Replies: 2
Views: 372

Saving apk compiler settings

I discovered that when saving a project, the acp file only saves the date entered in the project, icon etc tab, but not the settings tab. The settings in that tab seem to follow apk compiler settings and not the project. Now I do have 2 projects, and when publishing the second project on google play...
by amyren
Fri Aug 02, 2019 1:26 pm
Forum: General programming
Topic: Get success/error on file save
Replies: 6
Views: 425

Re: Get success/error on file save

This does seem to work Note that the last fileattribute command could have been done just before the previous closefile, avoiding the need to open the file again. I just did it this way to have a separate section to make the example more clear. ;creates an empty file in case it doesnt exist If Not E...
by amyren
Fri Aug 02, 2019 12:15 pm
Forum: General programming
Topic: Get success/error on file save
Replies: 6
Views: 425

Re: Get success/error on file save

Just a thought, could it be an option to use fileattributes to check the time the file was last modified, and check again after writing and compare the result?
If the time of modification have changed, it should indicate that the file have been updated succesfully.
by amyren
Fri Aug 02, 2019 11:40 am
Forum: General programming
Topic: Is there any AutoScale kind of option without Layers?
Replies: 7
Views: 449

Re: Is there any AutoScale kind of option without Layers?

@amyren: At least what you can find in the docu you shouldn't do that. See "Layers Library -> Overview": "... What you should try to avoid is disabling layers in a display in which they have been enabled before. This is possible to do but it should be avoided in any case because layered and non-lay...
by amyren
Thu Aug 01, 2019 9:22 pm
Forum: General programming
Topic: Is there any AutoScale kind of option without Layers?
Replies: 7
Views: 449

Re: Is there any AutoScale kind of option without Layers?

just out of couriosity, you mention that the game is made mostly without layers. If I understand you correctly you have parts of the program using layers, and other parts not? I figures this was interesting, so I did a test on my own game that uses layers. The about window doesnt need layers anyway,...
by amyren
Thu Aug 01, 2019 12:32 pm
Forum: Newbie questions
Topic: event and program flow
Replies: 2
Views: 287

Re: event and program flow

Thank you, that clearifies it. I was thinking that "laststate=currentstate=0" did set both to 0, but basicly it is the same as if currentstate=0 laststate=1 else laststate=0 endif I agree that they are technically not set to true or false here, but I did use that term in my post because later in tha...
by amyren
Wed Jul 31, 2019 10:29 pm
Forum: Newbie questions
Topic: event and program flow
Replies: 2
Views: 287

event and program flow

I was reading the example code in this post, https://forums.hollywood-mal.com/viewtopic.php?f=4&t=2099#p11046 I did test the program example and it is working as intended. But there is probably something about event handling that I did not get yet, since I struggle to understand this. First two line...
by amyren
Wed Jul 31, 2019 9:55 pm
Forum: General programming
Topic: Is there any AutoScale kind of option without Layers?
Replies: 7
Views: 449

Re: Is there any AutoScale kind of option without Layers?

Are you thinking of something like this?

Code: Select all

@DISPLAY {Title = "MY Program", ScaleMode = #SCALEMODE_AUTO, FitScale = True}
You could also add MODE="fakefullscreen" or MODE="fullscreen" if you want to fill the screen. Or just use sizeable=true so that the window can be scaled by the user.