PDA

View Full Version : EmeraldsGame



peter
29-01-2009, 17:23
Hi,

I am back with a new game!
Try to pick up emeralds, stars and bombs.
That's all what you can do.

You move your hero with the arrow keys around the Map.
You can drop a bomb with your space bar.
There is nothing more what you have to do.

If you want to type a new name, then take the following steps:
Go to the PLAYER and press the return key.
Use the arrow keys for selecting a letter.
After choosing a letter, press the space bar.
Once you have written your Name, press the escape key.

For playing music use the arrow keys [right/left]
Easy thing.

catventure
29-01-2009, 18:22
Hey Peter!

Thanks for game. Very nice 'emeralds' type platformer. Played it while having my tea and biccies... which is not so easy to do I can tell you! :eusadance:

I have solved the first level though. Thanks for not making it too hard.

catventure.

Petr Schreiber
29-01-2009, 20:32
Hi Peter,

very nice game! I liked graphics, and the gameplay is interesting too!

There is programming competition on Coding Monkeys (http://www.codingmonkeys.com/), last 3 days to send entries, I think you will have big chances with your game :)


Thanks,
Petr

peter
29-01-2009, 23:23
Hi Petr,

thank you for your note. But i am not interested at a contest.
If you and other people have fun, then is it enough for me !
I need no prices for my works ! In addition i do not like the rules for this competition.

What can you say about the speed of the game ?
It runs with Fourty Frames ! That is for a "Script" very good.

I use as Game Loop the old "API TICKCOUNT".
Do you have a better way to do that ?

best regards

ErosOlmi
29-01-2009, 23:25
Peter,

really a great game! Love to play different maps with different ways of solving it.
What a great present ... again. You are a specialist in those kind of games.

Ok, I go back and play some more time.

Ciao and thanks again for the present.
Eros

ErosOlmi
29-01-2009, 23:31
I think the only very little problem I've found so far is the precision the hero needs to have to use the stairs during running with left/right pressed. While running, pressing up/down to get a stair sometimes hero missed it.

But maybe it is because I need more practice.

ErosOlmi
29-01-2009, 23:56
For timing, I've added new function in thinBasic 1.7.6.0.
You can see all thinBasic timing functions under thinbasic help file http://www.thinbasic.com/public/products/thinBasic/help/html/timing.htm

Hope this can help.

Ciao
Eros

peter
30-01-2009, 00:10
Hi Eros,

thank you, but i cannot any problem detect here.
It runs fine and very good. Indeed, i am a good player for 2D games.
The control makes no difficulties. You should check your ability for playing Platform games.
Is a joke ....

by the way: i get an error message if i want to write NEXT : NEXT ?
do note the colon.

best regards

ErosOlmi
30-01-2009, 00:14
Yes, I need to play more to get some practice :oops: :grrrr: :unguee: ;)

NEXT is supposed to be followed by a variable name (in any case ignored) or by a new line: http://www.thinbasic.com/public/products/thinBasic/help/html/fornext.htm

Colon is not supported there. Maybe I need to improve colon usage a bit.

Eros

Petr Schreiber
30-01-2009, 10:09
Hi Peter,

as Eros said, HiResTimer* functions give very good precision, I prefer them over GetTickCount.

Regarding performance, I had no problems with it here :) But if you seek ways to optimize to the edge, I would recommend caching whole background tile set as single display list. But maybe you do it already.

Thanks again for nice game :)

peter
30-01-2009, 18:23
Hi Eros,

what you said over the control, i understand now.
That is easy to explain. Our Hero has a Raster from 32x32.
If you press an arrow key, affected right arrow Key,
then runs our Hero accurately thirty two Pixel without Stopping.
That is what you do say so.
You can see it by pressing an arrow key shortly. The man runs and stops if he has reached the 32 Pixel.

Result: your Play abilities are not so bad.
Regards,

Petr Schreiber
30-01-2009, 22:02
:)

Just realised enemy in level 2 can climb the ladders, nice game!

Michael Hartlef
30-01-2009, 22:29
To bad I can't play it. I just see a black screen. When I move another window over the game window I see the game screen flickering. Don't worry about this as I am running windows inside an emulation. I don't have problems with other scripts but with your setup. Maybe you do something different than others.

peter
31-01-2009, 00:18
Hallo Michael,

für das Spiel benutze Ich die API.
Ich habe einen BackBuffer eingerichtet, der wiederum den Inhalt
auf das Fenster kopiert.
Das wird wahrscheinlich die Ursache sein.
Deine Emulation kann damit nicht umgehen, denke Ich !

for the game I use the API.
I created a BackBuffer, which copies again contents on the window.
That will be probably the cause.
Your emulation can not deal with it !

Petr Schreiber
31-01-2009, 00:26
Hi Peter,

you mean Win32 API/GDI or GDIPlus?
I though it is done via OpenGL, then my DisplayList suggestion is completely out :)

peter
31-01-2009, 00:37
Hi Petr,

Win32 API right now.
I plan a game engine with GDIPLUS.

Michael Hartlef
31-01-2009, 23:18
Peter, this is really a nice game! I like it. But it is expensive. :D Because I was so curious about it that I purchased a license for VMWare Fusion and now I can play it. Cost me 50 Euro.

Keep up the great job. I have a new module in the pipeline that can help you with future projects. It's about pathfinding and waypoints.