Dingoonity.org

GCW Zero => Development => Topic started by: mr1337357 on September 05, 2015, 05:39:29 am

Title: buggy bejeweled clone
Post by: mr1337357 on September 05, 2015, 05:39:29 am
I wrote a bejeweled clone. It still has bugs to sort out, but it's playable.
https://github.com/mr1337357/diamond-slider-game
It's too late at night where I am to figure out how to make an OPK, so I'll do that another time.
KNOWN BUGS:
*no menu
*ugly gems (I didn't want to copy any and risk violating copyright)
*I don't know why transparency won't work so the cursor flickers (fixed)
*Mouse cursor is still there (fixed)
*no scoring
*background image is ugly
*code is messy and undocumented

anyway use the d-pad to move the cursor, A/B/X/Y swap in their respective directions
Select quits.
It's not ready for criticism yet, but I will take any hints on what I got wrong.
Title: Re: buggy bejeweled clone
Post by: mr1337357 on September 05, 2015, 08:38:30 am
okay I got the OPK to build
https://github.com/mr1337357/diamond-slider-game/blob/master/diamond.opk?raw=true (https://github.com/mr1337357/diamond-slider-game/blob/master/diamond.opk?raw=true)
Title: Re: buggy bejeweled clone
Post by: gameblabla on September 05, 2015, 10:26:01 pm
Ok, i encountered some issues.

I never programed in python but in C, you hide it like this :
SDL_ShowCursor(0);
Make sure it is put after SDL_INIT_VIDEO but before SDL_SetVideo.


Obviously, it's still rough around the edges.
Good luck
Title: Re: buggy bejeweled clone
Post by: mr1337357 on September 06, 2015, 07:17:07 am
Quote
Icon is too small. it must be 32x32, not 10x10
fixed

Quote
Virtual mouse is not hidden.
fixed. ( it's pygame.mouse.set_visible(0) )

Quote
I can't play the game. It seems to play on its own. Weird
the game clears any lines of 3 or more gems. IIRC that's how the original worked. This includes lines created from gems falling. If it keeps creating lines, it'll keep clearing them and spawning more gems. I added another gem type which should reduce the requency of this happening.

Quote
Obviously, it's still rough around the edges.
Good luck
thanks :)