Coder Social home page Coder Social logo

wizznic's People

Contributors

akien-mga avatar amdmi3 avatar bentley avatar zear avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wizznic's Issues

Missing sound files

I get this error whenever I try to run wizznic (empty ~/.wizznic):

$ wizznic        
Wizznic 1.0-dev. GPLv3 or newer Copyleft 2009-2015

Directories:
    Settings: /home/anthony/.wizznic
    DLC: /home/anthony/.wizznic/dlc
    Highscores: /home/anthony/.wizznic/highscores
    Editorlevels: /home/anthony/.wizznic/editorlevels
    Datafiles: /usr/local/share/wizznic/

Command-line parameters:
    -gl            # Enable OpenGL.
    -sw            # Disable OpenGL.
    -glheight PX   # Window width  (-1 for auto).
    -glwidth  PY   # Window height (-1 for auto).
    -glfilter ST   # 0=Blocky, 1=Smooth.
    -rift          # Usable for Oculus Rift.
    -record [file] # on pc, use ffmpeg to encode video to file.mp4
    -d PACKNAME    # Dump screenshots of levels in pack.
    -d FILENAME    # Dump screenshot of level.
    -f             # Enable fullscreen.
    -w             # Disable fullscreen.
    -z 2           # Software scale to 640x480.
Loading settings from: /home/anthony/.wizznic/settings.ini
Enabling platform specific accelerated scaling.
Scaling factor: 5.000000
Screen surface using 3 bytes per pixel.
statsInit(); Stats ready to be refreshed.
initPack();
initPack(); Added 12 packs.
Applying settings..
packSet(); Selecting pack 0...
packSet(); Selected pack '/usr/local/share/wizznic/packs/000_wizznic' Loading stats..
packSet(); Stats loaded.
Setting Music...
loadSample(); Warning: Couldn't load /usr/local/share/wizznic/packs/000_wizznic/themes/oldskool/snd/brickswap.ogg
loadSample(); Warning: Couldn't load /usr/local/share/wizznic/packs/000_wizznic/themes/oldskool/snd/brickcopy.ogg
loadSample(); Warning: Couldn't load /usr/local/share/wizznic/packs/000_wizznic/themes/oldskool/snd/brickswapdenied.ogg
loadSample(); Warning: Couldn't load /usr/local/share/wizznic/packs/000_wizznic/themes/oldskool/snd/brickcopydenied.ogg
Bus error (core dumped)

Add an high-res (scalable?) icon for downstream Linux packaging

Hi there,

Linux packagers can currently use data/wmicon.png as an icon when providing a desktop file for integration of Wizznic in the desktop's menu. The file is however only 32x32, so it will look fine in some desktops (e.g. KDE with classical menu), but won't look good in others that show higher res icons (Gnome Shell uses 128x128 or 256x256 IINM).

Test

Restart-game icon when playing with mouse.
Highscores cannot be entered with keyboard
Visual progress indicator (theme-defined)
Completed pack screen can't be exited with mouseclick

License?

What license is this game under?

Segmentation fault at brick move

When I try to move a brick, I get Segmentation fault error - dereference of b in board.c at line 485 cannot be done properly:
int deltaX= (b->dx*brickSize+boardOffsetX) - b->pxx ;
It seems that the sufficient workaround is to reset a list iterator after each list element removal, like this:
listRemoveItem( pf->movingList, li, LIST_NEXT ); li=&pf->movingList->begin;
but it needs to be further investigated.

Install desktop file and icons on Linux systems

Here's the desktop file I'm using for Mageia's wizznic package:

[Desktop Entry]
Name=Wizznic
Comment=Brick-matching puzzle game
GenericName=Puzzle game
Exec=wizznic
Icon=wizznic
Type=Application
Categories=Game;LogicGame;

This file should be installed as /usr/share/applications/wizznic.desktop.

The Icon=wizznic part will only work if an icon named wizznic.png (or wizznic.svg) is provided in at least one of these locations:

  • /usr/share/icons/hicolor/*/apps
  • /usr/share/icons
  • /usr/share/pixmaps
    The "modern" way is to use the hicolor theme, so you could for example install data/wmicon.png to /usr/share/icons/hicolor/32x32/apps/wizznic.png

If high-res icons are provided (see #9), you can also install them in the corresponding folders in the hicolor theme (e.g. "128x128" or "scalable").

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.