• HomeBoards
  • RulesRules
  • HelpHelp
  • WikiWiki
  • Donate

Author Topic: buggy bejeweled clone  (Read 1361 times)

mr1337357 (OP)

  • Posts: 6
buggy bejeweled clone
« 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.
« Last Edit: September 06, 2015, 07:21:16 am by mr1337357 »

mr1337357 (OP)

  • Posts: 6
Re: buggy bejeweled clone
« Reply #1 on: September 05, 2015, 08:38:30 am »

gameblabla

  • Posts: 1446
Re: buggy bejeweled clone
« Reply #2 on: September 05, 2015, 10:26:01 pm »
Ok, i encountered some issues.

  • Icon is too small. it must be 32x32, not 10x10
  • Virtual mouse is not hidden.
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.

  • I can't play the game. It seems to play on its own. Weird

Obviously, it's still rough around the edges.
Good luck
« Last Edit: September 05, 2015, 11:26:35 pm by gameblabla »

mr1337357 (OP)

  • Posts: 6
Re: buggy bejeweled clone
« Reply #3 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 :)
« Last Edit: September 06, 2015, 07:20:04 am by mr1337357 »