andengine

add visual below finger swipe, Triangle strip like fruit ninja Andengine

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-01 05:01:40
问题 I want to show a triangle strip when user swap finger on screen. I am not sure how to do it with AndEngine, using particle system or using sprites or using Triangle Strip algo... I haven't wrote any code because I am struck that what to do. I am uploading an image please share your ideas. Update someone has done this in Iphone but unfortunately I am unfamiliar with language syntax please help me in understanding algo of this code https://github.com/hiepnd/CCBlade **Effect I want ** Complete

Avoiding The “No EGLConfig found!” Error

此生再无相见时 提交于 2019-12-01 03:41:53
one of my users are reporting this error for my game. i am using andengine as my engine. Here is the error. java.lang.IllegalArgumentException: No EGLConfig found! at org.andengine.opengl.view.ConfigChooser.chooseConfig(ConfigChooser.java:183) at org.andengine.opengl.view.ConfigChooser.chooseConfig(ConfigChooser.java:157) at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:916) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1246) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1116) My question is, is there anything i can do to avoid this

Avoiding The “No EGLConfig found!” Error

梦想的初衷 提交于 2019-11-30 23:24:55
问题 one of my users are reporting this error for my game. i am using andengine as my engine. Here is the error. java.lang.IllegalArgumentException: No EGLConfig found! at org.andengine.opengl.view.ConfigChooser.chooseConfig(ConfigChooser.java:183) at org.andengine.opengl.view.ConfigChooser.chooseConfig(ConfigChooser.java:157) at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:916) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1246) at android.opengl

Displaying Ad In AndEngine

纵饮孤独 提交于 2019-11-30 14:27:29
I am trying to display an advertisement using Greystrip in AndEngine. I cannot figure out how this is done because it doesnt use a Layout to inflate views, but yet sprites. i use BaseGameActivity to create my application for each scene i would like to display adds on. In GreyStrip this is how they tell you to integrate ads in your application.. Before adding calls in your application to GSSDK, you need to incorporate the SDK into your AndroidManifest.xml. Add the following in the section, replacing with a package identifier that is unique to your application. This Content Provider manages

Android libc.so crash?

末鹿安然 提交于 2019-11-30 11:41:34
问题 I'm using AndEngine with the PhysicsBox2DExtension to make a game. My game keeps crashing and I get this in the unfiltered LogCat: 07-06 13:25:27.266: I/DEBUG(19582): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 07-06 13:25:27.266: I/DEBUG(19582): Build fingerprint: 'TMOUS/SGH-T959V/SGH-T959V/SGH-T959V:2.2.1/FROYO/VUVKD1:user/release-keys' 07-06 13:25:27.274: I/DEBUG(19582): pid: 22238, tid: 22263 >>> com.prattia.webs.testgfx5 <<< 07-06 13:25:27.274: I/DEBUG(19582): signal

Android comprehensive failproof music service across multiple activities

拥有回忆 提交于 2019-11-30 11:21:08
问题 I know this question has been asked many times before and might seem to be a conglomeration of several questions, but I feel that it is relevant and important to many developers; I need to create a background music Service that can run across multiple activities for my Android game that ends when the application is terminated and pauses in all of the following circumstances: A certain Activity that has its own music is started. (Resume when this Activity finishes. This happens to be an

In App BIlling trouble with Pending Intents and switching activities

百般思念 提交于 2019-11-30 10:06:39
Ok so I have been trying to fix this for days, and I'm not coming here looking for someone to do my work for me as I have been troubleshooting and fixed every single error message in the LogCat. I am developing an Android game using Andengine (this might be part of the problem so being familiar with it could help). I'm not doing anything too fancy, my game activities are all single scene and don't have any Physics or anything like that, just a bunch of sprites and textures. I also used Andengine for all of the other activities in my game because I find it to be a very easy way to set up

How can i create a circle which has a number in?

北城以北 提交于 2019-11-30 08:49:19
I'm programming an Android game using AndEngine. I want to create a circle which has a number in, like in this picture: Something like this: circle.xml (in res/drawable) <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval" > <solid android:color="#aaf" /> </shape> and circletext.xml (in res/layout): <?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@android:color/white"

Android libc.so crash?

只愿长相守 提交于 2019-11-30 02:30:39
I'm using AndEngine with the PhysicsBox2DExtension to make a game. My game keeps crashing and I get this in the unfiltered LogCat: 07-06 13:25:27.266: I/DEBUG(19582): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 07-06 13:25:27.266: I/DEBUG(19582): Build fingerprint: 'TMOUS/SGH-T959V/SGH-T959V/SGH-T959V:2.2.1/FROYO/VUVKD1:user/release-keys' 07-06 13:25:27.274: I/DEBUG(19582): pid: 22238, tid: 22263 >>> com.prattia.webs.testgfx5 <<< 07-06 13:25:27.274: I/DEBUG(19582): signal 11 (SIGSEGV), fault addr deadbaad 07-06 13:25:27.286: I/DEBUG(19582): r0 00000000 r1 afd14921 r2

AndEngine Texture from Drawable

╄→гoц情女王★ 提交于 2019-11-29 23:48:57
问题 I'm new to AndEngine. For some reason, I have to create a TextureRegion from a Drawable variable. I don't know if it is possible, but my code is not working... public class DrawableTextureSource implements ITextureSource { private final int mWidth; private final int mHeight; private final Drawable mDrawable; private final Context mContext; public DrawableTextureSource(Context context, Drawable D) { mContext = context; mDrawable = D; mWidth = D.getIntrinsicWidth(); mHeight = D