Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / David's Dice Game Challenge..

Author
Message
David Gervais
Moderator
13
Years of Service
User Offline
Joined: 28th Sep 2005
Location: Montreal, Canada
Posted: 26th Jul 2010 23:57 Edited at: 26th Jul 2010 23:58
HowDo, no pixels were hurt in the process of making this new opening screen...



Cheers!

Attachments

Login to view attachments
HowDo
16
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 27th Jul 2010 00:16
absolutely Beautifully, Big Thanks, you've got brilliant skills when come to art work.

Dark Physics makes any hot drink go cold.
HowDo
16
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 27th Jul 2010 01:21 Edited at: 27th Jul 2010 13:21
David, just had great idea, could you do some thing that look like a cheque, banker draft, then I could ask the player how much do they want to spend.

edit

this has the new opening and money input, give a try, looking for comments on the wording, if you can think of something that might be better the post the lines to use.

Dark Physics makes any hot drink go cold.

Attachments

Login to view attachments
David Gervais
Moderator
13
Years of Service
User Offline
Joined: 28th Sep 2005
Location: Montreal, Canada
Posted: 27th Jul 2010 01:41
I could dig up these old paper money models and do something perhaps?..



Cheers!

HowDo
16
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 27th Jul 2010 10:54 Edited at: 27th Jul 2010 13:23
I am thinking something like the picture uploaded here .

edit

see post above this one for latest version so far.

Dark Physics makes any hot drink go cold.

Attachments

Login to view attachments
David Gervais
Moderator
13
Years of Service
User Offline
Joined: 28th Sep 2005
Location: Montreal, Canada
Posted: 27th Jul 2010 14:21 Edited at: 27th Jul 2010 14:22
How about this...



Cheers!

Attachments

Login to view attachments
HowDo
16
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 27th Jul 2010 14:27
Now that's what I call a cheque, outstanding again. thanks again.

now to plug this one in

Dark Physics makes any hot drink go cold.
David Gervais
Moderator
13
Years of Service
User Offline
Joined: 28th Sep 2005
Location: Montreal, Canada
Posted: 27th Jul 2010 17:16 Edited at: 27th Jul 2010 17:16
Howdo, I'm gonna give you some feedback..

First here is a new transparent Dice Fruits Logo..



