ape_ruby 0.50a release!!

루비/ape_ruby | 2011/02/12 01:17 | Posted by DMW
크리에이티브 커먼즈 라이선스
Creative Commons License



readme.txt
ape_ruby 0.50a is ruby port of APE 0.50a. APE(Actionscript Physics Engine) 
is a free AS3 open source 2D physics engine, released under the MIT License. 

ape_ruby supports all features of original Actionsciprt version, and 
slightly modified for support serveral rendering methods. It is released 
under MIT License. 

Because of my lack of English writing skill, there is no documents for 
ape_ruby. But, you can use the documents for original version.

Have a fun.

-- DMW(filepang@lycos.co.kr, http://www.filepang.co.kr) --


license.txt
Copyright (c) 2010, 2011 DMW 

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

download link - source code & windows demo
official homepage

APE google groups

PS.
getting-started-basic-ape-examples and rigid particle will be ported in few days.

저작자 표시 비영리 동일 조건 변경 허락

댓글을 달아 주세요

  1. PraisedGuy 2011/02/12 01:21  댓글주소  수정/삭제  댓글쓰기

    Aweeeeeeesome ! 

  2. 윤호 2011/03/09 19:03  댓글주소  수정/삭제  댓글쓰기

    루비빠의 귀환이로군...

Ruby + Chipmunk + Gosu

루비 | 2010/09/27 23:08 | Posted by DMW
크리에이티브 커먼즈 라이선스
Creative Commons License
저번 주말부터 그동안 내 시간을 좀먹고 있던 활동 하나를 잠시 끊었다. 그러구나니 시간이 정말 미칠듯이 많이 생겼다능.

원래 잠을 많이 자기도 하지만 남는 시간동안 열심히 잤는데...그래도 시간이 남았다. -_-;;;

그래서 Chipmunk라는 2D물리엔진과 Gosu라는 2D게임 개발 라이브러리를 깔아서 이것저것 예제들을 주워다가 루비를 가지고 돌려봤다. 물론...그냥 돌리기만 하면 재미업으니까 좀 고쳐보구 그러면서 놀았다.

아래 올려놓은게...주말동안 가꾸 놀다가 남은거라능.




돌려보면 알겠지만 루비라서 그런가....좀 많이 느리다능.

저작자 표시 비영리 동일 조건 변경 허락

'루비' 카테고리의 다른 글

Ruby + Chipmunk + Gosu  (2) 2010/09/27
ruby-opengl 0.32g for ruby1.9  (0) 2010/09/18
SWIG Ruby  (0) 2010/03/29
중위표현식을 후위포현식으로 바꾸기  (0) 2009/11/28
Queue  (6) 2009/09/22
tmpdir  (0) 2009/06/20

댓글을 달아 주세요

  1. 양반 2010/09/27 23:48  댓글주소  수정/삭제  댓글쓰기

    끊기지 않고 부드럽게 돌아갔으면 몇배는 더 멋있었을 듯...

    • Favicon of http://wwww.filepang.co.kr BlogIcon DMW 2010/09/28 00:32  댓글주소  수정/삭제

      슈도 플로이드를 대충 흉내배놨는데 루비로 짠거라 어쩔 수 없네염. 렌더링을 ruby-opengl로 하면 좀 빨라지지 않을까 싶어서 해보구 있는데.....그리 빨리질꺼 같지는 않타능

ruby-opengl 0.32g for ruby1.9

루비 | 2010/09/18 23:53 | Posted by DMW
크리에이티브 커먼즈 라이선스
Creative Commons License

ruby-opengl

ruby-opengl consists of Ruby extension modules that are bindings for the OpenGL, GLU, and GLUT libraries. It is intended to be a replacement for -- and uses the code from -- Yoshi's ruby-opengl.


Ubuntu 10.4(32), ruby 1.9에서 저것의 설치를 시도 했다.

gem으로 ruby-opengl을 설치하면 설치중에 네이티브 익스탠션을 빌드하는 과정에서 에러가 발생한다. 여러가지 방법을 써봐도 안되길레 Yoshi라는 사람이 만들었따는 옛날 버젼을 설치했다능.

링크를 따라가서 가장 최근버젼 0.32g를 받아서 빌드를 하려구 하면 0.32g버젼이 ruby 1.8때 만들어 진거라 빌드가 잘안된다. rbogl-0.32g에 내가 만든 패치를 끼엇고 빌드를 한다.


위에 ruby-opengl 0.60.1 gem을 설치하다 실패한 데이터가 남아 있으면 0.32g를 설치해도 잘 안되니까 gem 디렉토리를 찾아서 다 지워줘야 한다.
저작자 표시 비영리 동일 조건 변경 허락

'루비' 카테고리의 다른 글

Ruby + Chipmunk + Gosu  (2) 2010/09/27
ruby-opengl 0.32g for ruby1.9  (0) 2010/09/18
SWIG Ruby  (0) 2010/03/29
중위표현식을 후위포현식으로 바꾸기  (0) 2009/11/28
Queue  (6) 2009/09/22
tmpdir  (0) 2009/06/20

댓글을 달아 주세요

크리에이티브 커먼즈 라이선스
Creative Commons License

그동안 올렸던 포스트가 제목 때문에 구글 검색이 잘 안되길래...다시 올림. -_-;;

readme.txt
ape_ruby is ruby port of APE. APE(Actionscript Physics Engine) is a free 
AS3 open source 2D physics engine, released under the MIT License. 

ape_ruby supports all features of original Actionsciprt version, and 
slightly modified for support serveral rendering methods. It is released 
under MIT License. 

Because of my lack of English writing skill, there is no documents for 
ape_ruby. But, you can use the documents for original version.

Have a fun.

-- DMW(filepang@lycos.co.kr, http://www.filepang.co.kr) --

Copyright notice
Copyright (c) 2010 DMW 

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

download link


저작자 표시 비영리 동일 조건 변경 허락

댓글을 달아 주세요

크리에이티브 커먼즈 라이선스
Creative Commons License
오늘 도 짬내서 코딩을 좀 했다능. 공개해도 될꺼 같아서 일단 올려본다능.


readme.txt
ape_ruby is ruby port of APE. APE(Actionscript Physics Engine) is a free 
AS3 open source 2D physics engine, released under the MIT License. 

ape_ruby supports all features of original Actionsciprt version, and 
slightly modified for support serveral rendering methods. It is released 
under MIT License. 

Because of my lack of English writing skill, there is no documents for 
ape_ruby. But, you can use the documents for original version.

Have a fun.

-- DMW(filepang@lycos.co.kr, http://www.filepang.co.kr) --

Copyright notice
Copyright (c) 2010 DMW 

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

download link

저작자 표시 비영리 동일 조건 변경 허락

댓글을 달아 주세요

  1. Favicon of http://tcltk.co.kr BlogIcon 2010/07/07 16:08  댓글주소  수정/삭제  댓글쓰기

    우왕~ 굿이라능 >.<
    Tcl 바인딩도 해주세용.

크리에이티브 커먼즈 라이선스
Creative Commons License
간만에 시간내서 버그 좀 잡았다능

오늘 야구장 갔는데 한화가 이겼음 >_<



코드를 좀 더 다듬은 후에 배포하면 될꺼 같은 느낌
저작자 표시 비영리 동일 조건 변경 허락

댓글을 달아 주세요

  1. Favicon of http://lazygyu.tistory.com BlogIcon LazyGyu 2010/05/20 18:54  댓글주소  수정/삭제  댓글쓰기

    바퀴에 점이라도 하나 찍어주세요 ㅠㅠ 회전하는거 보고 싶단 말이에요 ㅠㅠ

SWIG Ruby

루비 | 2010/03/29 21:28 | Posted by DMW
크리에이티브 커먼즈 라이선스
Creative Commons License
 루비는 그냥 루비고...SWIG란게 뭐냐면 Simplified Wrapper and Interface Generator 라는거라능. C로짠 모듈을 다른 랭귀지에서 불러다 쓸 수 있도록 wrapper랑 interface를 간단하게 만들어 주는 생성기라능. clique흉이 소개해줘서 알게됐는데....일단 루비에다 붙여서 써봤다능. 

 일단 저기서 받고...configure, make, make install 순서로 설치를 하자능. 리눅스에서는 당근 잘 될태고 난 cygwin에서 돌렸다능. mingw로는 안해봐서 모르겠심.

 나도 잘 몰라서 길게는 못쓰겠고 아래 순서로 따라해보면 된다능. 굵은 글씨로 써 있는게 타이핑 해야 될 것이고...more 커맨드로 내용을 출력한 파일들은 직접 만들어 줘야 한다능.

~/swig/test
USER@DMW:> ls
example.c  example.i  extconf.rb

~/swig/test
USER@DMW:> more example.c
double My_variable = 3.0;

int fact(int n) {
        if(n <= 1)
                return 1;
        else
                return n * fact(n-1);
}

int my_mod(int n, int m) {
        return n % m;
}


~/swig/test
USER@DMW:> more example.i
%module example

%{
extern  double  My_variable;
extern  int             fact(int);
extern  int             my_nod(int n, int m);
%}

extern  double  My_variable;
extern  int             fact(int);
extern  int             my_mod(int n, int m);

~/swig/test
USER@DMW:> swig -ruby example.i

~/swig/test
USER@DMW:> more extconf.rb
require 'mkmf'
create_makefile('example')

~/swig/test
USER@DMW:> ruby extconf.rb
creating Makefile

~/swig/test
USER@DMW:> make
…….

~/swig/test
USER@DMW:> ls
Makefile   example.i  example.so*     example_wrap.o
example.c  example.o  example_wrap.c  extconf.rb

~/swig/test
USER@DMW:> irb

irb(main):001:0> require 'example'
=> true
irb(main):002:0> Example::fact(5)
=> 120
irb(main):003:0> quit

 이제 뭘 더 공부해야 될지는 좀 더 알아봐야겠심. 보면 알겠지만 무지 쉽더라능

저작자 표시 비영리 동일 조건 변경 허락

'루비' 카테고리의 다른 글

Ruby + Chipmunk + Gosu  (2) 2010/09/27
ruby-opengl 0.32g for ruby1.9  (0) 2010/09/18
SWIG Ruby  (0) 2010/03/29
중위표현식을 후위포현식으로 바꾸기  (0) 2009/11/28
Queue  (6) 2009/09/22
tmpdir  (0) 2009/06/20
TAG ruby, swig

댓글을 달아 주세요

크리에이티브 커먼즈 라이선스
Creative Commons License
depth_b 를 depth_a로 한 글자 잘못쳐서 거의 일주일동안 버그 찾았다능 -_-;;; 아무튼 아래는 간단한 테스트 동영상이다.




이제 아래 3 클래스만 테스트해보면 된다. 예상은 잘 될꺼 같다능.
WheelParticle
SpringConstraint
SpringConstraintParticle

>_<
저작자 표시 비영리 동일 조건 변경 허락

댓글을 달아 주세요

  1. sloth 2010/03/21 04:43  댓글주소  수정/삭제  댓글쓰기

    이제 depth_alpha, depth_bravo, depth_charlie 요로케
    군바리안표기법을;;; 암튼 횽 멋지다능

  2. 유노 2010/04/04 09:52  댓글주소  수정/삭제  댓글쓰기

    스타3 만드는 거임? 우걱우걱