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 - Ian Price

#21
I did a search of the forum and couldn't find anything relating to this, so...

I haven't got a specific Android device yet (I can use Pandora or TouchPad, but they are not dedicated), so I need some help with the transferring of compiled Android apps. to someone that does.

If I want to send/give a file to someone with an Android device for them to install for testing etc. do I need to send them just the .glbasic-release-unsigned.apk, or is it one of the other .APK files? Does it need any media folders etc. ?

I've seen how to install an .APK - http://www.talkandroid.com/guides/beginner/install-apk-files-on-android/   is this generally how others can install my glb app. ?

This is for testing only, and not to put on any market places.
#23
Here's my entry for the Dragonbox Coding Competition 2012/2013.

It's a retro styled arcade adventure puzzler set under the ocean.



PANDORA - http://www.iprice.remakes.org/my_stuff/AquaVenture.pnd

CAANOO - http://www.iprice.remakes.org/my_stuff/caanoo_aquaventure.zip

WIZ - http://www.iprice.remakes.org/my_stuff/wiz_AquaVenture.zip

PC - http://www.iprice.remakes.org/my_stuff/pc_AquaVenture.zip





[EDIT] Added a Wiz version. There's a long pause at the start of the app - it hasn't crashed, it's unpacking the gfx/sfx.
#24
Is the hamster that normally runs around in the wheel that powers the GLBasic forums on holiday?

Is the forum slow for anybody else recently?

Are sooo many people online due to being off work at Christmas slowing it all down?

It's not constantly slow, but there have been times this week where it's taken a fair while to load a page.
#25




[EDIT] Download is now removed and added as an attachment later in this thread.

Use the mouse to click on the masks (more than one has to be connected to similar masks) - the more connected masks disappear the more you score. Clear the board of masks to go to next level.

I couldn't think of a name at first so called it Hallowian (after me, sort-of), but I'm now thinking Halloweenie would have been better, but there ya go.  I don't plan to update it at all.

[EDIT] The game is available for Caanoo too - http://www.iprice.remakes.org/my_stuff/Hallowian.rar
#26
Hi Gernot

While porting Guru Logic to the Pandora I discovered that the GETPIXEL command (in GLB v10.283) always returned zero.

The code below works fine on pc (and Pandora), however pc version correctly returns different values when moving the cursor over different colours - the Pandora always returns zero.

Code (glbasic) Select

SETSCREEN 800,480,0

CREATESCREEN 1,999,800,480

USESCREEN 1

FOR n=0 TO 1000
DRAWRECT RND(800),RND(480),RND(64),RND(64),RGB(RND(255),RND(255),RND(255))
NEXT

USESCREEN -1

LOCAL mx,my,b1,b2, pixel

WHILE TRUE

MOUSESTATE mx,my,b1,b2

DRAWSPRITE 999,0,0

pixel=GETPIXEL (mx,my)

PRINT "PIXEL "+pixel,10,10

DRAWLINE mx-10,my,mx+10,my,RGB(255,255,255)
DRAWLINE mx,my-10,mx,my+10,RGB(255,255,255)

SHOWSCREEN

WEND
#27
 As I am now the proud owner of a real working Caanoo, I've ported four of my older games (from GP2X and Wiz) as well as one new one to the Caanoo and uploaded them to the archive.

A couple of these games were available for the Caanoo already (I ported them a while back), but they've been updated and several bugs have been fixed.

The games are -

Guru Logic Champs - http://dl.openhandhelds.org/cgi-bin/caanoo.cgi?0,0,0,0,25,858

Balloonacy - http://dl.openhandhelds.org/cgi-bin/caanoo.cgi?0,0,0,0,25,859

Drench - http://dl.openhandhelds.org/cgi-bin/caanoo.cgi?0,0,0,0,25,860

Blitz - http://dl.openhandhelds.org/cgi-bin/caanoo.cgi?0,0,0,0,25,861

SantaMania - http://dl.openhandhelds.org/cgi-bin/caanoo.cgi?0,0,0,0,25,862

Enjoy.

#28
Hi Gernot