Next, the light source in the game seems to be directly above the cubes.. try moving it in front of them. (the cubes look faded and lack that little bit of 'Pow!) It also looks like you have pasted the hold button sprites on a plane and it has also caused the buttons to look faded. ( moving the lighting to the front might fix this at the same time.) I like the gradient background on the second screen,.. can you use that as the game background also?

later I'll make you a new Cancel and Start Sprite.

Oh and on the game screen, if you use the new logo I posted here, you can scale it down and place the sprite in the top middle of the screen to replace the 'text' of Dice Fruits. the logo scalled to 50% should fit fine.

Cheers!

Attachments

Login to view attachments
David Gervais
Moderator
13
Years of Service
User Offline
Joined: 28th Sep 2005
Location: Montreal, Canada
Posted: 27th Jul 2010 17:23 Edited at: 27th Jul 2010 17:24
Bah I made the mistake of assuming your original .png was set to alpha channel.. it was a 24bit non-alpha channel.. I had to re-save it with transparency.



Cheers! v2.0

Attachments

Login to view attachments
HowDo
16
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 27th Jul 2010 18:03 Edited at: 27th Jul 2010 22:53
Thanks again looks brilliant will be gone for a while now, as I am trying to get numbers into words to print on the bank draft, this is really giving the old grey matter a bashing.

you'd think would be easy to turn 1,000,000 into words, like heck!

Dark Physics makes any hot drink go cold.

Attachments

Login to view attachments
HowDo
16
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 27th Jul 2010 22:46 Edited at: 27th Jul 2010 22:54
Well here we go again, an update with the logo and bank draft added and begin fill in.

and now the screeny......



file dicefruitsa4

Dark Physics makes any hot drink go cold.

Attachments

Login to view attachments
David Gervais
Moderator
13
Years of Service
User Offline
Joined: 28th Sep 2005
Location: Montreal, Canada
Posted: 28th Jul 2010 02:05
nice but... the pay to the order line should have the name of the player, the line under for the text amount in dollars.

There would be nothing wrong with limiting the amount to thousands.

Cheers!

HowDo
16
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 28th Jul 2010 10:54 Edited at: 28th Jul 2010 22:14
Ha! was wondering how it should be filled it, plus what goes in Memo.

Quote: "There would be nothing wrong with limiting the amount to thousands."


If I did that how could you then bet a small fortune on one spin, Yes, you guess it I am working out how to ask for how much to gamble on each spin.

edit
code update if you have all ready down load one of the above then just copy this over the code you have.



Dark Physics makes any hot drink go cold.
David Gervais
Moderator
13
Years of Service
User Offline
Joined: 28th Sep 2005
Location: Montreal, Canada
Posted: 28th Jul 2010 13:36
the 'memo' part of a cheque or bank draft is to make a note about what the checque was made for. ie: rent, car payment, phone bill etc.

most people leave it blank

Cheers!

Green Gandalf
VIP Member
14
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 30th Jul 2010 13:19 Edited at: 31st Jul 2010 01:21
Latest version (V6) of SwapIt! attached.

Changes are mostly minor additions to the code to check for end of level, etc. The game now automatically proceeds to the next level when the faces of all dice are correctly ordered. Also, you can't choose a die once it's faces are correct.

Sounds are still only placeholders as are some images such as the title and game over screens. I'm very happy with the look of the main part of the game though.

Edit I may be re-instating music into the game. My earlier failures seem to be related to a DBPro quirk (bug??) - the default music volume seems to be the last value set by a DBPro program not just the current program. Confusing - especially since the music volume() function returns 100 by default. At least that seems to be the case on my XP laptop. Not sure about the Vista machine yet.

Attachments

Login to view attachments
Oboro
8
Years of Service
User Offline
Joined: 27th Jul 2010
Location: Gilmer, TX
Posted: 2nd Aug 2010 06:26
Hey all is it appropriate to post code snippets in here and get help?

Space for rent.
HowDo
16
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 3rd Aug 2010 20:43
still thinking how best to do the betting system, however here an update, now fills in the bank draft and signs it with your name.

still need to make the button work in a few state were you.ve need to hold or roll.

give it a whirl and give some feedback.

Dark Physics makes any hot drink go cold.

Attachments

Login to view attachments
David Gervais
Moderator
13
Years of Service
User Offline
Joined: 28th Sep 2005
Location: Montreal, Canada
Posted: 4th Aug 2010 20:44
Quote: "Hey all is it appropriate to post code snippets in here and get help?"


Yes of course, as long as it's regarding your dice game.

Cheers!

IBOL
Moderator
14
Years of Service
User Offline
Joined: 30th Mar 2004
Location: @IBOL17
Posted: 5th Aug 2010 08:37
BMacZero
13
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ N_America/ USA/ CA/ South
Posted: 8th Aug 2010 17:48 Edited at: 8th Aug 2010 17:48
Mine's not quite done - I plan to make a few revisions to make combat move faster, and some kind of item system (at least armor and weapons), but I'll let you get started on the graphics .

Music by Lucifer
Sounds from freesound.org

Attachments

Login to view attachments
DVader
14
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 8th Aug 2010 18:13
Oh no! You mean my epic game driving through all of America and Europe can't be entered! I have fluffy dice hanging from the mirror Was hoping for some nice 3D graphics to complement it, lol. Joking of course Still wondering what to do for the netbook compo at the mo, but if I get any ideas I will have a crack at this too.

http://s6.bitefight.org/c.php?uid=103081
IBOL
Moderator
14
Years of Service
User Offline
Joined: 30th Mar 2004
Location: @IBOL17
Posted: 8th Aug 2010 19:25 Edited at: 8th Aug 2010 19:30
BmacZero,
i tried to run your game, but i keep getting errors...
variable MAX does not exist in program,
same with min, then 'array subscript out of bounds' on some
unstated variable.

how 'bout a compiled .exe?

it looks cool, so i'd like to try it.

BMacZero
13
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ N_America/ USA/ CA/ South
Posted: 8th Aug 2010 19:39
I mentioned a while back it relies heavily on the Matrix1 plugins, that's where min and max and several other commands come from.

Here's just the exe (use with media above).

Attachments

Login to view attachments
IBOL
Moderator
14
Years of Service
User Offline
Joined: 30th Mar 2004
Location: @IBOL17
Posted: 8th Aug 2010 21:07
thanks for the exe.
i tried it, and i love the visual style,
and the music is very tense and appropriate.

but from a gameplay standpoint,
i would make it so that every 'attack sequence'
had an obvious (to the player) outcome / effect.

(damage is done to one or both, or a 'miss' is shown somehow
(is that the 'fail' ?) )

BMacZero
13
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ N_America/ USA/ CA/ South
Posted: 8th Aug 2010 22:56
Thanks IBOL! I think I may switch it so that unless both combatants fail, someone takes damage, or else at least a 'clang' sound effect to indicate nobody got hit (yes, the ! means the combatant failed their attack roll).

IBOL
Moderator
14
Years of Service
User Offline
Joined: 30th Mar 2004
Location: @IBOL17
Posted: 16th Aug 2010 21:50
hurry hurry hurry!

Green Gandalf
VIP Member
14
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 16th Aug 2010 22:21
Quote: "hurry hurry hurry!"


Thanks for the reminder.

It's forecast to be wet here for the rest of the week - ideal for finishing off some coding, etc.
Fatal Berserker
8
Years of Service
User Offline
Joined: 2nd Jul 2010
Location:
Posted: 17th Aug 2010 00:06
Now this, is interesting .
Great work so far, and amazing art David Gervais.

oh and
Your a mod? Is that new?

If all else fails, blame your Government.
MMM
10
Years of Service
User Offline
Joined: 21st Jan 2009
Location: NSW, Australia
Posted: 17th Aug 2010 11:12 Edited at: 18th Aug 2010 04:57
Hi Guys! I've been wanting to take part in this little comp for a while now but I only just got some time yesterday to whip up a little game. It's a cyberpunk version of an actual dice game I made about two years ago - so the design has been around for ages. You can even find it on facebook.

It's all 2D but it should run at any resolution. The bigger the better! If there's any weirdness with, say, text overlapping, please let me know!






Will attempt to attach the file to this post. Media compiled.

Powerboard Productions

Attachments

Login to view attachments
David Gervais
Moderator
13
Years of Service
User Offline
Joined: 28th Sep 2005
Location: Montreal, Canada
Posted: 17th Aug 2010 13:15
MMM interesting game,.. I figured out how to play at the end where you show the rules.. you might want to place the rules instructions at the start.

Also, do you have any placeholder graphics? or are the dice all drawn in code?

Cheers!

MMM
10
Years of Service
User Offline
Joined: 21st Jan 2009
Location: NSW, Australia
Posted: 17th Aug 2010 15:02
Gah! Of course. I compiled the media with the executable. There are two files, the dice spritesheet (16kb) and the arrow from the second menu (1kb?). I'll try and upload another non-compiled version in the next few hours, when I've seen about reorganising the rules page, like you mentioned. (DD is usually played in a dark corner of a pub, see, I'm just so used the rules by now it slipped my mind.)

Graphics rely mostly on semiotics right now. Was thinking of encorporating different graphic styles to choose from. Thoughts?

Powerboard Productions
MMM
10
Years of Service
User Offline
Joined: 21st Jan 2009
Location: NSW, Australia
Posted: 18th Aug 2010 05:18
And the new download with media...

(sorry that took so long, but I fixed some gameplay bugs too)

Powerboard Productions

Attachments

Login to view attachments
IBOL
Moderator
14
Years of Service
User Offline
Joined: 30th Mar 2004
Location: @IBOL17
Posted: 19th Aug 2010 20:34 Edited at: 22nd Aug 2010 06:41
hi david,

maybe you should offer an official extension,
maybe a week or two.

hey thanks!

David Gervais
Moderator
13
Years of Service
User Offline
Joined: 28th Sep 2005
Location: Montreal, Canada
Posted: 20th Aug 2010 01:06
**** Deadline extended to August 26th***

Although I placed a Deadline, this is not really a 'Compo' per say, I'm just challenging you all to make dice games and I'm offering to help with the graphics. So even if you take a bit longer than the deadline, it's not a real problem, I'll still keep watching this thread.


Cheers!

Green Gandalf
VIP Member
14
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 22nd Aug 2010 12:58
Latest version of SwapIt! attached.

It's more or less a complete game now with scoring system and High Score table. The game itself hasn't changed from the earlier versions.

Attachments

Login to view attachments
DVader
14
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 24th Aug 2010 03:07
Just tried your Swapitgame Green Gandalf, I get an error with line 251 you$=left$(you$,min(10,len(you$))).
I get this error, Parameter for 'left$' do not match 'String,Value' at line 251. I am using DB 1.075. I can only assune it is a plugin I do not use. I try to avoid them these days, it gets too confusing when upgrading to keep on track of all of them.
Perhaps an exe would be useful to see it running for us users without plug ins.

http://s6.bitefight.org/c.php?uid=103081
Green Gandalf
VIP Member
14
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 24th Aug 2010 17:48 Edited at: 24th Aug 2010 21:05
I mentioned earlier in the thread that I use IanM's Matrix1 utilities - the "min" function in the case of that line.

I wouldn't be without them.

Quote: "Perhaps an exe would be useful to see it running for us users without plug ins."


Try the attached. I think it's the same version.

Edit Oops! It wasn't. Try this instead. Hope I got it right this time...

Attachments

Login to view attachments
DVader
14
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 24th Aug 2010 18:51
No luck even with that lol! Copied the exe into the main directory, now has cannot load bitmap at line 241. I have looked at the code and see the file exists at the right location so not sure why that isn't working. Unless you have altered it since possibly.

http://s6.bitefight.org/c.php?uid=103081
BMacZero
13
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ N_America/ USA/ CA/ South
Posted: 24th Aug 2010 19:56
Despite the extension, I don't think I'm going to finish my game up. I'm just having trouble getting interested in it when I have other projects like Fields that are a lot more interesting to work on.

Good luck all of you!

Green Gandalf
VIP Member
14
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 24th Aug 2010 20:40
Quote: "No luck even with that "


I'll test my download plus the exe on another machine and report back.
Green Gandalf
VIP Member
14
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 24th Aug 2010 20:58
Yes, I get exactly the same problem and it's my fault.

Quote: "Unless you have altered it since possibly."


Er, yes. Sorry. That's exactly what I did. Try the new exe download attached three posts back.
David Gervais
Moderator
13
Years of Service
User Offline
Joined: 28th Sep 2005
Location: Montreal, Canada
Posted: 26th Aug 2010 19:05
Sorry that I haven't peeked in here much I've suddenly got really busy. I'll keep an eye on this thread and I'll see if a few of the games here can get some kind of mention in the newsletter, and just keep this thread alive.

Cheers!

Green Gandalf
VIP Member
14
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 26th Aug 2010 21:59
Does that mean we've got another extension? I'd like to add a credits screen and a couple of other things.
David Gervais
Moderator
13
Years of Service
User Offline
Joined: 28th Sep 2005
Location: Montreal, Canada
Posted: 27th Aug 2010 04:41
Like I said before this is not really a 'competition', it's me challenging programmers to make dice games and I'm offering my talent for artwork. So even though I put a deadling, I don't feel like I'll abandon these game just because a date came and went. there are still many elements in your game GG hat I need to make artwork for, it's just a time management thing, atm I'm a bit busier than usual.

So, keep working on the games, finish them up. I'll get to this at some point, and as I polish some games I'll toss them at batvink to make mentions in the newsletters.

Cheers!

Green Gandalf
VIP Member
14
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 27th Aug 2010 12:58
Quote: "there are still many elements in your game GG hat I need to make artwork for, it's just a time management thing, atm I'm a bit busier than usual."


Thanks. I'm looking forward to them. No hurry on my account.

Which elements?
David Gervais
Moderator
13
Years of Service
User Offline
Joined: 28th Sep 2005
Location: Montreal, Canada
Posted: 27th Aug 2010 13:58
Quote: "Which Elements?"


I was thinking the button sprites and I'm still not 100% sure I'm liking the main game background.

Cheers!

Green Gandalf
VIP Member
14
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 27th Aug 2010 14:13 Edited at: 27th Aug 2010 14:14
Quote: "I was thinking the button sprites "


Good - they are just placeholders.

Quote: "I'm still not 100% sure I'm liking the main game background.
"


The people who've tested it for me are very happy with that. However, I've recently changed the code so it uses the same background for all stages of the game, i.e. title, game play and game over screens. Perhaps you could do something about a title and game over screen consistent with the game background? That should keep everyone happy - especially me.

The main complaint from testers is the lack of instructions at the start (they are given in the readme file). For my part I'd like to add an initial Credits screen and some background sound or music - especially at the end. But my skills in that area are limited as you can see from the existing sounds some of which have been borrowed from Windows. The scoring system might need tweaking a bit as well. I don't intend to change the game itself though - well not for this challenge anyway.
zapakitul
11
Years of Service
User Offline
Joined: 1st Mar 2007
Location: In my world
Posted: 31st Aug 2010 00:01
Can one still take part in this challenge? I'm working on a small game that could use a lift off
David Gervais
Moderator
13
Years of Service
User Offline
Joined: 28th Sep 2005
Location: Montreal, Canada
Posted: 31st Aug 2010 03:41
Yuppers, keep having fun, I'm keeping an eye on this thread, it's my challenge, not a monthly compo thing.

Cheers!

Login to post a reply

Server time is: 2019-01-22 18:02:52
Your offset time is: 2019-01-22 18:02:52