Steam version. Funktioniert bei mir.
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 Menu// --------------------------------- //
// Project: Timer
// Start: Sunday, April 16, 2023
// IDE Version: 16.793
// SETCURRENTDIR("Media") // go to media files
ALLOWESCAPE TRUE
LOCAL fps_time% = 0,fps_temp% = 0
LOCAL frametime% = 10000 // millisecs
SETSCREEN 800,600,0
LOCAL dip1% = TRUE, dip2% = TRUE
//--------------------------------------------------------------
WHILE TRUE
fps_time = GETTIMERALL()
IF (fps_time-fps_temp)> 1000 AND frametime > 0
frametime = frametime - 1000
fps_temp = fps_time
ENDIF
IF frametime = 0 THEN dip1 = FALSE
IF dip1 = TRUE
DRAWRECT 100,100,100,100,RGB(0x00, 0x80, 0x00)
PRINT frametime/1000,110,110
ENDIF
IF MOUSEAXIS(3)
frametime = 10000
dip1 = TRUE
ENDIF
PRINT getfps()+" FPS",10,10
PRINT "left mousebutton reset", 10,40
SHOWSCREEN
WEND
//-------------------------------------------------------------
FUNCTION getfps:
STATIC fps_time%,fps_counter%,fps%,fps_temp%
fps_time = GETTIMERALL()
fps_counter = fps_counter + 1
IF (fps_time-fps_temp)>1000
fps_temp = fps_time
fps = fps_counter
fps_counter = 0
ENDIF
RETURN fps
ENDFUNCTION
Quote_______________________________________
*** Configuration: HTML5 ***
precompiling:
GPC - GLBasic Precompiler V.17.312 SN:3eb36880 - 3D, NET
Wordcount:3 commands
compile+link:
-----------------------------------------
%EMSDK% is set, or SDK is not installed or can't be found at:
C:\Program Files\Emscripten
Get and install the (prebuilt) SDK from: https://kripken.github.io/emscripten-site/docs/getting_started/downloads.html-----------------------------------------
Der Befehl "emsdk_env.bat" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Der Befehl "em++.bat" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
distribute HTML5 to: D:/Projekte/GLBasic/GLBasic/first_app/distribute/HTML5
exit
success
_______________________________________
*** Finished ***
Elapsed: 2.3 sec. Time: 15:35
Build: 5 succeeded.
Quote
_______________________________________
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.17.312 SN:3eb36880 - 3D, NET
Wordcount:3 commands
compile+link:
copy templates...
Q://compiler/platform/android_studio
D:/Projekte/GLBasic/GLBasic/first_app/distribute/android_studio
Update main program sources
Replace media files
Patch app ID
Patch app title
Making icons...
Starting Android Studio. Build your app now.
exit
success
_______________________________________
*** Finished ***
Elapsed: 6.0 sec. Time: 16:01
Build: 5 succeeded.
Quote
> Configure project :app
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to C:\Users\fabbi\AppData\Local\Android\Sdk\ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
...
...
...)
at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:91)
at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:80)
at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:42)
at org.gradle.internal.event.BroadcastDispatch$SingletonDispatch.dispatch(BroadcastDispatch.java:230)
at org.gradle.internal.event.BroadcastDispatch$SingletonDispatch.dispatch(BroadcastDispatch.java:149)
at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:58)
at org.gradle.internal.event.BroadcastDispatch$CompositeDispatch.dispatch(BroadcastDispatch.java:324)
at org.gradle.internal.event.BroadcastDispatch$CompositeDispatch.dispatch(BroadcastDispatch.java:234)
at org.gradle.internal.event.ListenerBroadcast.dispatch(ListenerBroadcast.java:140)
at org.gradle.internal.event.ListenerBroadcast.dispatch(ListenerBroadcast.java:37)
at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
at com.sun.proxy.$Proxy41.afterEvaluate(Unknown Source)
at org.gradle.configuration.project.LifecycleProjectEvaluator$NotifyAfterEvaluate$1.execute(LifecycleProjectEvaluator.java:190)
at org.gradle.configuration.project.LifecycleProjectEvaluator$NotifyAfterEvaluate$1.execute(LifecycleProjectEvaluator.java:187)
at org.gradle.api.internal.project.DefaultProject.stepEvaluationListener(DefaultProject.java:1419)
at org.gradle.configuration.project.LifecycleProjectEvaluator$NotifyAfterEvaluate.run(LifecycleProjectEvaluator.java:196)
... 105 more
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
Quote
_______________________________________
*** Configuration: OS-X_X86 ***
precompiling:
GPC - GLBasic Precompiler V.17.312 SN:3eb36880 - 3D, NET
Wordcount:3 commands
compile+link:
i686-apple-darwin8-g++: installation problem, cannot exec '/cygdrive/q/Compiler/platform/Mac/Bin/i686-apple-darwin8-g++-4.0.1': No such file or directory
*** FATAL ERROR - Please post this output in the forum
_______________________________________
*** Finished ***
Elapsed: 2.3 sec. Time: 16:15
Build: 5 succeeded.
*** 16 FAILED ***