Show Posts

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.


Topics - djtoon

Pages: [1] 2 3 ... 8
1
1. how do i show onely one of two menus ihave?
i have a main and a right click menu, how to i show the right click when i click the rightmouse button.

2.

2
im getting this error? what is it?


BUILD STAGE 1: Compile and pack RELEASE
Exception in thread "main" java.lang.RuntimeException: Failed to create Q:\Compiler\platform\android\android-sdk-windows\add-ons.
   at com.android.sdklib.SdkManager.loadAddOns(SdkManager.java:665)
   at com.android.sdklib.SdkManager.createManager(SdkManager.java:144)
   at com.android.sdkmanager.Main.parseSdk(Main.java:221)
   at com.android.sdkmanager.Main.run(Main.java:118)
   at com.android.sdkmanager.Main.main(Main.java:102)
Buildfile: build.xml does not exist!
Build failed
.

3
GLBasic - en / android compile problem
« on: 2012-Nov-11 »
when i complie it dosent seem to fint my box2d.h.

the game compiles for android and pc ok.

any ideas?
10x

5
any one has a starting code example of movement and rotation? im trying to make an old school style rpg like eye of the beholder, any one have an example code for movement and camera rotation?

10x in advance.

6
GLBasic - en / great nebula effect
« on: 2012-May-20 »
hi look at this
<a href="http://www.youtube.com/watch?v=CaTI2d0tQME" target="_blank">http://www.youtube.com/watch?v=CaTI2d0tQME</a>

i creatd this but i cant get the part where the angel of the plane is faceing the camera

any help whold be appriciated

10x

7
GLBasic - en / a little box2d help
« on: 2012-May-20 »
hi
im making a top down game where enemys try to catch you
there is the code for enemy movement:

Code: GLBasic [Select]

FUNCTION enemyMove:
LOCAL pi = 3.14159265

FOR x=0 TO LEN(enemysFleet[])-1 STEP 1



 //calculate distance between follower and target
    LOCAL distanceX = (b_BodyGetPosX(tmpObjxx)-b_BodyGetPosX(enemysFleet[x].obj))
    LOCAL distanceY = (b_BodyGetPosY(tmpObjxx)-b_BodyGetPosY(enemysFleet[x].obj))

    LOCAL  distanceTotal = SQR(distanceX*distanceX+distanceY*distanceY);

  IF distanceTotal <= 80000
LOCAL moveX=enemysFleet[x].turnRate*distanceX/distanceTotal
LOCAL moveY=enemysFleet[x].turnRate*distanceY/distanceTotal

 
//
LOCAL totalmove = SQR(moveX * moveX + moveY * moveY)
//             
 moveX = enemysFleet[x].speed * moveX / totalmove;
 moveY = enemysFleet[x].speed * moveY / totalmove;
//


 
// b_moveObject( enemysFleet[x].obj,b_BodyGetPosX(enemysFleet[x].obj)+moveX,b_BodyGetPosY(enemysFleet[x].obj)+moveY,0)
//b_BodySetAngle(enemysFleet[x].obj,-angleInRadians);


LOCAL angleInRadians = ATAN(moveX, moveY);
LOCAL andleInDegrees  = angleInRadians * (180 / pi);



LOCAL velocityX =  SIN (   b_BodyGetAngle(enemysFleet[x].obj))*enemysFleet[x].speed
        LOCAL velocityY = COS (   b_BodyGetAngle(enemysFleet[x].obj))*enemysFleet[x].speed
//


 

b_SetLinearVelocity(enemysFleet[x].obj,velocityX,velocityY);



IF enemysFleet[x].mission="attack"


b_ApplyTorque(enemysFleet[x].obj,b_BodyGetAngle(enemysFleet[x].obj)-angleInRadians);
b_SetLinearVelocity(enemysFleet[x].obj,velocityX,velocityY);






ELSEIF enemysFleet[x].mission="run"
b_SetLinearVelocity(enemysFleet[x].obj,-velocityX,-velocityY);

ENDIF


ENDIF






NEXT
ENDFUNCTION
////
 

i cant seem to get the enemy's to turn at you with difrent turn rates

any ideas?

10x

8
any one done this?
the math is messing with my brain :)

9
GLBasic - en / why retina so slow
« on: 2012-May-15 »
on regular screen size  480x320 im at 32+ fps
and  on retina i get 9

any workaround or someting?

10
GLBasic - en / AC3D TO BOX2D LIB
« on: 2012-May-09 »
hi
im creating a glb function to read vertex points from vrml1 that i export from ac3d

for some reson i cant get the thing to work
here is the lib
test it and maybe fix and share :)
10x


[attachment deleted by admin]

11
GLBasic - en / b_createpoly problem
« on: 2012-May-09 »
hi
im draw 2 polygons one after the other and it seems the engine connects the poly's together

any ideas why?
the arrays are difrent ones for the points for the polygon creation


12
here is the game , forgot to post this :)
http://globalgamejam.org/2012/mofalona

its a party game where you take turns to finish a tower of bricks to reach the portal.

13
GLBasic - en / Blackberry Playbook?
« on: 2012-Mar-06 »
could it work?

14
GLBasic - en / Windows Phone 7, compiler?
« on: 2012-Feb-26 »
any way or furure addon for glbasic?

15
what is faster, x_drawobj or x_line?

Pages: [1] 2 3 ... 8