Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Utilities Usage Examples #288

Open
wants to merge 1 commit into
base: usage-examples
Choose a base branch
from

Conversation

breezy-codes
Copy link

This PR contains the final utilities usage examples I've done.
This has display_dialog, is_number and split.

  • Title and explanation (.txt)
  • C++ code
  • C# code (top-level statements)
  • C# code (Object-Oriented Programming)
  • Python code
  • Screenshot
  • Simple, clear demonstration of the function
  • Code uses Splashkit functions
  • Tested in Chrome and Firefox

display_dialog-1-show-sizes
split-1-sentence
is_number-1-calculator

Copy link

netlify bot commented Nov 23, 2024

Deploy Preview for splashkit-io ready!

Name Link
🔨 Latest commit 0248164
🔍 Latest deploy log https://app.netlify.com/sites/splashkit-io/deploys/674268ab70fa380008ede13b
😎 Deploy Preview https://deploy-preview-288--splashkit-io.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@breezy-codes breezy-codes changed the base branch from main to usage-examples November 24, 2024 02:01
Copy link

@rmachu rmachu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've reviewed this pull request. There just seems to be an issue with the DIsplayDialog function, I'm not too sure if it's just a problem on my end. Other than this, everything else is good, I like the programs made from the functions and the code and comments are written clearly and consistently.

SplashKit.DisplayDialog("Second Message", "This is another dialog with a different message.", SplashKit.GetSystemFont(), 25);

// Display a dialog with a different title and message
SplashKit.DisplayDialog("Third Message", "This is a dialog with BIG TEXT!", SplashKit.GetSystemFont(), 40);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is some sort of issue with the display_dialog function that isn't showing the last dialog box. I've tested a few things and I think it has something to do with the length of the message because when I put in a few more characters in like "This is another dialog with BIG TEXT!" it works fine.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants