Post has attachment
Another great tutorial for beginners.
#joybox   #rubymotion   #cocos2d  

Post has attachment

Post has attachment

Post has attachment
New example. Doodlejump like mini-game. #rubymotion   #joybox   #example  

Hello!

For the next version of Joybox (right now in the repository), there will be some changes on the collision using the Physics World:

A) Now for use when_collide method of the World instance, you need to pass an instance of a PhysicsSprite and it will return in the block the colliding physics sprite if available, or the body that is colliding. Example:

@world.when_colide physics_sprite do |collision_sprite, is_touching|
end

B) If you still need to get the collisions of the physics bodies you can use the following:

@world.on_collision do |first_body, second_body, is_touching|
end

I think this will allow to do a better collision handling because we don't have to worry anymore about knowing what body belongs to the physic sprite, I hope do you like it.

Thanks

JK

Post has attachment

Post has attachment
A little sneak peak of the next version :D 

Post has attachment
I have ported the "objective-c" tutorial from http://www.raywenderlich.com/25736/how-to-make-a-simple-iphone-game-with-cocos2d-2-x-tutorial to #rubymotion  and #joybox . Ask any questions in comments below.

So, I have first problem:
when i run "rake simulator retina=true", my application thinks that screen is not retina.
#rubymotion   #joybox   #iosdevelopment  
Wait while more posts are being loaded