Excellent - assume it wont force update my existing android projects?
and the new Android format will fire on a new clean project only?
and the new Android format will fire on a new clean project only?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Kitty Hello on 2023-Apr-17
and you're using systempointer true, autopause false?
Quote from: bigsofty on 2023-Apr-07
I had problems with the INTEGER command iirc. It was producing weird rounding errors. I never liked how it rounded down from 0.9 to 0 either.
BTW, as long as you store a (floating point)number in an integer variable it will implicitly be cast to an integer so no need for direct casting.
I don't use GLBs RND function (I use my own) but doesn't that produce integers? If so then I don't think you need to use INTEGER at all in your code.
FUNCTION boxcollm:qx1%,qy1%,qs1%,qs2%,qx2%,qy2%,qs3%,qs4%
IF BOXCOLL( qx1+2,qy1+2,qs1-4,qs2-4,qx2+2,qy2+2,qs3-4,qs4-4)
RETURN 1
ENDIF
ENDFUNCTION
startwater_top% = INTEGER(1+(INTEGER(RND(2)+3) * 16))
startwater_left% = 1+(INTEGER(RND(4)+1) * 16)
startwater_right% = ((resx/2)+1) + (INTEGER(RND(20))*16)
ccx = INTEGER(cs.ca_x)
// For apps targeting Android 12, add WorkManager dependency.
constraints {
implementation('androidx.work:work-runtime:2.7.0') {
because '''androidx.work:work-runtime:2.1.0 pulled from
play-services-ads has a bug using PendingIntent without
FLAG_IMMUTABLE or FLAG_MUTABLE and will fail in Apps
targeting S+.'''
}
}
public static String getStringResourceByName(String aString, String aDefault) {
//String packageName = SDLActivity.mSingleton.getPackageName();
String packageName = BuildConfig.APPLICATION_ID;