This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

danpost
danpost presents ...

2023/2/11

Dark Maze Demo

This scenario demonstrates how to make a dark world where nothing except for a local area surrounding one actor is visible.

Use arrow keys to move player (K-drought) around the basic maze structure.

A graphic user interface area was added to show what changes were needed to accommodate it in a scrolling world.

1388 views / 10 in the last 7 days

3 votes | 0 in the last 7 days

Tags: demo with-source danpost dark-naze light-source

This scenario is a member of: Demos by danpost


open in greenfoot
Your browser does not support the canvas tag.
A new version of this scenario was uploaded on 2023-02-15 20:33:40 UTC Added a display area to see what changes were necessary in a scrolling world.
A new version of this scenario was uploaded on 2023-03-14 14:48:49 UTC Light strength was made variable. Scroller class now allows for non-scrolling areas at right and bottom edges of world.
ibrahimnrhdibrahimnrhd

2023/10/14

Hey, quick question, Does the Scroller function in this game act like a library that I just load and not really tamper with, or is it something that I should tamper with (If I don't really want to mess with the speed n stuff)
danpostdanpost

2023/10/15

@ibrahimnrhd, in most cases, you do not have to modify the Scroller class. The one in this scenario was actually slightly modified to so that a programmer can add some non-scrolling area to the right, to the bottom, or both. This was mainly so you could add stats or any graphic user interface objects to a program.

Want to leave a comment? You must first log in.

Who likes this?

ibrahimnrhd Pasatij Zanonimuz