Would it be possible to implement a change in transparency on the fly, rather than using SETTRANSPARENCY for LOADSPRITE/GRABSPRITE and LOADFONT?

The reason I ask is that it's not actually possible to draw some things with transparency at RGB(255,0,128) - you can use DRAWRECT fine, but you can't with DRAWLINE or POLYVECTOR.

Being able to change the transparency in realtime on the fly could help create some visual effects very quickly (eg halos of light around torches/characters, colour changes to sprites etc.).

See this example here, where the inconsistencies of the colour mask cause problems

Code (glbasic) Select

CREATESCREEN 1,999,64,64

USESCREEN 1

DRAWRECT 0,0,64,64,RGB(255,0,128)
//DRAWRECT 0,0,64,64,RGB(255,0,129)

USESCREEN -1


WHILE TRUE

DRAWRECT 100,100,64,64,RGB(255,0,128)

STARTPOLY 999
POLYVECTOR 200,100,0,0
POLYVECTOR 264,100,64,0
POLYVECTOR 264,164,64,64
POLYVECTOR 200,164,0,64
ENDPOLY

DRAWLINE 300,100,364,100,RGB(255,0,128)
//DRAWLINE 300,100,364,100,RGB(255,0,129)

SHOWSCREEN

WEND


I'm working on something right now that while working well on pc and (slower) on webos it kills the speed significantly on Pandora. Being able to draw in a transparent colour onto a sprite would significantly increase the speed on all systems.

Cheers :)
#29
SETMOUSE doesn't appear to be working correctly on the Pandora. It does seem to have a very brief effect, but on the very next call to MOUSESTATE the old mouse cursor position is returned and not that of the new position (or so it seems).

Basically it seems to be remembering the old mouse position and returning the cursor back to it rather than keeping the SETMOUSE position.

It is working correctly on Windows, but not on Pandora.
#32
Off Topic / GameFroot
2012-May-01
There's a new "drag and drop" style coding language in town - GameFroot.

From what little I've seen it appears to be an online GamesFactory/Klick&Play type web-based thingy that allows you to create and share games online or on an iOS device.

Not had any time to have a real look or a play, but could be of interest to some.

http://gamefroot.com/
#33
For today only (apparently), go to Google and search for the following.....

Zerg Rush


Use your mouse to shoot the "O"s before they wipe your screen

:)
#34
#35
http://www.amazon.co.uk/Veet-Hair-Removal-Creme-200ml/dp/B000KKNQBK/ref=sr_1_1?ie=UTF8&qid=1334912056&sr=8-1

WARNING:  This may make you laugh till you cry. Seriously.

Funniest thing I've read in ages. =D
#36
Gernot, you might want to have a look at this - http://www.playstation.com/pss/developer/index_e.html
#37
Here is a link to a list of freeware tools that could help with developing games and apps.

http://utbbs.tbbs.nl/FAQ.php?HC=FAQ&A=Free

Rather useful methinks. :)
#38
I've created several Pandora .PND files for the Pandora competition, and mentioned this on the Pandora boards.

One of the users stated that GLB .PND files don;'t work on the Pandora and that PNDTools is required to create a working .PND.

Is this the case? I've sent a couple of the GLB .PND files to Minion who gave feedback (so obviously the game worked), but did he need to use PNDTools or does GLB export proper .PND files now?

Min, if you're reading, what did you use/do to the files to enable them to run?
#39
Will GLB offer support for another format later this year? Will the iPad mini use existing resolutions? Will Apple make mega squillions selling it?

The answer is probably YES to all of those questions.

http://www.pcadvisor.co.uk/news/apple/3344335/ipad-mini-launching-later-this-year/?cmpid=HTML-DN140312&olo=daily%20news

However, time will tell.
#40
Now you can develop your own Android apps on your own Android device -http://www.engadget.com/2012/03/07/develop-android-using-aide-video

I'm not really interested in that, but I'd seriously love to be able to develop GLBasic apps on an webOS/Android tablet. To be able to code/compile/test an app on the target hardware would be a fantastic boon for GLB.