Menu

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.

Show posts Menu

Topics - kaotiklabs

#21
Hello,

I need to move a sprite following a brown path painted in a png image.
I was thinking about using the path finding function but I don´t know how to feed the function with an image.

Do you know if its possible to use sprite2mem for generating the map used by the findpath function?
could be maybe easier using a mask image?

thanks in advance.

#22
Hi,

I must program an iphone app in C++ for a postgraduate course. Must be a 2D game with high IA content.
I can´t lose time learning objective-C so I want to ask you where I can find some C++ wrapper in order to avoid any direct interaction with the objective-C.

As I must do it quickly, I was thinking about using directly a C++ game engine.
Do you know anyone good?

Thanks in advance.
#23
Hi,

I´m trying to undestand how to store a mouse trail.
I will explain, I´m think about games 'like flight control' where a path is given to an object in order to follow it.
How this could be implemented easily? Maybe storing the coords each frame??

And if the destination point is moving how could be the trail updated?
any small code tip will be greatly appreciated.  =D

#24
Hi,

I´m thinking about submitting a lite version of our game with a "buy" link to our webpage or a link to the app store game page.
Is this possible?

I saw some code on another old post but is not working on iphone.
How are you implementing this?
#25
Hi, I´m trying to scale one of my games for iPhone (480x320) to the Wiz resolution (320x240) using this function:

Code (glbasic) Select

//=============================================================================
FUNCTION ScaleScreen:
//=============================================================================

//come back to real screen
USESCREEN -1
STRETCHSPRITE 1500, 0, 0, screenx, screeny

SHOWSCREEN

USESCREEN 0
CLEARSCREEN

ENDFUNCTION


I´m using scalescreen instead of the usual showscreen.
this code is working for scaling on pc but on wiz the image is shown once and remains freezed while the game still runs in the backend.

Where´s the problem?
#26
Hi mates,

I would like to share with you our new/first iPhone game.
During the last months of development we have faced several problems (including a city change), but finally is done an close to be a reality.
Nowadays is on App revision and if we are lucky, will be available the incoming week.

Hope you like it as much as we have suffered/love it :P

Game name: DefCon Z
Game Publisher: Monkey Armada
Game genre: Action / Arcade
Game cost: 1.99$
App Store Link: http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=378103651&mt=8
Web Page: www.monkeyarmada.net

Description:

DEFCON Z is a zombie retro arcade game, loaded with action, weapons and raging hordes of undead.
Find your way through infested streets, tunnels and debris. Kill tons of mindless zombies as you fill your screen with blood splatters!

Features included:

- 11 big levels to play. New map packs will be regularly added for free.
- 3 types of enemies: Sillies, embrancers and the big mastodons.
- 5 different weapons including: chainsaws, grenade launchers and machine guns.
- 9 Achievements: Carnage, Holocaust, Lieutenant, Speedy, etc.
- Vibrant original metal soundtrack performed with real instruments.
- Rich sound effects including explosions and zombies asking for brains.














Get DEFCON Z now and start fighting the outbreak!
#27
When I try to run my compiled game under snow leopard it doesnt work and there isnÃ,´t any graphical output.

This is the log output.

06/05/10 10:59:40   com.apple.launchd.peruser.501[203]   ([0x0-0x4ff4ff].GLBasic.com[43645]) posix_spawn("/Users/xau/Desktop/xau01.app/Contents/MacOS/MacOSX", ...): Permission denied

any hint?
#28
I have tried to compile an app for iphone 3.1.2 with the last glbasic release v7.242 and always get 2 linking errors.

It seems related to the playmovie new feature but IÃ,´m not using nothing related.
Maybe the library was not included?

Code (glbasic) Select
Ld build/Release-iphoneos/xau01.app/xau01 normal armv6
cd /Users/xau/Desktop/XCode/GLBasic
setenv IPHONEOS_DEPLOYMENT_TARGET 3.1.2
setenv MACOSX_DEPLOYMENT_TARGET 10.5
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.2.sdk -L/Users/xau/Desktop/XCode/GLBasic/build/Release-iphoneos -L/Users/xau/Desktop/XCode/GLBasic/Lib -F/Users/xau/Desktop/XCode/GLBasic/build/Release-iphoneos -filelist /Users/xau/Desktop/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/Objects-normal/armv6/xau01.LinkFileList -mmacosx-version-min=10.5 -dead_strip -lstdc++ -miphoneos-version-min=3.1.2 -framework Foundation -framework UIKit -framework OpenGLES -framework QuartzCore -framework AudioToolbox -framework CoreLocation -framework OpenAL -lGLBasiciPhone-egl -lpng-gf -lPROGRAM -o /Users/xau/Desktop/XCode/GLBasic/build/Release-iphoneos/xau01.app/xau01

