Giter Site home page Giter Site logo

stellar's Introduction

THIS PROJECT IS NO LONGER SUPPORTED

A lot of things happened since I started this project and I don't really use pygame any more. Also, new programs like Atom or Godot made this IDE obsolete. I think that a set of Atom plugins will make more sense than coding the whole thing all over again. But after testing other engines/frameworks I do not recommend making games with Python due to its poor performance. Thanks to everyone that contributed and supported the project, it was a great experience for me. See you around!

Stellar IDE

stellar

About

Stellar is an open-source IDE for game development using Python.
The goal is to have a program to design your own games using easy-to-learn and different easy tools for beginners and professionals.
You are free to distribute the games you create with Stellar in any way you like. You can even sell them.
This of course assumes that the sprites, images, and sounds you use can be distributed or sold as well.

Dependencies

On Ubuntu based:
$ sudo apt-get install python2.7 python-qt4 pygame

On OSX you can install PyQt4 with homebrew:
$ brew install qt
$ brew install sip
$ brew install pyqt
if this doesn't work you can follow this tutorial

On Windows based:
Download and install the dependencies listed above. Be sure to install the Python 2.x versions, not Python 3 versions.

Running

To run Stellar (Windows/Ubuntu/OSX), from your command line go to (cd) into the Stellar folder, and then run:
$ python Stellar.py
On windows you might be able to just double click the Stellar.py file and the program will startup.

Contributing

If you don't know how GitHub contributing works see our tutorial guide.

I'm currently using a Trello board to track the task I'm doing. If you want access to it feel free to drop me a line at [email protected].

Our contributors here:

You can talk with us on freenode IRC #stellarIDE


Code editor thanks to CodeMirror Icon theme used made by VisualPharm (c) 2012 - infinity, Emilio Coppola

stellar's People

Contributors

4nickpick avatar adman avatar coppolaemilio avatar joepie91 avatar legna256 avatar mrshu 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

stellar's Issues

Docstring is not a docstring

The docstring in Stellar.pyw is not a docstring; docstrings can only be preceded by comments and are otherwise not treated as docstrings.

New Icon

Second version of the new icon:
stellar Icon photoshop

Renaming Sprite

