GithubHelp home page GithubHelp logo

xiangyuan / gideros Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gideros/gideros

0.0 1.0 0.0 340.46 MB

Gideros Release version

C++ 28.08% Python 0.01% C 58.89% HLSL 0.02% Batchfile 0.20% NSIS 0.01% Java 2.99% Makefile 0.38% CMake 0.05% QMake 0.12% Shell 0.22% CSS 0.04% JavaScript 0.18% HTML 1.88% Prolog 0.01% Objective-C 2.45% Objective-C++ 0.86% Groff 0.02% Lua 3.60% PHP 0.01%

gideros's Introduction

Gideros Cross-Platform Mobile Development Environment

GitHub release Github Releases Github All Releases Twitter Follow GitHub stars

Gideros

Gideros is a cross-platform mobile development environment for creating amazing games. In a couple of hours, you’ll find yourself building and running your next great game. Developers trust Gideros in building 1000s of games across AppStore, Google Play, Amazon Store, Ouya and more.

Benefits

  • Free: Gideros is an open source project. Just download and use it for FREE.
  • Instant testing: While developing your game, it can be tested on a real device through Wifi in only 1 second – you don’t waste your time with an export or deploy process.
  • Native speed: Developed on top of C/C++ and OpenGL, your game runs at native speed and fully utilizes the power of CPUs and GPUs underneath.
  • Full development set: Get everything you need from the start, including lightweight IDE, players for Desktop and devices, Texture packer, Font Creator and there are also lots of 3rd party tools.
  • Cross-platform: Apart from supporting multiple platforms, Gideros also provides automatic screen scaling and automatic selecting of proper image resolution, which makes supporting different screen resolutions and creating universal projects an easy task.
  • Extensive plugins You can easily extend the core with plugins. Import your existing (C, C++, Java or Obj-C) code, bind to Lua and interpret them directly. Dozens of open-source plugins are already developed and ready to use.
  • Fast development Easy learning curve, instant testing, OOP coding practices and ability to create needed custom plugins reduces the development time. And because of reusable code, each your next app will be developed even faster.
  • Clean OOP approach Gideros provides its own class system with all the basic OOP standards, enabling you to write clean and reusable code for any of your future games.

Example code

Lua is used to build games with Gideros. Below you can find a few simple examples to show how easy to show basic screen elemens.

Displaying an image

To display image, we firstly create the Texture object with its name and optional boolean parameter which indicates if the image should be filtere (anti-alised). Then we create Bitmap object, position it at some coordinate (default are 0,0) and add it to the stage.

local bmp = Bitmap.new(Texture.new("images/ball.png", true))
bmp:setPosition(100, 100)
stage:addChild(bmp)

Drawing a shape

We will use a solid red color the fill style and 5px width blue line with 1 alpha (or full opacity). Easy, isn't it?

local shape = Shape.new()
shape:setFillStyle(Shape.SOLID, 0xff0000)
shape:setLineStyle(5, 0x0000ff, 1)
shape:beginPath()
shape:moveTo(0,0)
shape:lineTo(0, 100)
shape:lineTo(100, 100)
shape:lineTo(100, 0)
shape:lineTo(0, 0)
shape:endPath()
shape:setPosition(200, 100)
stage:addChild(shape)

Where to start?

  • Introduction: Everything from creating your first project and running it on device, to the basic concepts of OOP, File system and Events. A must read for all new Developers.
  • Reference Guide: Information about every class, method, event, property, plugin avaialble with main Gideros SDK bundle and with examples. Bookmark it, you'll be using it a lot.
  • Developer Center: Developer Center contains different articles and posts about Gideros, that might help you deal with some specific problems.
  • Everything else... All developer related documentation...

##3rd party tools

Gideros runs with many 3rd party applications, from Particle Candy to Physics Editor to Texture Packer. Here'a an incomplete list.

Join Gideros community

Gideros has an active, vivid community. We have a lively, helpful team of Gideros experts, users and newcomers discussing future of Gideros and mobile development. Join us here

gideros's People

Contributors

ar2rsawseen avatar atilimcetin avatar hgy29 avatar john-blackburn avatar marceloadsj avatar tkhnoman avatar acalatrava avatar gorkem-cetin avatar anthonyball1966 avatar nlcke avatar lsouchet avatar marynate avatar apolunin avatar tcaesvk avatar

Watchers

xiangyuan avatar

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.