Undefined symbols:
  "_MPMoviePlayerPlaybackDidFinishNotification", referenced from:
      _MPMoviePlayerPlaybackDidFinishNotification$non_lazy_ptr in libGLBasiciPhone-egl.a(iPhoneAppController.o)
  "_OBJC_CLASS_$_MPMoviePlayerController", referenced from:
      __objc_classrefs__DATA@0 in libGLBasiciPhone-egl.a(iPhoneAppController.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status


#29

Hi, I get this error when trying to compile for iPhone platform on a Windows 7 64 bits.
The same code compiles ok on Windows 7 for windows platform.

I have tried to compile under a Windows XP and both compiles.

Maybe a problem with the iphone compiler under Win 7 64?

_______________________________________
*** Configuration: IPHONE ***
precompiling:
GPC - GLBasic Precompiler V.7.132 SN:b446a441 - 3D, NET
Wordcount:1610 commands
compiling:
arch:
/cygdrive/q/Compiler/platform/iPhone/bin/arm-apple-darwin9-libtool: object: gpc_tempg.o truncated or malformed object (offset field of section 1 in LC_SEGMENT command 0 extends past the end of the file)
/cygdrive/q/Compiler/platform/iPhone/bin/arm-apple-darwin9-libtool: object: gpc_temp0.o truncated or malformed object (indirectsymoff field of LC_DYSYMTAB command 2 extends past the end of the file)
/cygdrive/q/Compiler/platform/iPhone/bin/arm-apple-darwin9-libtool: object: gpc_temp5.o truncated or malformed object (indirectsymoff field of LC_DYSYMTAB command 2 extends past the end of the file)
/cygdrive/q/Compiler/platform/iPhone/bin/arm-apple-darwin9-libtool: object: gpc_tempa.o truncated or malformed object (reloff field of section 0 in LC_SEGMENT command 0 extends past the end of the file)
/cygdrive/q/Compiler/platform/iPhone/bin/arm-apple-darwin9-libtool: object: gpc_tempc.o truncated or malformed object (symoff field of LC_SYMTAB command 1 extends past the end of the file)
/cygdrive/q/Compiler/platform/iPhone/bin/arm-apple-darwin9-libtool: object: gpc_tempd.o truncated or malformed object (offset field of section 1 in LC_SEGMENT command 0 extends past the end of the file)
*** FATAL ERROR - Please post this output in the forum
_______________________________________
*** Finished ***
Elapsed: 14.4 sec. Time: 13:29
Build: 0 succeeded.
*** 1 FAILED ***
#30

What happened to the forum template?
Even some posts are now in blank...
#31
Hi,

I have an animation of the character walking to the right.
How could I reuse this animation for walking to the left?
Any way to flip easily the anims?

I have heard something about using negative values with drawanim but I´m not really sure if it works. I have try to test a bit but with some weird results.
Is this the way?

#32
Hi,
I´m using a transition animation for ingame menus.
The animation uses all the screen, 480x320.

Works fine on Windows but on the iPhone the animation gets corrupted.
This is not the first time I get this behaviour on the iphone in landscape mode.

Usually drawing with drawsprite bypass the problem.
So I believe there´s some problem with loadanim/drawanim in landscape mode.

This sample reproduces the behaviour:

Code (glbasic) Select
SETSCREEN 480,320, TRUE

GLOBAL ANI_TRANSITION = 0
LOADANIM "Media/transition.png", ANI_TRANSITION, 480, 320


WHILE TRUE
GOSUB OpenTransition
MOUSEWAIT
WEND

SUB OpenTransition:
LOCAL done=FALSE
LOCAL timer
LOCAL i=0

WHILE done = FALSE
timer = timer + GETTIMER()
DRAWANIM ANI_TRANSITION, i, 0, 0
SHOWSCREEN

IF timer > 84
INC i, 1
timer = 0
ENDIF

IF i > 4 THEN done = TRUE
WEND
ENDSUB



The png is attached.

Any idea about what could be happening?



[attachment deleted by admin]
#33
I know is not necessary a shoebox just for iphone but i´m building a multiplatform app.

So, does it work on iphone? And if it works...
Where do you have to put the file? I´ve tried in Media but paths seems wrong...
any got it working?
#34
When you are working with a lot of files would be awesome if you could organized the file tabs. Now they seem to be organized by creation date.
#35
Hi,

Is there any chance to support Dingux (Dingoo 320) platforms?
It seems that would not be very difficult with the custom linux kernel.

Due to the lack of GPH SDK, a lot of developers have switch to this cheaper platform (just 60â,¬!).
So, I think it would be a great idea to support it if is not so tricky.
#36

Hi,

I´ve just tried to compile something for my new snow leopard and the .app is not working.

I remember I had to download some libraries in the past for classic leopard, but I don´t find the link on the web page.
Are they still necessary on snow leopard? If yes, where´s the download link?

Many Thanks.
#37
Hi,
I´m using glbasic last version and compiling on iPhone 3.1 SDK.
MouseWait and KeyWait commands are not working properlly altought both should work as was said on the glbasic version logfile.

// 7.089
   // iPhone:
   //    KEYWAIT does MOUSEWAIT
   //    DRAWLINE works
#38
I´m sure I remember to read that mousewait and keywait had been fixed on the iPhone in one of the last updates.
it´s true or just my imagination?

Because the commands are not working.

Another thing, BLENDSCREEN is working on landscape mode, althought is said on the help that shouldn´t.
#39
Is there any performance difference between using drawanim with just one fixed frame or a simple drawsprite?
Thanks in advance.
#40

This bug affects me on all the versions of glbasic.

While coding a program on the IDE, sometimes my keyboard layout is changed from spanish layout (my only layout configured on my windows) to another one (I´m not sure but maybe is german or english).

Usually I had to restart the IDE to recover my keyboard layout.

Yesterday I found that pressing several times the shit, tab or upper case block my layout is fixed without restarting the IDE:
I don´t believe this bug is related to my XP because I only have this behaviour on the GLBasic IDE.