Archive for the 'source code' Category

Sapus Tongue 3.0 released. Includes iPhone, iPad and Mac versions!

Sapus Tongue macSapus Tongue Mac

Sapus Tongue 3.0 has been released.

Highlights:

  • NEW: Sapus Tongue works for Mac too
  • NEW: Finished iPad version

Sapus Tongue 3.0 supports 4 different targets/configurations, all of them sharing the same the source code.
Supported targets/configurations:

Changelog from v2.3:

  • [NEW] Mac Version: Works on Mac. Differences between Mac and iOS:
    • Mac: Pause shows a modal window instead of an Alert
    • Mac: Only local scores are supported
    • Mac: InstructionsNode: Instructions Video is not shown
    • It reuses all the the cocos2d code.
    • The UIKit specific code, was rewritten using Cocoa specific code.
  • [NEW] GameHUD: Splitted in 3 files: HUD, HUDPaused and HUDSaveScore. Easier to maintain.
  • [FIX] GameNode: Accelerometer works correctly in any orientation
  • [FIX] GameNode: Sprite is in the main loop, not a “draw” time.
  • [FIX] InstructionsNode: it looks nice on iPad. Simplified code, easier to maintain.
  • [FIX] RootViewController: Supports hi-res.
  • [FIX] Xcode: SapusTongue-iPad renamed to SapusTongue HD
  • [FIX] Xcode: objects separated in 4 groups: Scenes, GameHUD, Helper Nodes, Platform Nodes
  • [3RD] cocosLive: fixed parsing error when posting scores
  • [3RD] cocos2d: udpated to v0.99.5-beta2

To order or renew Sapus Tongue source code, please visit this page: Sapus Tongue Source Code page

If you have bought the Premium or Updates source code package, you should have received an email with the download link. If you have not yet received it, please let me know and I’ll be happy to send it to you. Thanks.

LevelSVG v2.2 released

LevelSVG v2.2 (2010-03-26) has just been released.
Highlights:

  • Polished menus, About, sounds, images, HUD
  • Added Level4, a complete Mario Bros-like level
  • Added several improvements in the jump logic
  • Improved logic when touching sensors

Full Changelog:

  • [NEW] BodyNodes: HeroBox: uses new images using Zwoptex. Replaced Pingus with Sapus animation
  • [NEW] BodyNodes: HeroRound: improved jumps to prevent “super jump” while passing through a one-sided platform
  • [NEW] BodyNodes: Princess, BadGuy: when touched by hero, the touchedByHero method is called
  • [NEW] BodyNodes: BonusNode: new class that is the base class of Star, Fruit, and Life
  • [NEW] BodyNodes: Life: when touched it increases lives in 1
  • [NEW] BodyNodes: Star: when touched it increases points in 5
  • [NEW] Scene: Added About Scene
  • [NEW] Scene: Splited MenuScene in 2: MenuScene and SelectLevelScene
  • [NEW] HUD: scores scales up/down when new score. Life blinks when new life
  • [NEW] Levels: new Level4: A TMX based game with boxed sprites
  • [FIX] BodyNodes: Hero: Uses Box2d new API: ApplyImpulse() -> ApplyLinearImpulse()
  • [FIX] BodyNodes: KinematicNode: setAngle calls SetTransform() with the correct position
  • [FIX] BodyNodes: Platform1Invisible is subclass of Platform1 (easier to maintain)
  • [FIX] BodyNodes: Platform1 takes into account which node is the platform before disabling the contact
  • [FIX] Hero: Platform1 logic is on the Hero
  • [FIX] Hero: handles correctly jumps after passing through a one-sided platform
  • [FIX] Levels: added more lives and bonus points in the levels.
  • [3RD] Box2D: using r69
  • [3RD] cocos2d & CocosDension: using v0.99.1 (SVN r1877)
  • [3RD] libisimulate: using 2010-02-18 v1.5

You can download the manual from here:

If you have bought LevelSVG, you should have received an email with the download link. If you have not yet received it, please let me know and I’ll be happy to send it to you. Thanks.

Sapus Tongue Source Code v1.9.3 released

Sapus Tongue v1.9.3 source code has been released.

Highlights:

  • Includes an alpha version for iPad

