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

Messages - Ian Price

#3931
"Change puzzle" refers to selecting a completely new puzzle - either the one prior to the current one, or the one after. Does that make sense?

The "Any progress" text means basically that all moves that you have taken, all the work you have done so far, will be lost if you decide to go to another puzzle/restart the current puzzle. You will have to start afresh if you return to this puzzle. The data will not be saved.

This recent WIP image might make a bit more sense. Maybe...


Thanks again for the assistance, BTW :)

[EDIT] Looking at that image, I might just change the GUI title to something a bit less vague than "Change puzzle". It's still WIP after all. :)
#3932
Here are a few more (nearly there!) :)

Change puzzle

Play previous puzzle?
Play next puzzle?
Restart puzzle?

Any progress will be lost.

Cancel
#3933
GLBasic - en / New Wip
2008-Jan-13
That's a pretty good version of the old classic. :)

Quick question - is there a level editor to allow us to desgin levels?
#3934
Well, I couldn't have done it without all your help. So big thanks to everyone that has helped so far :)
#3935
Cheers.


Is that better?
#3936
Ask and ye shall receive... :P

The blocks are definitely sliding (in fact I call them "sliders).

So... which translation should I go for? (I knew I should have taken German instead of French!)

Maybe this screenshot will throw a little light on the action :)


In-game, the image is animated and shows exactly how to play.

BTW Theses are early WIP images.
#3937
Thanks Gernot :)

[EDIT] Silly question, but there appears to be some uppercase characters in the text - is that right?
#3938
A bit more translation required, if you don't mind -

"How to play"

"Select, then slide the blocks so that they all rest on a pad of the same colour. Moving blocks only stop when they collide with another block or a wall."

:)
#3939
I know why you want this ;)

That's a lot of kerfuffle over nothing really PeeJay. At the start of your game you just produce a file (if it doesn't exist) that holds lots of random values (only one of which is the real deal). Only alter this file once the required section is completed and update all of the values including the real deal within the file.

A quick check of that file (only when it's really needed) for the real deal value will either allow further progress or not. Checking would be (near) instantaneous and no further file manipulation would be required. I gave an example of file reading and writing on these forums, just use something similar. It's incredibly quick and would be invisible to the user.

Trying to do something more complex is probably a waste of time.

Of course, you could always encrypt the file using  something like base64 (I have an example if you require it).
#3940
Well, my pc is far from a 3Ghz mega beastie, and my code ran like a rocket. In all honesty if that code didn't work at a decent speed for you, I very much doubt that anything more advanced will either - there isn't really a lot happening in it. However, PDAs are not my forte and someone with some experience may well provide a better solution - if not, then I'm afraid you're stuck.

Is there no dedicated PDA software that'll do what you want it to?
#3941
Here's a quick drawing utility using CreateScreen and UseScreen.

Code (glbasic) Select
SETSCREEN 320,240,0

LIMITFPS 60

SYSTEMPOINTER TRUE

CREATESCREEN 1,1,320,240

USESCREEN 1

DRAWRECT 0,0,320,240,RGB(255,255,255)

main()

END


// Main
FUNCTION main:
WHILE TRUE

MOUSESTATE mx,my,b1,b2

USESCREEN 1

IF b1=1
 IF oldx=0 AND oldy=0
  oldx=mx
  oldy=my
 ENDIF
 
 IF mx<>oldmx OR my<>oldmy THEN DRAWLINE mx,my,oldx,oldy,RGB(0,0,0)
 oldx=mx
 oldy=my
ENDIF

IF b1=0
 oldx=0
 oldy=0
ENDIF

USESCREEN -1

DRAWSPRITE 1,0,0

SHOWSCREEN

WEND

ENDFUNCTION
#3942
Quote from: bigsoftyno other Basic has a developer with such a close relationship with his customers.
Actually Kevin Picone is very close to his customers with PlayBasic too, which is also a viable alternative, but lacks some of the ease of use as GLBasic and has limited 3D support and completely lacks any form of cross-compatibility with other machines. Of course GLBasic has that and more besides. It's not big, and does lack a lot of things, but GLB appears to be growing with demand :)

If only we could combine all the features of all the Basic languages together into one big set of easy to use commands that would be the be-all and end-all of Basic languages and we could take over the world (or just remake Manic Miner) ;) :P
#3943
Using the above method should not be slow - reading or writing, even with a pretty large array.

Unless the data is really, really huge then loading it all in in one go (for each level) shouldn't take more than a blink. If it's seriously big, then it'll take forever to actually create the map in the first place!
#3944
LOL :P

I think I'll stick to asking you guys - if you don't mind then :D
#3945
Thanks Kosta :)

BTW -  "Random" in the sense of "play random track" and "random movement"