Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - N-Dream

Pages: 1
1
Thumby / Thumby Games Store / Publishing
« on: October 28, 2021, 04:00:29 AM »
Hi Thumby Team

Do you already have plans to create a store for Thumby games, where all developers can submit their games and players can download them from?

I think a centralized store will be vital for the success of Thumby. It should also be easier to use than the IDE, for Players that just want to browse games and click to install them without ever seeing code. You should also add a Menu item "Download Games" in the Thumby that gives you instructions on how to do it and maybe a display a QR code so you could browse it on mobile.

With AirConsole we have a lot of experience in creating a user friendly game store. If you are interested, I can give you a quick overview what we did in a video call.

Cheers,
-Andrin (Founder of AirConsole)


2
Thumby / Sudoku v1.02 by AirConsole
« on: October 27, 2021, 02:23:27 PM »
Hi there

I've created a 9x9 Sudoku for Thumby.

Feel free to give it a try, the script is attached. The game is in landscape mode.
When you try it in the emulator, make sure you rotate it by pasting the following in the javascript console of your browser:
Code: [Select]
(function(s){s.transform = "rotate(-90deg)";s.top="5%";})(document.getElementsByClassName("emulator_main")[0].style)
A little bit of background on how I implemented Sudoku:
It took me about 8h, it's amazing how easy it is to create games for this awesome platform. I'm used to much longer game-dev cycles with our gaming console  ;D
Anyways, generating a valid Sudoku grid actually requires quite some computational power.
In my first version, I tried to create a random Sudoku grid on the fly, but the stack size is unfortunately too small for my backtracking algorithm.
That's why I created 39 base patterns on my strong computer and added them as data to the script.
The base patterns can be flipped, rotated and group shifted in 72 ways, which give you already 2800 different Sudokus.
Together with number swapping (362'880 variations) we can generate 1'018'967'040 different Sudokus from the 39 base patterns.
All these Sudokus are "very hard to solve" and only have 25 or less clues. The data also includes the solution, which allows us to generate easier levels using clues and the solution on the fly.

I had a lot of fun implementing it and will probably create a few bigger games for Thumby.
Only wish I could already test it on real hardware. No idea how accurately the emulator is and I don't have a Thumby yet.
So anyone who already has one: Please let me know if the game works :)

Enjoy,
Andrin
(founder of AirConsole)

(EDIT: Version 1.02 Attached)

3
Thumby / Emulator / Debugging / Log statements
« on: October 26, 2021, 07:30:31 AM »
Hi all

I would like to start developing games for Thumby, but my order hasn't arrived yet.

The emulator is great, but it does not throw any exceptions.
Is there a way to see exceptions in the IDE with the emulator?
And if not, is there a way to execute log statements, e.g print(123), and see the logs in the emulator?

Thanks,
-Andrin

Pages: 1
SMF spam blocked by CleanTalk