Author Topic: Splot (Board Game)  (Read 336 times)

Rick3137

  • Sr. Member
  • ****
  • Posts: 347
  • May the Force be with You
    • View Profile
    • Rick's Programs
Splot (Board Game)
« on: June 01, 2017 »
  I made this simple board game for my grandkids, two of them, who are 5 year old twins, recently took a liking for the computer games on my laptop.
 It has a lot of sound effects to keep them busy. I did an experiment involving the addition of two sounds playing at the same time. In the past, I have had trouble with this sort of thing. NaaLaa did it with no trouble at all. I also did an experiment, drawing my own game marbles. There are no bitmaps in the data folder.


Marcus

  • Administrator
  • Hero Member
  • *****
  • Posts: 549
    • View Profile
Re: Splot (Board Game)
« Reply #1 on: June 06, 2017 »
Looks good! I'll check it out tomorrow!
.\\\opz

Marcus

  • Administrator
  • Hero Member
  • *****
  • Posts: 549
    • View Profile
Re: Splot (Board Game)
« Reply #2 on: June 07, 2017 »
Haha, the sound effects are crazy :)  I'll add it to the games page with your permission!

Edit:  I added it without your permission, Rick, but I know you're usually fine with it :) Just tell me if you want it removed!
« Last Edit: June 07, 2017 by Marcus »
.\\\opz

Marcus

  • Administrator
  • Hero Member
  • *****
  • Posts: 549
    • View Profile
Re: Splot (Board Game)
« Reply #3 on: June 07, 2017 »
Rather than rendering the marbles from scratch all the time, you could create an image, in code, for each type and draw them instead. It should be a lot faster - not that speed matters much in a board game, but still :)

Code: [Select]
' Create an image of the desired size (probably not 64x64).
create image 1, 64, 64
' Set magenta to transparent.
set image colorkey 1, true
' Draw on image 1 instead of the window.
set image 1
' Make background magenta (transparent).
set color 255, 0, 255
cls
... Call your procedure for drawing a marble at the center of the created image (in this case position 32, 32).
' Return drawing to the window.
set image primary
.\\\opz

Rick3137

  • Sr. Member
  • ****
  • Posts: 347
  • May the Force be with You
    • View Profile
    • Rick's Programs
Re: Splot (Board Game)
« Reply #4 on: June 08, 2017 »
  Good idea. I was saving that, for a future update.

B+

  • Full Member
  • ***
  • Posts: 215
    • View Profile
Re: Splot (Board Game)
« Reply #5 on: June 27, 2017 »
Nice game Rick, it reminds me of Click-O-Mania :)
B+