Changes:

  • Admob: Uses libAdMobNoThumb3 instead of libAdMob
  • Admob: Uses libAdMob3 2009-11-19
  • AppDelegate: set window parameters before attaching the window into cocos2d [FIX]
  • Chipmunk: uses Chipmunk v5.2
  • cocos2d: uses cocos2d v0.99.1-pre (SVN r1847)
  • GameNode: uses cpArbiterGetShapes() to obtain the shapes (new API in Chipmunk v5.2)
  • Instructions: sounds effects work after playing the video [FIX]
  • iPad: most of the code is resolution independent
  • iPad: Added some iPad resources in Resources-iPad
  • iPad: Added the Xcode “sapusTongue-iPad” target in Xcode
  • MainMenu: Uses CCRadialTransition from Menu to SelectCharNode
  • Resources: levels -> Resources/tileMap. Sounds -> Resources/Sounds. Images->Resources/Images
  • Xcode: Default SDK is 3.0

If you have bought the Premium or Updates source code package, you should have received an email with the download link. If you have not yet received it, please let me know and I’ll be happy to send it to you. Thanks.

Sapus Tongue Source Code v1.9.2 released

Sapus Tongue v1.9.2 source code has been released.

Changes:

  • Buttons: buttons are loaded using CCSpriteFrameCache (faster loading times, consumes less memory)
  • BuyNode & SelectCharNode: uses CCSpriteFrameCache & SpriteSheet (faster loading times, consumes less memory, faster rendering times)
  • SapusIntroNode: reuses Default.png instead of loading a new image
  • GameNode: using better hash values for Chipmunk
  • Uses cocso2d v0.99.0-rc + blend fix (SVN r1761)
  • Uses Chipmunk v5.1

If you have bought the Premium or Updates source code package, you should have received an email with the download link. If you have not yet received it, please let me know and I’ll be happy to send it to you. Thanks.

Sapus Tongue source code v1.9.1 released

Sapus Tongue v1.9.1 source code has been released.

Changes:

  • Uses cocos2d v0.9.0-beta
  • Uses new CCCrossFadeTransition from Sapus Scene to Menu Scene
  • Uses Chipmunk 5.0
  • Updated code to use Chipmunk 5.0 (new joints and new collision detection callbacks)

If you have bought the Premium or Updates source code package, you should have received an email with the download link. If you have not yet received it, please let me know and I’ll be happy to send it to you. Thanks.

LevelSVG map editor

My second game will be a platform game.
One of the most time-consuming tasks in developing platform games is creating good level maps. Therefore, I have put a lot of effort in trying to ease this task by creating an SVG parser that supports:
  • Basic physics objects like: rect, circle, lines, bezier paths and nested transformations
  • The possibility to edit physics properties like: density, friction, restitution and isSensor
  • The possibility to link SVG elements with pre-defined physics objects and cocos2d sprites
  • Collision detection logic between these elements
  • Jump logic (the hero only jumps when touching the ground)
  • Movement logic (tilt, d-pad)
Example video:
The source code of this level “editor” will be available for purchase in a few days.

Sapus Tongue source code v1.8.3 released

Sapus Tongue v1.8.3 source code released.

Changes:

  • Uses cocos2d v0.8.2
  • Uses Admob 2009-10-16. Includes libAdMob3 for SDK 3.0
  • To prevent crashes, Admob is enabled only on SDK 2.2. It can be enabled on SDK 3.0 by adding the libAdMob3 library
  • Uses the new cocos2d logo
  • Uses DisplayLink director on SDK >= 3.1
  • Uses COCOS2D_DEBUG=1 instead of DEBUG=1 on debug builds to make CCLOG() works

If you have bought the Premium or Updates source code package, you should have received an email with the download link. If you have not yet received it, please let me know and I’ll be happy to send it to you. Thanks.

Sapus Tongue source code v1.8.2 released

Sapus Tongue v1.8.2 source code released.

Changes:

  • Uses cocos2d v0.8.1 (final)
  • Fixed leak in GameHUD#newTextField_Rounded method
  • Fixed extra-release in GameHUD#saveCallback

If you have bought the Premium or Updates source code package, you should have received an email with the download link. If you have not yet received it, please let me know and I’ll be happy to send it to you. Thanks.

Sapus Tongue source code v1.8.1 released

Sapus Tongue v1.8.1 source code released.

Changes:

  • Uses cocos2d v0.8.0 (final)
  • Added LoadingBarNode.m class
    • It’s a simple but useful class that displays progress while the textures are being loaded
    • Once the textures are loaded, a callback is called
    • This class can be used like any other CocosNode object

If you have bought the Premium or Updates source code package, you should have received an email with the download link. If you have not yet received it, please let me know and I’ll be happy to send it to you. Thanks.

Code an iPhone games in a matter of hours


Hey, I’m selling the Sapus Tongue sources.

For only $199 you can have the source code of Sapus Tongue plus all its dependencies (cocos2d, chipmunk, sounds, images, etc).

You can use them in as many games as you want.

And for only $349 you have the source code, plus source code updates plus support!

Do you want to buy it ? Go here: http://www.sapusmedia.com/sources/