ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Announcements and Showcase
forum topic indicator Demons and Dice - testers please...
person icon
veganpete.
Registered User
Quote
2024-05-28 21:58:25

LATEST: 29-JUN-2024

Hi, here's a demo of a trading card game I'm making with Coppercube. I'd appreciate if anyone would like to test what I've done so far and leave some feedback for me please. Thank you.

Here's the link..
https://veganpete.itch.io/demons...
embedded external image
🔎︎

embedded external image
🔎︎


Defeat minions, gather items, cast spells, power-up, ascend the realms, confront the Godhead.
Growing collection of unique a.i. artwork (500 locations and 166 characters).
Unique attack/defend/stamina/spell-casting system.
Entire game is controlled by simply throwing 1, 2 or 3 dice.
Simple lore influenced by 3 elements (FIRE>EARTH>WATER>).
Tweak your character with level-up perks.
Learn spells and collect items from defeated enemies.
Health Points - Stamina Points - Attack Points - Defense Points.
Random adventure with structured level-progress (unlock locations and characters).
Collect a trophy-deck of defeated characters, items and explored locations.
Completely random dice-throws, based on real-time physics calculations.

How to Play - demo version (early access)...
Keys: 1, 2, or 3 to roll one, two or three dice.
Each dice-roll deducts stamina from the player.
If stamina reaches zero, player must rest and cannot attack.
If dice-total is higher than enemy defense score (purple), player attacks,
Player attack strength = (Player dice throw - Enemy defense score).
If dice-total is lower than enemy defense score (purple), player defends.,
Player defense strength = (Enemy attack score - Player dice throw).
With every attack or defense, enemy health-points become depleted.
If enemy health-points reach zero, enemy is destroyed and player progresses.
If player health reaches zero, player is defeated and game ends.
Items and spells are automatically collected from killed enemies.
Items can be carefully equipped to give player advantage.
Press SPACEBAR to flee to a new location.
Fleeing an enemy restores player stamina by 50%.
If player or enemy element location element, defense bonus is added,
(Denoted by purple energy glow animation).
If player or enemy elements beat each other, attack bonus is added,
(Denoted by golden crown icon).
Press S to view the spell-book.
Press D to view the trophy-deck.
Press 1 and 2 to scroll pages of trophy deck.
Defeated enemies are displayed in trophy deck.
In game, defeated enemies wear a veteran's rosette.
Defeat a full set of enemies (15) to unlock next level.

person icon
okeoke
Registered User
Quote
2024-05-28 22:26:31

Itch asks for a password if I'm trying to access the page. Is there a way to get it, or am I missing it's in the description?

person icon
serge
Registered User
Quote
2024-05-28 22:56:41

PASSWORD: veganpete

person icon
VP
Guest
Quote
2024-05-28 23:28:11

So sorry about the password okeoke, thanks for that Serge. It should be pass-free now.

person icon
Monks
Guest
Quote
2024-06-01 16:17:13

Wow so happy to realise you still use coppercube

person icon
andgameplay
Registered User
Quote
2024-06-02 02:27:38

Excellent game VP! I played and I liked, works great! Amazing the way the dices works in the game!

person icon
okeoke
Registered User
Quote
2024-06-02 07:13:11

I really like visual style, but I actually have an issue with dices. Usually if I throw 3, the number on top does not correspond to the number shown on screen. Not sure if it's by design or not.
embedded external image
🔎︎


person icon
veganpete.
Registered User
Quote
2024-06-02 12:43:47

Thanks Monks, yes, still around - I took a break for a while but still going with Coppercube
Thanks andgameplay - glad you like it so far!
Thanks for the feedback okeoke, oh nooooo, well that confirms my fears that the performance of coppercube's physics is not consistent across devices, even 3 simple cubes seem too complex...

If you don't mind though, okeoke, can you try the latest version just to see if that's fixed the issue for you? I've changed the delay on the score timer slightly and Guest's conditional-variable-action script has also been improved -so hopefully it will work properly now?

The new GUI (with newest dice physics/calculation) should look like this...
embedded external image
🔎︎


If it still doesn't work, I guess it will need a complete overhaul (without physics), as the dice are a major feature.

