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.


Messages - ketil

Pages: [1] 2 3 ... 8
1
Have any of you integrated any of the ad frameworks in your games ? Do think it would be a hard thing to do ?

2
Refactoring in Netbeans or any other ide with refactoring support, would anyway render both of theese obfuscations pretty useless :(

3
Even better ... use a lot of underscores and som of the same numbers (or no numbers) after them.

local __________________ = FALSE

IF _________________=__________________ THEN ________________(___________________)
    INC ______________._____________________[_____________][____________]
ENDIF

It would also compress better :)         

4
GLBasic - en / Re: Android Sound/Music again
« on: 2014-Sep-02 »
HEKKUS SOUND SYSTEM would work across a lot of platforms.
I did some testing with it a couple of years ago, but not on IOS and Android.

5
Hi guys

What would be the best method for pixel perfect collison of the player sprite when using a tilebased scroller with polydraw functionality ?
Would it be to keep track of the player-sprite's screen position and draw all the tiles from the "crashable layer" as sprites too. That is if they are inside the playersprites rectangle.
And then use sprcoll ?

Or are there any other cool functionality for this ?

Btw. I will be using transparent png images for sprites and tiles.

6
Code Snippets / Re: new QSIN (QQSIN)
« on: 2012-Mar-12 »

Of cause more testing is always useful and we optimised it so much that most new optimisations arent necessarily useful on every machine. E.g. on my windows tablet with crappy AMD-C50 CPU, my accuracy functions outruns every other function by far, even Oceans c lookup table (which is pretty slow on that machine)! I have no idea why, cuz it shouldnt... (maybe its 32bit float vs 64bit float?)


Seems a bit odd. Are the lookup-table packed to 32 or 64 bit integers (depending on os/processor) in the C code ?

#pragma pack(push)  /* current alignment to stack */
#pragma pack( integer_size )     /* set alignment to 32 or 64 bit integers depending on platform */
 
... C lookup-table here ...
 
#pragma pack(pop)

Correctly alligned tables are faster ....

7
GLBasic - en / Re: Linux Compiler
« on: 2012-Feb-26 »
Yeah. Did not see that one.
Is there any documentation on the preprocessor and the compiling options ?

8
GLBasic - en / Linux Compiler
« on: 2012-Feb-26 »
Is it possible to get an GLB compiler that run under linux ?
The editor is not that important.

9
It works as it should on my htc legend.

On the asus eee pad transformer ...
Nothing but a blue screen.
Grabsprite gives monocolor sprites.
On this platform (honeycomb 3.2) loadsprite seems to be the only way.
Perhaps the nvidia tegra drivers has someting to do with it ?

10
Some GOOD NEWS :)

I have almost no penalty drawing sprites.

fps goes from 46.5 to 44 when drawing 3 sprites the size of 480 x 320 (each).

It seems like you have right about showscreen doing a lot of stuff on android.

What fps do you guys set as limit on handhelds ?
Is the iPhone faster ?

11
Anybody else with bad Android experiences ? Or is it my setup.
I just can't believe that 2 of 2 android devices fails :(
Perhaps it's not production-ready for android yet ?

Anybody with apps and positive response on android market ?
Perhaps links to andoid glb-apps that i can test on my devices ?

12
This is my log-output:


I/SDL     ( 4429): Starting up OpenGL ES 1.1
I/glbasic ( 4429): SDL_SetVideoMode seems to be 1
I/glbasic ( 4429): get accurate timer - 1st call
I/glbasic ( 4429): flip - 1st call
I/glbasic ( 4429): BGRA ext NOT supported

I/glbasic ( 4429):
   GL_AMD_compressed_3DC_texture
   GL_AMD_compressed_ATC_texture
   GL_ARB_texture_env_combine
   GL_ARB_texture_env_dot3
   GL_ARB_texture_mirrored_repeat
   GL_ARB_vertex_buffer_object
   GL_ATI_compressed_texture_atitc
   GL_ATI_texture_compression_atitc
   GL_EXT_blend_equation_separate
   GL_EXT_blend_func_separate
   GL_EXT_blend_minmax
   GL_EXT_blend_subtract
   GL_EXT_stencil_wrap
   GL_OES_EGL_image
   GL_OES_blend_equation_separate
   GL_OES_blend_func_separate
   GL_OES_blend_subtract
   GL_OES_compressed_ETC1_RGB8_texture
   GL_OES_compressed_paletted_texture
   GL_OES_draw_texture
   GL_OES_extended_matrix_palette
   GL_OES_framebuffer_object
   GL_OES_matrix_palette
   GL_OES_point_size_array
   GL_OES_point_sprite
   GL_OES_read_format
   GL_OES_stencil_wrap
   GL_OES_texture_cube_map
   GL_OES_texture_env_crossbar
   GL_OES_texture_mirrored_repeat

I/glbasic ( 4429): Texture size limit: 1024
I/glbasic ( 4429): init fbo
I/glbasic ( 4429): 2D VP
I/glbasic ( 4429): OGRB init [OK]
I/glbasic ( 4429): Cptn
I/glbasic ( 4429): Network
I/glbasic ( 4429): Input
I/glbasic ( 4429): Window mode
I/glbasic ( 4429): Create DXin
I/glbasic ( 4429): sdl_grab
I/glbasic ( 4429): reptr
I/glbasic ( 4429): getexe
I/glbasic ( 4429): cd
I/glbasic ( 4429): set cdir to: /data/data/com.yourcompany.tilescroller
I/glbasic ( 4429): exepath=curdir= /data/data/com.yourcompany.tilescroller
I/glbasic ( 4429): set cdir to: files
I/glbasic ( 4429): Init Finalized
I/glbasic ( 4429): Rbow::SetScreen( 480,320)


13
This is my first android project, and I can't find any log output, or ... I don't know where it is or how to generate it.
Anyway - I have other games on it that HAVE to be a lot faster, and accelerated.

14
Nope

http://www.asus.com/Eee/Eee_Pad/Eee_Pad_Transformer_TF101/

NVIDIA® Tegra™ 2 1.0GHz dual-core CPU

Fast.

The phone with slow framerate is an HTC Legend:

http://www.gsmarena.com/htc_legend-3141.php

15
No matter what i set in the LIMITFPS function, my HTC legend has an average FPS at 47 with the most simple loops.
ex:


WHILE NOT KEY(1)
   GOSUB ShowFPS
   SHOWSCREEN
WEND




SUB ShowFPS:
   dtime=GETTIMER()
   FPS = ((1000/dtime)+FPS)/2
   delay=delay+dtime
   IF delay>1000 // 1/2 sec
      delay=0
      fps_draw=FPS
   ENDIF
   PRINT "FPS: "+fps_draw, 0 ,0
ENDSUB // SHOWFPS

Any thought about this ?
Is there an fixed framerate on some android devices ?

Also my ASUS eee Pad Transformer only shows black and white on the screen with glb apps.

Pages: [1] 2 3 ... 8