There's QLineEdit with sprite's name. When you click on 'OK' button it should rename the sprite (if it's modified), however it says that this image is used by another proces and can't rename it (WindowsError: [Error 32])

Script Window

When I open script window, I can't close it. There is no button for it.

Icon error on scripts.

Every time I open the "scripts" window it gives me this error:

Traceback (most recent call last):
File "src\tree.py", line 140, in DoEvent
openWindow(name)
File "src\tree.py", line 133, in openWindow
self.main.qmdiarea.activeSubWindow().setWindowIcon(QtGui.QIcon(os.path.join('Data', self.ImageName[directory + 's'])))
AttributeError: 'NoneType' object has no attribute 'setWindowIcon'

No idea how to fix it!! D:

PyQT4 is obsolete

Since i can't install PyQT4 on my linux mint packpage not found i suspect that this is an Obsolte API.

Also, it will be nice to port this project to render with Pygame itself...

I am thinking about making a port to my Framework made with pygame...

"Soun" Properties window title - Sound directory should be renamed to Sounds

The title bar for the SoundGUI dialog reads "Soun properties" when it should probably say Sound properties.

The window title is set in tree.py, line 179. It sets the title by truncating the last letter (usually an 's') of the directory name for each directory.

This is good because it means we don't have to set the name manually, but in this case the directory name is not plural. We could tweak this line of code to account for the singular "Sound", but I think the real solution is to rename "Sound" to "Sounds". This would also be consistent with the other directories in a project. I can make the changes, but I wanted to make sure there wouldn't be any far reaching consequences first.

soundgui_problem

Make SGE as a submodule

Currently sge is not in /Data/SGE . I suggest adding it as a submodule and we don't have to copy & paste it when something updates, just simply run git submodule update and it updates sge from git repository.

Make it easier to keep a sprite inside the room

There is something like this in the Example project sprite code

# Limit the circles to inside the room.
if self.bbox_left < 0:
    self.bbox_left = 0
elif self.bbox_right >= sge.game.current_room.width:
    self.bbox_right = sge.game.current_room.width - 1
if self.bbox_top < 0:
    self.bbox_top = 0
elif self.bbox_bottom >= sge.game.current_room.height:
    self.bbox_bottom = sge.game.current_room.height - 1

I think it would make sense to add a function like keep_in() which would do precisely the same thing but would simplify the code significantly.

Maybe it could be added to the StellarGameEngine?

Propose change to SoundGUI "OK" button - split into two buttons, "Save" and "Close"

Essentially, the "OK" button performs two functions, it saves the settings the user has just set, and then it closes the dialog.

I think that many users would like the ability to save their sound's new properties without closing the dialog - perhaps for playing back the sound with the changes they just made (volume, pan, via the sound editor for example).

The solution is easy, just split the button into two buttons side by side, "Save" and "Close". Save would update the soundconfig with the new settings and now the play button can play the sound/music with those changes.

Whether the close button would still save all the new settings, or just cancel them I'm not sure.

What do you think? I'll be happy to implement the changes if it sounds like a good idea.

License

What license is the Stellar developed?

Spanish translation

Hello, I would like to collaborate with the Spanish translation, is it done?

License issues

The "About" section of the top-level Readme says: "You are free to distribute the games you create with Stellar in any way you like. You can even sell them. This of course assumes that the sprites, images, and sounds you use can be distributed or sold as well."

However the license (in the LICENSE file) is GPLv3. GPLv3 isn't well suited for libraries; a better GPL-like alternative would be the LGPL. But even the LGPL isn't that great a license, because, say I want to add my own hacks and twists to this library and bundle it along with my commercial game; I'd have open-source the library. This isn't too big an issue for me, but might be for others.

I suggest going for a more lassez-faire license such as the Apache license or one of the BSD/MIT/ISC licenses. Apache would be ideal because it comes with clear legal language and also provides a software patent waiver to its users. (This is one of the reaons why Apache is the default on Google Code, and is generally preferred by large companies.)

Remove gap

I can't figure out how to remove a gap on the sprite layout
gap

the gap appears after adding:
self.originlayout.addWidget(self.LblX,7,0)
self.originlayout.addWidget(self.EdirXorig,7,1)
self.originlayout.addWidget(self.LblY,7,2)
self.originlayout.addWidget(self.EdirYorig,7,3)
self.originlayout.addWidget(self.BtnCenter,8,1,2,2)

I can't figure out how to correct it, can anyone help?

Bug replacing sprites

When you add a sprite and then you replace the image from stellar with another sprite with different extension it loads both images.
Example:
I add "sprite.png" and name it "example" then, from the SpriteGUI, Load Sprite "othersprite.jpg" and on the sprite folder of the project there are 2 "example" sprites. One with the jpg extension and the other with the png extension.

Create New Project from Splash Screen fails

I'm trying to run Stellar on Windows 7. On creating a new project the following error spits out on the command line.

For some reason, the code is trying to copy a directory that doesn't exist, specifically \Data\SGE\sge\. The directory that is trying to be copied doesn't exist in the repo. I imagine it's the game engine itself. Following the Traceback, I wasn't able to see where the game engine gets downloaded or otherwise put into \Data\SGE\sge\.

Traceback (most recent call last): File "src\splashscreen.py", line 176, in CreateProject self.main.createProject(dirname, name) File "Stellar.pyw", line 339, in createProject shutil.copytree(self.sge_folder, dirname) File "C:\Python27\lib\shutil.py", line 171, in copytree names = os.listdir(src) WindowsError: [Error 3] The system cannot find the path specified: u'C:\\Users\\ username\\Stellar\\Data\\SGE\\sge\\*.*'

Scripts fonts on Linux

The font displayed on the scripts window on linux is very thin and difficult to read. Is there any way to change the default font so it looks the same on all OS?

UTF8 in path

Can't open project with utf8 character in path to project

Application does not start; missing file in repository

After trying to clone the repository and run Stellar.py, I'm immediately met with the following error:

Traceback (most recent call last):
  File "Stellar.py", line 162, in <module>
    mainWin.open()
  File "Stellar.py", line 80, in open
    decoded_data = json.loads(open(self.fname,'r').read())
IOError: [Errno 2] No such file or directory: 'Example/Example.JSON'

It looks like this file might not have been added to the repository properly.

"Save Project on Exit" triggers even if there are no changes to the project since the last save.

I think the system should check if there are any unsaved changes before prompting the users to save on exit. If the project is saved and up to date, the message shouldn't appear.

To implement this could be slightly complex, I think.

On Save Project, the temporary directory gets saved to the project directory. If that's how it works, then we could just check if the temp directory matches the project directory exactly. If it is, then don't trigger the prompt.

Dialogs

Can someone place all the dialogs from the main folder to a subfolder? so we don't have so many python files mixed.

Thanks!

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.