Thanks so much, both, for taking the time to test it, that's a really nasty glitch that needed to be caught early.

Cheers!

person icon
okeoke
Registered User
Quote
2024-06-02 15:30:14

Hi VP,

I redownloaded the latest version from itch, and unfortunately, the issue is still reproducible for me. Even though, it seems to be more consistent now - I have to throw dices multiple times to see incorrect result.
embedded external image
🔎︎


person icon
Guest
Guest
Quote
2024-06-02 22:10:58

@VP

The physics probably isn't the problem; it's most likely how you determine the face-up value. If you get the time, post a small demo of how you have the dice part set up. We can then get that bit sorted out without you having to do any major revisions.

person icon
veganpete.
Registered User
Quote
2024-06-03 14:40:15

Thanks okeoke, really appreciate your time to test it! -that confirms it. I've increased the calculation delay and reduced the physics geometry - hopefully it works properly now?

Thank you GUEST - If you can think of a solution, that would be great! I think the main reason it's producing a calculation error sometimes - is my use of a timer; if the physics slows down too much, the timer triggers the score-calculation before the dice have fully stopped moving.

However, since the bug was reported, I added an extra 1,500ms delay (after the dice hit the floor), before any calculation is made (to try to ensure the dice have settled first) - and I also simplified the physics (turned off the dishes collision and replaced it with a simple plane mesh) to make it less demanding - so hopefully it's fixed now? *I also feel that preloading all the artwork may help overall, as the physics seems to speed up noticeably after the artwork has chached to memory.

Anyway - as requested, here's a demo ccb version of the dice throw/score - you can see the basic mechanics of the dice - without it being over-complicated by the artwork etc.....

A script adds velocity to all 3 dice when pressing 'space' to throw.
Real-physics collides the dice with a cone (to scatter/randomize the dice).
6 'on proximity' events (for each die) continually change a variable for each upper-most face.
After a pre-set time-delay (to ensure all dice are stationary), the 3 face-values are added to a produce a total.

here's the link for vp_dice demo.ccb...
https://veganpete.itch.io/demons...

"Press SPACE to throw"

Thank you.

person icon
Guest
Guest
Quote
2024-06-03 22:57:14

@VP

Here's my attempt at it:

https://files.catbox.moe/ajpegp....

Unfortunately, I have zero patience for about 99% of visual scripting (I try to use the least amount of behaviors/actions that I can), so I did this primarily in code. The major takeaway I found was that it would probably be easier for you to set up your dice like I did in this project. Namely, it would be best to put some empty nodes (which I called pips) on each of the faces of the die. Then, somehow check which one is the highest on the Y-axis among the bunch per die. This should give you the face-up value. You're the visual scripting wizard, VP, so I am sure you have some way to do that without coding. I'd have done it, but it spikes my blood pressure. Hope this helps give you some idea. emoji icon_smile

person icon
VP
Guest
Quote
2024-06-03 23:44:52

Thanks Guest! - that's pretty much how mine is currently set up using coppercube's visual-scripting - dummy-nodes (attached to each dice-face determine which face is up (with 'on proximity' to a high-point in the scene), and then create a sum from the 3 dice.

I think my downfall is definitely how I'm calculating the sum of the 3 dice after a delay - somehow yours is updating the sum continually, in realtime - whereas mine calculates once, after a delay. I'll see if I can replicate that. Really appreciate your help there. Nice one.

person icon
Guest
Guest
Quote
2024-06-04 00:36:37

You're welcome! I forgot to calculate in delta time in the last upload. Here's the corrected one:

https://files.catbox.moe/id1ppp....

person icon
just_in_case
Moderator
Quote
2024-06-04 06:04:47

Nice one, for me the Dice worked fine except for one time when one of the dice was not on its face, it was standing on the edge, and was not recorded as number.

But I had to close the game without giving it more time after just 2-3 dice roll.

but this has nothing to with the game itself it is just me having a hard time with this. Maybe due to screen size I am on a 32" screen, and my eyes started hurting trying to concentrate on the card, and dice, maybe this is also due to the constant flipping of the card, and I had to close the game.

I will give it a try later on. After having a proper sleep :)


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |