Nuketris v1.0


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: PeJayCee
This is Nuketris, a block based game for Nuke based on a well known arcade game. This is a complete abuse of Nuke's Python API, and should not be taken seriously.
Requirements:
12.0, 11.3, 11.2, 11.1, 11.0, 10.5 or later
08 Jun 2020
58

 

WIP!!! This can cause Nuke to crash

 

This is Nuketris, a block based game for Nuke based on a well known arcade game.

This is a complete abuse of Nuke's Python API, and should not be taken seriously.

 

To run the game:

  1. Launch a fresh Nuke session (In --safe mode for the extra cautious)

  2. Drag and drop the Python file into an empty Script Editor

  3. Press Ctrl/Cmd + Enter to run the code, the game will start in a few seconds

Controls:

Left/Right arrows - Move shape left/right

Up/Down arrows - Rotate shape clockwise/anticlockwise

Space - Move shape down

 

Restart - Slide Dot node to the left

 

Nuke 12.0+:

Volume Control - Slider Dot node up/down to control music volume

 

Customisations:

In the Customizations section, you can load in existing leaderboard.txt files from your network to have competition within a company. Please make sure Nuke as full read/write permissions to this file. If there is no network leaderboard, a local user one will be created instead.

 

You can also change the Block size, arena width and height, if you feel like changing up your gaming sessions.

 

WARNING!!!

 

When you run this code in the Script Editor, it will clear your Nuke script and may accidently change your node size preferences. Always launch in a fresh Nuke session, or Nuke --safe mode to be extra careful. I am not responsible for any issues caused by you abusing Nuke in this way, any work being lost, the moon falling down or you losing your job if caught playing at work.

 

YOU HAVE BEEN WARNED!!!

 

If you have any feedback, feature requests or ideas about how to fix the random crash, then please comment below.

 
Please login in order to download these files.

Comments   

 
0 # Daniela Pessot 2020-06-09 16:17
Awesome (ab)use of Nuke's Python API!! :lol:
 
 
0 # Eddie Kim 2021-04-19 12:57
Hello, I try this but I get a syntax error. SyntaxError: Missing parentheses in call to 'print'. Did you mean print(wPath)? What can I do to fix this?
 

You have no rights to post comments

We have 2837 guests and 119 members online