Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vanilla First Run Error #16

Closed
TheBeege opened this issue Mar 18, 2013 · 6 comments
Closed

Vanilla First Run Error #16

TheBeege opened this issue Mar 18, 2013 · 6 comments

Comments

@TheBeege
Copy link

Encounter error on vanilla run:

Runtime error: ...na\spine-runtimes-master\spine-corona\spine\Slot.lua:50: attempt to call method 'getAttachment' (a nil value)stack traceback:
[C]: in function 'getAttachment'
...na\spine-runtimes-master\spine-corona\spine\Slot.lua:50: in function'setToBindPose'

Is resolved by moving the getAttachment function in Skeleton.lua higher in the file so that it is defined when the skeleton is passed into Slot's constructor. (Not sure if this is the proper way to suggest a solution, still new to Github)

NathanSweet added a commit that referenced this issue Mar 18, 2013
@NathanSweet
Copy link
Member

Yup, this is a fine way to submit an issue. You can also submit code patches. Figuring out git is a PITA though. It's a horrible tool, but the job it does (enabling easy collaboration) is nice.

Thanks!

@ambethia
Copy link

Git is an awesome tool, the learning curve is just really steep.

@NathanSweet
Copy link
Member

I think a tool should be judged not only on whether it can do a job, but how well it does the job and how much hair you lose in the process. :) If you've ever had something go catastrophically wrong with Git, you know what I mean.

I highly suggest anyone using Git, especially those new to it, to try SmartGit, which takes away a lot of the pain.

@ambethia
Copy link

I will definitely concede that Git gives you more than enough rope to hang yourself with.

@sukumarbabu
Copy link

spine-cocos2d-iphone API is showing some path errors,,, is there any other code examples or tutorial to show how to export spine out into a cocos2d game

@NathanSweet
Copy link
Member

No, not at this time. The example should work fine if you have the right version of cocos2d:
cocos2d-iphone v2.1-rc1 or later.

badlogic pushed a commit that referenced this issue Jun 18, 2024
* Add `spine-iOS` SPM package & example app (#1)

* Basic Mesh Rendering (#2)

* Spine C++ Swift Wrapper (#3)

* Load `Atlas` & `SkeletonData` (#4)

Load & dispose `Atlas` & `SkeletonData` from bundled files.

* Generate Swift classes from `spine-cpp-lite.h` (#5)

* Draw `SkeletonData` render commands (#6)

- Use `SkeletonData` render commands in the renderer
- Simple loop for animation support

* Add `BoundsProvider` (#7)

- Implement & support `BoundsProvider` classes
- Introduce alignment and content mode
- Update c to swift script to return optional for find prefixed methods

* Support `SpineController` & `Event` callbacks (#8)

- Support SpineController callbacks
- Support Event callbacks
- Apply tint color in renderer

* Support `DressUp` sample (#9)

- Add `DressUp` sample
- Move SpineViewController to SpineUIView
- Implement SpineUIView export to image

* Remove unused file

* Add `Physics` sample (#10)

- Add `Physics` sample
- Fix offsets in `IKFollowing` sample
- Fix `SpineView` background color

* Add `DebugRendering` sample (#11)

- Add `DebugRendering` sample
- Make `SpineUIView` transparent

* Move remaining files to SPM package (#12)

- Move remaining files to SPM package
- Rename `SpineWrapper` to `SpineCppLite`

* Load assets from different sources (#13)

- Load from bundle, file, http & drawable
- Apply correct blend mode & pma in renderer

* Add `Obj-C` + `UIKit` sample (#14)

- Add `Obj-C` + `UIKit` sample
- Update `Spine` to be usable in Obj-C code base

* Support CocoaPods (#15)

* Metal Best Practices (#16)

- Tripple Buffering
- Buffer Bindings
- Shared Objects

* Annotate functions that should return optional (#17)

* Add option to disable drawing when out of viewport (#18)

- Add option to disable drawing when out of viewport
- Move update clock to controller so multiple views can share it

* Add docs for public Spine classes/methods (#19)

* Fix various regressions (#20)

- Fix retain `SpineController` retain cycle
- Fix issue wehre images were not rendered
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants