GithubHelp home page GithubHelp logo

nhdaly / paddlebattle.jl Goto Github PK

View Code? Open in Web Editor NEW
44.0 6.0 11.0 32.13 MB

Example game written in julia using SDL2

Home Page: https://nhdalyMadeThis.com

License: MIT License

Julia 96.65% Shell 3.35%
julia game arcade-game desktop-application

paddlebattle.jl's Introduction

Paddle Battle -- a simple game written in Julia.

A simple pong clone built in julia using the SDL2 library.

This repo is an example of building a complete game, compiled and distributed as a .app, written entirely in Julia! This game uses the https://github.com/jonathanBieler/SimpleDirectMediaLayer.jl package, which provides julia bindings for SDL2, for its graphics and keyboard/mouse input.

The game can be compiled into a complete, ready-for-release distributable via the build script (./build.sh). It simply invokes build_app.jl from NHDaly/build-jl-app-bundle to compile and bundle a macOS application from the julia code.

Building the game in Julia was lots of fun! Not least, live-editing code in Juno is really nice: Paddle-Battle-Juno-live-editing.gif

Install

You can download the game for Mac here:
https://nhdalyMadeThis.com

Or you can download it directly from the Releases tab on this github repo:
https://github.com/NHDaly/PaddleBattle.jl/releases/latest

License

This project is licensed under the terms of the MIT license.

Please do go ahead and copy it, modify it, remix it, and sell your creation!

paddlebattle.jl's People

Contributors

juliatagbot avatar nhdaly avatar pallharaldsson 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  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

paddlebattle.jl's Issues

The app has been modified or damaged

I just tried to install the last version from the Release page and I'm getting this:

"The app has been modified, and its code does not match the original signed code. The app may be broken or corrupted, or it may have been tampered with. If you think that an app has been damaged or tampered with, you should delete it by dragging it to the Trash."

I guess you have to renew the certificate or something of the sort.

General instructions to run on any system

Great little game! Well done!

I just wanted to point out, the instructions (and code!) seemed very mac-specific, so I wasn't sure if this would even work on a non-mac system.

I can confirm I managed to get this to run on linux, but there was a lot of trial-and-error involved to figure out what the game was expecting in place in order to run.

I think you could probably add a small section in your README with simple instructions on how to get this to run normally from within a julia environment (e.g. something like 1. "install these packages", 2. "start from the root game directory, 3. push! src to your LOAD_PATH, 4. import PaddleBattle, 5. run with PaddleBattle.julia_main([""]) ).

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.