Sharing is Caring

In the Show Tell blog, we indicated that we are giving the game away for FREE on Steam. This is only possible to maintain if we find a good revenue stream.

Realizing that the game we have produces lots of data that the rest of the gaming industry is highly interested in, we found a way to monetize on our game.

By creating an API from our gaming data we now have a datapoint that companies are willing to pay top dollar for

We start of by creating an HTTP endpoint

Next steps are to loop through our data and add it to an string. Eventually responding to the HTTP call with the complete dataset that they have access to.

Pull request

We found Innovation Norways code and noticed that id lacked comments. We therefore decided to provide commenting services so that future “SELF” understands what was going on.

Sharing is Caring

This time, we would like to share some valuable tips we’ve learned along the way and have found truly useful:

1. Enable that big Expression Box

Ever felt the pain of trying to edit large expressions in that tiny expression box?!?!?

Would it have killed you MS to make this box bigger!?!?!?

Well now you can do something about just that:

Settings -> View all Power Automate Settings -> Toggle that toggle!
TADA! Look at that large expression window!! Your productivity will sky rocket!

2. Simplify debugging of Power Pages Javascript Code

Power pages support adding inline javascript in variaous places. This can be quite usefull if you need to add some some quick javascript magic.

Adding some inline javascript to a Power Pages web page

It’s however very hard to debug this code as it’s added inline into the page :/

Hard to debug code

The trick is to add sourceURL to the code:

The trick


This approach makes the inline code appear in the Sources tab, of the Browser, as though it were an actual file. This significantly simplifies finding it, setting breakpoints, and modifying or overriding the code.:

3. Some actual code

We share our source code of our sparkling new PCF component: https://github.com/erlendoien/rotary-clock

4. We made a pull request with some improvements for Peaches of Itera nice lite html game:

  • Use const for Immutable Variables
  • Optimize Collision Detection
  • Keyboard Input Handling: Modernize the approach to handling keyboard events
  • Efficiency in Drawing: Minimize the number of times the canvas is cleared and redrawn to improve performance
  • Implement a game loop
  • Responsive Canvas: Make the canvas size responsive to window siz



https://github.com/peachesofitera/peachesofitera.github.io/pull/1

Free UI

Sharing is caring, to the teams without a designer, here are some free UI elements to help you get started!

We recommend using Figma: https://www.figma.com/downloads/ (free design software), and to help you get started we collected some main components for iOS, Android and Web (fluent), and of course the Super Mario colors!

If you need any additional help, ask Sofie!

Link to GitHub where the figmafile is

GitHub Pages

With this blog post we are aiming for the badge

When Power Pages sites stopped provisioning, we tried instead to make the Peaches Mini Games start map in something called GitHub pages.

We created a repository in GitHub and added our code there. Following this tutorial:
GitHub Pages | Websites for you and your projects, hosted directly from your GitHub repository. Just edit, push, and your changes are live.

Greate a new repo

For a low coder like me, this is unfamiliar and feels very developer’y 😀 I’m loving it!

Chat GPT and I created the framework for the game map that I added to the index.html in the repo.


Committed and pushed the code and 10 minutes later the GitHub Pages page was live and the initial game rendered:

https://peachesofitera.github.io/

The Public Repo is here:

https://github.com/peachesofitera/peachesofitera.github.io

Anyone is welcome to use this as the starting point for their game if they like.

❤️ Sharing is Caring in this Cut Throat Battle 🤟

 Aye, me hearties!

‘Tis true what they say, sharin’ be carin’ like a true pirate!

We hoisted our white flag and approached fellow pirates too se what needed doing. @in1 welcomed us aboard, even tucking away their plank for the occasion. They needed help fighting off backgrounds in their graphics, a honorable task to help with!

With the help of this fancy tool from Adobe (https://express.adobe.com/nb-NO/tools/remove-background), Tommy from @in2 successfully fought every and all white background in @in1 graphics. Resulting in clear and calm user experience, just like the friendly waters we prefer.

Here be the link to our friendemies repo with our contribution for your viewing pleasure: https://github.com/havardhovde-in/pirates-of-the-carribIN/pull/6

Aye, ye be welcome fellow pirates 🏴‍☠️🤜🤛🦜

Meme showing captain Jack Sparrow running from hoards of enemies captioned “incoming pull requests for sharing is caring”

Best practice as pirate hunters

Since our team is on the law-abiding side of the game, we want to be orderly at all stages.
When new code is written and pushed, we make sure to create pull requests so that a colleague can review the code and ensure that we are on the right track.

For build and deploy we use Github Actions

Transparency is also important to us, which is why our repo is open. We have nothing to hide. Feel free to run a code review on our code 😉

Because I care to share!

For this we deserve the “Community Champion” badge:

And “Sharing is caring”

On my way to solve the ongoing Head 2 Head Challenge I came across a blog article that might be a way of solving the challenge.

It’s more important to me that my fellow contestants and rivals learn more about Power Pages – then it is for me to win the challenge – I would like to share this blog article with you.

Hot tip for the next Head 2 Head challenge: When you google for answers, include the name of the person providing the challenge 😉

This will not take you all the way, but it’s a theoretical solution to the Head 2 Head Challenge.

Best of luck – and may the fastest developer win!

#Sharin’BeCarrin

Arrr, ’tis true what ye say. In this age of Artificial Intelligence and large language models, ’tis important that we share our learnings and explorations with fellow scalawags for innovation.

We hope Evidi releases the Kraken of Nvidia image generation prompting… and ye’d best keep that shenanigan within pirate domains!

When harnessing tha powers of prompting, we keep our sample API requests tucked away in a Postman collection. Easy to use, easy to share! #ShareAlike, me hearties! #Sharin’BeCarrin’!

#PirateGPT #FTW