Comments (7)
Does official v4 works?
from axmol.
Well, mybe because at windows, engine-x use angleproject GLES, try switch to OpenGL, then check whether setLineWidth(width) works?
from axmol.
Just change the macros 'CC_USE_GLES_ON_DESKTOP=0' at CCPlatformConfig.h
from axmol.
rebuild and works correct now (on official v4 it works too).
Thanks for the hint.
maybe a snippet like this is usefull?
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROIDS)
#define CC_USE_GLES_ON_DESKTOP 1
#else
#define CC_USE_GLES_ON_DESKTOP 0
#endif
Information:
The circle looks very ugly too.
from axmol.
But I think there is a second bug on it:
Both circle having the same width, but it should be different 1 and 10 (on v4 it has the same behavior).
Maybe a bug on the angleproject GLES,
from axmol.
Yeah, maybe bug on angleproject, I will attention on it later.
from axmol.
rebuild and works correct now (on official v4 it works too).
Thanks for the hint.maybe a snippet like this is usefull?
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROIDS)
#define CC_USE_GLES_ON_DESKTOP 1
#else
#define CC_USE_GLES_ON_DESKTOP 0
#endifInformation:
The circle looks very ugly too.
doen't need t adjust platform macros, because on android, always use GLES
from axmol.
Related Issues (20)
- Android: protected void onNewIntent(Intent intent) is never called HOT 4
- DrawNode draws in wrong order HOT 6
- Crash in TextFieldTTF::update line #478 HOT 5
- Support for fixed sprite content size regardless of new texture content HOT 4
- Crash in createBuffer function of TriangleCommandBufferManager HOT 6
- Lua bindings generator doesn't work on macOS
- Android: Axmol is failing to play m4a audio file format HOT 9
- Running `./tools/cmdline/axmol -p osx` doesn't report error if build fails
- Memory leak (and crash) in `ImGui_ImplAndroid_Shutdown()` HOT 9
- [Android] CMake minimum version requirement not met
- Android: Axmol is failing to play wav and mp3 audio file format HOT 5
- Error when build for WASM - LibZ HOT 3
- Network requests failure rate is higher in yasio compared to java.net we use in cocos2dx
- compiler errors with AX_EXT_HINT and lua
- Clipping issue with different child stencils HOT 2
- New project from template - compilation hangs indefinitely HOT 13
- HSL Video - Assertion failed: (_videoRotation % 180 == 0 ? YASIO_SZ_ALIGN(videoDim.x, 32) HOT 1
- Yasio uses double newline in logs
- Axmol keeps printing logs if custom logger is set with `setLogOutput()`
- `AUDIO_LOG` should be routed through Axmol's log system
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from axmol.