cocos2d-python-tutorials's People
Forkers
evido3s leveluporama coderdojolu mightypanders nenodias zbingwen avandelon paveljland coder90875 wangxiaogou1127 dunkkong githzc rako9000 florinpost lmjw 70747660 karel-murgas florin-postelnicu theobdt oseraph oliver216 franciscolevim sofokliskat shnem bridgew acm-universityofdaytoncocos2d-python-tutorials's Issues
Why the repository is so huge to clone?
a question in Intermediate/add.py
what does the target
of the self.target.x
mean?
it's not an attitrube of the cocos.actions nor defined in the init method...
No car.png
python add.py
Traceback (most recent call last):
File "add.py", line 83, in <module>
car_layer = CarLayer()
File "add.py", line 65, in __init__
self.sprite = Sprite("assets/img/car.png")
File "/usr/local/lib/python2.7/dist-packages/cocos/sprite.py", line 121, in __init__
image = pyglet.resource.image(image)
File "/usr/local/lib/python2.7/dist-packages/pyglet/resource.py", line 529, in image
atlas=atlas)
File "/usr/local/lib/python2.7/dist-packages/pyglet/resource.py", line 458, in _alloc_image
file = self.file(name)
File "/usr/local/lib/python2.7/dist-packages/pyglet/resource.py", line 414, in file
raise ResourceNotFoundException(name)
pyglet.resource.ResourceNotFoundException: Resource "assets/img/car.png" was not found on the path. Ensure that the filename has the correct captialisation.
Link to car.png that I found: https://github.com/adamwiggins/cocos2d/blob/master/test/car.png
How to check collision?
Not use tiled map,how can I check sprite collision?
Dynamic library "SDL" was not found
I've downloaded the SDL .zip files, but how di I use it? Thanks
SDL Error in basics/audio.py
Hi there,
I'm running into a problem in the audio tutorial, where it seems I'm getting an SDL error. I'm running it in a venv with python3.6, and cocos2d 0.6.5, on a Debian OS. To be sure I wasn't typing something in incorrectly, I've copied and pasted the tutorial over, to no avail. Is this anything you've seen with a simple solution? Apologies if it's something stupid I've overlooked!
I have a traceback here:
File "cocos2d-testing/basics/audio.py", line 38, in <module>
director.run(scene.Scene(AudioLayer()))
File "cocos2d-testing/basics/audio.py", line 27, in __init__
song = Audio("assets/sound/LatinIndustries.ogg")
File "cocos2d-testing/basics/audio.py", line 19, in __init__
super(Audio, self).__init__(audio_file)
File "/path/to/.venvs/cocos2d-testing/lib/python3.6/site-packages/cocos/audio/pygame/mixer.py", line 423, in __init__
self._chunk = Mix_LoadWAV(file)
File "/path/to/.venvs/cocos2d-testing/lib/python3.6/site-packages/cocos/audio/SDL/mixer.py", line 156, in Mix_LoadWAV
return Mix_LoadWAV_RW(rwops.SDL_RWFromFile(filename, b'rb'), 1)
File "/path/to/.venvs/cocos2d-testing/lib/python3.6/site-packages/cocos/audio/SDL/dll.py", line 210, in _f
raise cocos.audio.SDL.error.SDL_Exception(cocos.audio.SDL.error.SDL_GetError())
cocos.audio.SDL.error.SDL_Exception: <exception str() failed>
Exception ignored in: <bound method Sound.__del__ of <__main__.Audio object at 0x7f69189ed308>>
Traceback (most recent call last):
File "/path/to/.venvs/cocos2d-testing/lib/python3.6/site-packages/cocos/audio/pygame/mixer.py", line 426, in __del__
if self._chunk:
AttributeError: _chunk
Rename instruction files?
Could you rename the instruction files, basics.md and intermediate.md, to README.md
, in order to utilize the way github displays README files?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.