rcorre / chipmunkd Goto Github PK
View Code? Open in Web Editor NEWD bindings for Chipmunk2D
License: MIT License
D bindings for Chipmunk2D
License: MIT License
when switching to "q" in the demo it crashes:
(lldb) bt
* thread #1: tid = 0x2e020, 0x0000000100218274 libchipmunk.dylib`cpArbiterGetShapes + 4, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0xa0)
* frame #0: 0x0000000100218274 libchipmunk.dylib`cpArbiterGetShapes + 4
frame #1: 0x00000001000065c9 demo`D8Buoyancy13waterPreSolveFPS8chipmunk16chipmunk_structs9cpArbiterPS8chipmunk16chipmunk_structs7cpSpacePvZh + 69 at Buoyancy.d:50
frame #2: 0x00000001002302f9 libchipmunk.dylib`cpSpaceCollideShapes + 537
frame #3: 0x000000010021a3b7 libchipmunk.dylib`MarkLeaf + 215
frame #4: 0x000000010021a8cc libchipmunk.dylib`MarkSubtree + 28
frame #5: 0x0000000100219ca6 libchipmunk.dylib`cpBBTreeReindexQuery + 118
frame #6: 0x0000000100230685 libchipmunk.dylib`cpSpaceStep + 293
frame #7: 0x000000010000645c demo`D8Buoyancy6updateFPS8chipmunk16chipmunk_structs7cpSpacedZv + 32 at Buoyancy.d:30
frame #8: 0x000000010000d28f demo`D12ChipmunkDemo4TickFdZv + 603 at ChipmunkDemo.d:328
frame #9: 0x000000010000d449 demo`D12ChipmunkDemo6UpdateFZv + 253 at ChipmunkDemo.d:350
frame #10: 0x000000010000d574 demo`D12ChipmunkDemo7DisplayFZv + 224 at ChipmunkDemo.d:364
frame #11: 0x0000000100001c8c demo`_Dmain + 1452 at ChipmunkDemo.d:710
is that part of the demo working for you @rcorre ?
~/Downloads/chipmunkd-master/demo ๎ฐ dub
Performing "debug" build using dmd for x86_64.
chipmunkd ~master: target for configuration "library" is up to date.
demo ~master: building configuration "application"...
ChipmunkDebugDraw.d(127,2): Error: undefined identifier 'glGenVertexArraysAPPLE'
ChipmunkDebugDraw.d(128,2): Error: undefined identifier 'glBindVertexArrayAPPLE'
ChipmunkDebugDraw.d(150,2): Error: undefined identifier 'glBindVertexArrayAPPLE'
ChipmunkDebugDraw.d(333,2): Error: undefined identifier 'glBindVertexArrayAPPLE'
ChipmunkDemoTextSupport.d(107,2): Error: undefined identifier 'glGenVertexArraysAPPLE'
ChipmunkDemoTextSupport.d(108,2): Error: undefined identifier 'glBindVertexArrayAPPLE'
ChipmunkDemoTextSupport.d(124,2): Error: undefined identifier 'glBindVertexArrayAPPLE'
ChipmunkDemoTextSupport.d(231,2): Error: undefined identifier 'glBindVertexArrayAPPLE'
dmd failed with exit code 1.
The original demo "platform player controls" allows you to jump and run control a box. in the d version the "player" simply falls into the ground never to be seen again :(
@rcorre do you remember why you commented the bouncyHexagons demo out?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.