Platformer Demo (Deprecated)

Jon

  • *
  • Posts: 17533
This works on b27 and above.


« Last Edit: August 30, 2011, 12:38:04 am by Jon »

Aasimar

  • *
  • Posts: 605
Hi Jon,

When I test it in simulator, no problem.
When I test it on my device, I can't build the demo :

Code: [Select]
AppScaffold
/Users/seb/iOS Platformer-ios/Classes/Design_0_0_AnimationManager.mm
Unused variable '__Self'
Unused variable '__Self'
Unused variable '__Self'
Unused variable '__Self'
Unused variable '__Self'
Unused variable '__Self'
/Users/seb/iOS Platformer-ios/Classes/Design_1_1_AirJumping.mm
'Design_1_1_AirJumping' may not respond to '-CheckPosition'
Unused variable '__Self'
/Users/seb/iOS Platformer-ios/Classes/Design_2_2_Falling.mm
'Design_2_2_Falling' may not respond to '-CheckFalling'
/Users/seb/iOS Platformer-ios/Classes/Design_4_4_Walking.mm
Unused variable '__Self'
Unused variable '__Self'
Unused variable '__Self'
Unused variable '__Self'
Unused variable '__Self'
Unused variable '__Self'
Unused variable '__Self'
/Users/seb/iOS Platformer-ios/Classes/Design_5_5_Jumping.mm
Unused variable 'self'
/Users/seb/iOS Platformer-ios/Classes/Design_6_6_Running.mm
'Design_6_6_Running' may not respond to '-SetAnimation'
/Users/seb/iOS Platformer-ios/Classes/Design_7_7_WallJumping.mm
Unused variable 'self'
Unused variable '__Self'
/Users/seb/iOS Platformer-ios/Classes/Design_10_10_WallSliding.mm
Unused variable '__Self'
ld: warning: ignoring file /Users/seb/iOS Platformer-ios/libStencyl.a, file was built for archive which is not the architecture being linked (armv6)

  "_OBJC_CLASS_$_SPStage", referenced from:

  "_OBJC_CLASS_$_Actor", referenced from:

  "_OBJC_CLASS_$_Game", referenced from:

  "_OBJC_CLASS_$_SPPoint", referenced from:

  "_OBJC_METACLASS_$_ActorScript", referenced from:

  "_OBJC_CLASS_$_SPAudioEngine", referenced from:

  "_OBJC_IVAR_$_Script.mActor", referenced from:

  "_OBJC_CLASS_$_SPRectangle", referenced from:

  "_OBJC_CLASS_$_SPMatrix", referenced from:

  "_OBJC_CLASS_$_ActorScript", referenced from:

  "_OBJC_CLASS_$_AdViewController", referenced from:

  "_OBJC_CLASS_$_SPView", referenced from:

Jon

  • *
  • Posts: 17533
Yeah - my upgrade to iOS 5 inadvertently made all my builds only target arm7 (iPhone 4 / iPad and better). I'm redownloading iOS 4.3 so I can build for armv6 once more.

If you pick up the latest patch, the device may now work (I haven't announced that it's b28 yet, hehe, pending some team testing first, but you can give it a shot).

http://community.stencyl.com/index.php/topic,2479.0.html

Aasimar

  • *
  • Posts: 605
Ok ! I'm waiting for b28, I tried to give you my logs, are they the good ?

Jon

  • *
  • Posts: 17533
Yeah, the logs tell me that it's because I'm on iOS 5, my builds only work on newer devices.

ignoring file /Users/seb/iOS Platformer-ios/libStencyl.a, file was built for archive which is not the architecture being linked (armv6)

If you pick up the b28 patch in the link, it has the library that's built for iOS 4 (on an older Mac I have).

Aasimar

  • *
  • Posts: 605
Yeah ! I have some errors but it works on iPhone !

Code: [Select]
AppScaffold
/Users/seb/iOS Platformer-ios/Classes/Design_0_0_AnimationManager.mm
/Users/seb/iOS Platformer-ios/Classes/Design_0_0_AnimationManager.mm:100: warning: unused variable '__Self'

/Users/seb/iOS Platformer-ios/Classes/Design_0_0_AnimationManager.mm:110: warning: unused variable '__Self'

/Users/seb/iOS Platformer-ios/Classes/Design_0_0_AnimationManager.mm:153: warning: unused variable '__Self'

/Users/seb/iOS Platformer-ios/Classes/Design_0_0_AnimationManager.mm:161: warning: unused variable '__Self'

/Users/seb/iOS Platformer-ios/Classes/Design_0_0_AnimationManager.mm:169: warning: unused variable '__Self'

/Users/seb/iOS Platformer-ios/Classes/Design_0_0_AnimationManager.mm:178: warning: unused variable '__Self'

/Users/seb/iOS Platformer-ios/Classes/Design_2_2_Falling.mm
/Users/seb/iOS Platformer-ios/Classes/Design_2_2_Falling.mm:56: warning: 'Design_2_2_Falling' may not respond to '-CheckFalling'

/Users/seb/iOS Platformer-ios/Classes/Design_1_1_AirJumping.mm
/Users/seb/iOS Platformer-ios/Classes/Design_1_1_AirJumping.mm:90: warning: 'Design_1_1_AirJumping' may not respond to '-CheckPosition'

/Users/seb/iOS Platformer-ios/Classes/Design_1_1_AirJumping.mm:159: warning: unused variable '__Self'

/Users/seb/iOS Platformer-ios/Classes/Design_4_4_Walking.mm
/Users/seb/iOS Platformer-ios/Classes/Design_4_4_Walking.mm:152: warning: unused variable '__Self'

/Users/seb/iOS Platformer-ios/Classes/Design_4_4_Walking.mm:180: warning: unused variable '__Self'

/Users/seb/iOS Platformer-ios/Classes/Design_4_4_Walking.mm:189: warning: unused variable '__Self'

/Users/seb/iOS Platformer-ios/Classes/Design_4_4_Walking.mm:197: warning: unused variable '__Self'

/Users/seb/iOS Platformer-ios/Classes/Design_4_4_Walking.mm:206: warning: unused variable '__Self'

/Users/seb/iOS Platformer-ios/Classes/Design_4_4_Walking.mm:214: warning: unused variable '__Self'

/Users/seb/iOS Platformer-ios/Classes/Design_4_4_Walking.mm:223: warning: unused variable '__Self'

/Users/seb/iOS Platformer-ios/Classes/Design_5_5_Jumping.mm
/Users/seb/iOS Platformer-ios/Classes/Design_5_5_Jumping.mm:127: warning: unused variable 'self'

/Users/seb/iOS Platformer-ios/Classes/Design_6_6_Running.mm
/Users/seb/iOS Platformer-ios/Classes/Design_6_6_Running.mm:128: warning: 'Design_6_6_Running' may not respond to '-SetAnimation'

/Users/seb/iOS Platformer-ios/Classes/Design_7_7_WallJumping.mm
/Users/seb/iOS Platformer-ios/Classes/Design_7_7_WallJumping.mm:102: warning: unused variable 'self'

/Users/seb/iOS Platformer-ios/Classes/Design_7_7_WallJumping.mm:235: warning: unused variable '__Self'

/Users/seb/iOS Platformer-ios/Classes/Design_10_10_WallSliding.mm
/Users/seb/iOS Platformer-ios/Classes/Design_10_10_WallSliding.mm:175: warning: unused variable '__Self'