Add gitignore
64
.gitignore
vendored
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
# Xcode
|
||||||
|
#
|
||||||
|
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
|
||||||
|
|
||||||
|
.DS_Store
|
||||||
|
|
||||||
|
## Build generated
|
||||||
|
build/
|
||||||
|
DerivedData/
|
||||||
|
|
||||||
|
## Various settings
|
||||||
|
*.pbxuser
|
||||||
|
!default.pbxuser
|
||||||
|
*.mode1v3
|
||||||
|
!default.mode1v3
|
||||||
|
*.mode2v3
|
||||||
|
!default.mode2v3
|
||||||
|
*.perspectivev3
|
||||||
|
!default.perspectivev3
|
||||||
|
xcuserdata/
|
||||||
|
xcshareddata/
|
||||||
|
xcworkspace/
|
||||||
|
## Other
|
||||||
|
*.moved-aside
|
||||||
|
*.xcuserstate
|
||||||
|
|
||||||
|
## Obj-C/Swift specific
|
||||||
|
*.hmap
|
||||||
|
*.ipa
|
||||||
|
*.dSYM.zip
|
||||||
|
*.dSYM
|
||||||
|
|
||||||
|
# CocoaPods
|
||||||
|
#
|
||||||
|
# We recommend against adding the Pods directory to your .gitignore. However
|
||||||
|
# you should judge for yourself, the pros and cons are mentioned at:
|
||||||
|
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
||||||
|
#
|
||||||
|
# Pods/
|
||||||
|
|
||||||
|
# Carthage
|
||||||
|
#
|
||||||
|
# Add this line if you want to avoid checking in source code from Carthage dependencies.
|
||||||
|
# Carthage/Checkouts
|
||||||
|
|
||||||
|
Carthage/Build
|
||||||
|
|
||||||
|
# fastlane
|
||||||
|
#
|
||||||
|
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
|
||||||
|
# screenshots whenever they are needed.
|
||||||
|
# For more information about the recommended setup visit:
|
||||||
|
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
|
||||||
|
|
||||||
|
fastlane/report.xml
|
||||||
|
fastlane/screenshots
|
||||||
|
|
||||||
|
# Code Injection
|
||||||
|
#
|
||||||
|
# After new code Injection tools there's a generated folder /iOSInjectionProject
|
||||||
|
# https://github.com/johnno1962/injectionforxcode
|
||||||
|
|
||||||
|
iOSInjectionProject/
|
||||||
|
/proj.ios_mac/.idea
|
BIN
proj.ios/.DS_Store
vendored
Normal file
31
proj.ios/AppDelegate.swift
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
//
|
||||||
|
// AppDelegate.swift
|
||||||
|
// salmontemplate
|
||||||
|
//
|
||||||
|
// Created by Роберт Хайреев on 16/01/2017.
|
||||||
|
//
|
||||||
|
//
|
||||||
|
|
||||||
|
import Foundation
|
||||||
|
import UIKit
|
||||||
|
|
||||||
|
@UIApplicationMain
|
||||||
|
class AppDelegate: UIResponder, UIApplicationDelegate {
|
||||||
|
|
||||||
|
var window: UIWindow?
|
||||||
|
var viewController: UIViewController?
|
||||||
|
|
||||||
|
func applicationDidFinishLaunching(_ application: UIApplication) {
|
||||||
|
window = UIWindow(frame: UIScreen.main.bounds)
|
||||||
|
|
||||||
|
if UIDevice.current.userInterfaceIdiom == .phone {
|
||||||
|
viewController = ViewController(nibName: "ViewController_iPhone", bundle: nil)
|
||||||
|
} else {
|
||||||
|
viewController = ViewController(nibName: "ViewController_iPad", bundle: nil)
|
||||||
|
}
|
||||||
|
|
||||||
|
window?.rootViewController = viewController
|
||||||
|
window?.makeKeyAndVisible()
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
13
proj.ios/CustomGLKView.h
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
//
|
||||||
|
// CustomGLKView.h
|
||||||
|
// doublehitballs
|
||||||
|
//
|
||||||
|
// Created by vvv ооо on 15.07.12.
|
||||||
|
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import "include/Utils/IosApi/ObjC/GLKViewTemplate.h"
|
||||||
|
|
||||||
|
@interface CustomGLKView : GLKViewTemplate
|
||||||
|
|
||||||
|
@end
|
5
proj.ios/CustomGLKView.mm
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#import "CustomGLKView.h"
|
||||||
|
|
||||||
|
@implementation CustomGLKView
|
||||||
|
|
||||||
|
@end
|
95
proj.ios/CustomGLKView.swift
Normal file
@ -0,0 +1,95 @@
|
|||||||
|
//
|
||||||
|
// CustomGLKView.swift
|
||||||
|
// salmontemplate
|
||||||
|
//
|
||||||
|
// Created by Роберт Хайреев on 16/01/2017.
|
||||||
|
//
|
||||||
|
//
|
||||||
|
|
||||||
|
import Foundation
|
||||||
|
import GLKit
|
||||||
|
|
||||||
|
struct TTouchHashData {
|
||||||
|
var first: CGPoint!
|
||||||
|
var second: Bool!
|
||||||
|
var number: Int!
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class GLKViewTemplate: GLKView {
|
||||||
|
|
||||||
|
var touchDict: [UITouch: TTouchHashData] = [:]
|
||||||
|
|
||||||
|
override init(frame: CGRect) {
|
||||||
|
super.init(frame: frame)
|
||||||
|
isMultipleTouchEnabled = true
|
||||||
|
}
|
||||||
|
|
||||||
|
required init?(coder aDecoder: NSCoder) {
|
||||||
|
fatalError("init(coder:) has not been implemented")
|
||||||
|
}
|
||||||
|
|
||||||
|
func addTouchToHash(touch: UITouch) {
|
||||||
|
let data = TTouchHashData()
|
||||||
|
touchDict[touch] = data
|
||||||
|
touchDict[touch]?.first = touch.location(in: self)
|
||||||
|
touchDict[touch]?.second = false
|
||||||
|
|
||||||
|
for n in 0...255 {
|
||||||
|
var nExists = false
|
||||||
|
|
||||||
|
for i in touchDict.values {
|
||||||
|
if i.number == n {
|
||||||
|
nExists = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if !nExists {
|
||||||
|
touchDict[touch]?.number = n
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
func removeTouchFromHash(touch: UITouch) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
|
||||||
|
for touch in touches {
|
||||||
|
let location = touch.location(in: self)
|
||||||
|
let prevLocation = touch.previousLocation(in: self)
|
||||||
|
|
||||||
|
if abs(touchDict[touch]!.first!.x - location.x) > 10 || abs(touchDict[touch]!.first!.y - location.y) > 10 {
|
||||||
|
touchDict[touch]?.second = true
|
||||||
|
}
|
||||||
|
|
||||||
|
let number = Int32(touchDict[touch]!.number)
|
||||||
|
|
||||||
|
SE_AppOnScroll(Int32(Float(prevLocation.x) - Float(location.x)), -Int32(Float(prevLocation.y) - Float(location.y)), number)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
|
||||||
|
for touch in touches {
|
||||||
|
let location = touch.location(in: self)
|
||||||
|
let number = Int32(touchDict[touch]!.number)
|
||||||
|
|
||||||
|
if touchDict[touch]!.second == true {
|
||||||
|
SE_AppOnTapUpAfterMove(Int32(location.x), Int32(bounds.size.height - location.y), number)
|
||||||
|
} else {
|
||||||
|
SE_AppOnTapUp(Int32(location.x), Int32(bounds.size.height - location.y), number)
|
||||||
|
}
|
||||||
|
touchDict.removeValue(forKey: touch)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?) {
|
||||||
|
for touch in touches {
|
||||||
|
touchDict.removeValue(forKey: touch)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
60
proj.ios/SENamespaceWrapper.cpp
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
//
|
||||||
|
// SENamespaceWrapper.hpp
|
||||||
|
// salmontemplate
|
||||||
|
//
|
||||||
|
// Created by Роберт Хайреев on 16/01/2017.
|
||||||
|
//
|
||||||
|
//
|
||||||
|
|
||||||
|
#include "include/Utils/Utils.h"
|
||||||
|
|
||||||
|
//#import "include/Utils/IosApi/ObjC/ViewControllerTemplate.h"
|
||||||
|
#include "include/Utils/IosApi/IosWrapper.h"
|
||||||
|
#include "SENamespaceWrapper.h"
|
||||||
|
|
||||||
|
|
||||||
|
namespace SE {
|
||||||
|
void SetKeyboardText(const char* newText);
|
||||||
|
void OnKeyboardHide();
|
||||||
|
}
|
||||||
|
|
||||||
|
//TApplication *app = NULL;
|
||||||
|
void SE_AppDeinit() {
|
||||||
|
SE::AppDeinit();
|
||||||
|
}
|
||||||
|
|
||||||
|
void SE_AppUpdate(int dt) {
|
||||||
|
SE::AppUpdate(dt);
|
||||||
|
}
|
||||||
|
|
||||||
|
void SE_AppDraw() {
|
||||||
|
SE::AppDraw();
|
||||||
|
}
|
||||||
|
|
||||||
|
void SE_AppOnTapDown(int posx, int posy, int touchNumber) {
|
||||||
|
SE::AppOnTapDown(posx, posy, touchNumber);
|
||||||
|
}
|
||||||
|
|
||||||
|
void SE_AppOnTapUp(int posx, int posy, int touchNumber) {
|
||||||
|
SE::AppOnTapUp(posx, posy, touchNumber);
|
||||||
|
}
|
||||||
|
|
||||||
|
void SE_AppOnTapUpAfterMove(int posx, int posy, int touchNumber) {
|
||||||
|
SE::AppOnTapUpAfterMove(posx, posy, touchNumber);
|
||||||
|
}
|
||||||
|
|
||||||
|
void SE_AppOnScroll(int shiftx, int shifty, int touchNumber) {
|
||||||
|
SE::AppOnScroll(shiftx, shifty, touchNumber);
|
||||||
|
}
|
||||||
|
|
||||||
|
void SE_AppOnScale(float scale) {
|
||||||
|
SE::AppOnScale(scale);
|
||||||
|
}
|
||||||
|
|
||||||
|
void SE_SetKeyboardText(const char* newText) {
|
||||||
|
SE::SetKeyboardText(newText);
|
||||||
|
}
|
||||||
|
|
||||||
|
void SE_OnKeyboardHide() {
|
||||||
|
SE::OnKeyboardHide();
|
||||||
|
}
|
33
proj.ios/SENamespaceWrapper.h
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
//
|
||||||
|
// SENamespaceWrapper.hpp
|
||||||
|
// salmontemplate
|
||||||
|
//
|
||||||
|
// Created by Роберт Хайреев on 16/01/2017.
|
||||||
|
//
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef SENamespace_h
|
||||||
|
#define SENamespace_h
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
//void SE_CreateEngine();
|
||||||
|
//void SE_DestroyEngine();
|
||||||
|
//TApplication *app = NULL;
|
||||||
|
void SE_AppDeinit();
|
||||||
|
void SE_AppUpdate(int dt);
|
||||||
|
void SE_AppDraw();
|
||||||
|
void SE_AppOnTapDown(int posx, int posy, int touchNumber);
|
||||||
|
void SE_AppOnTapUp(int posx, int posy, int touchNumber);
|
||||||
|
void SE_AppOnTapUpAfterMove(int posx, int posy, int touchNumber);
|
||||||
|
void SE_AppOnScroll(int shiftx, int shifty, int touchNumber);
|
||||||
|
void SE_AppOnScale(float scale);
|
||||||
|
void SE_SetKeyboardText(const char* newText);
|
||||||
|
void SE_OnKeyboardHide();
|
||||||
|
#ifdef __cplusplus
|
||||||
|
} //end extern "C"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* SENamespace_h */
|
||||||
|
|
113
proj.ios/ViewController.swift
Normal file
@ -0,0 +1,113 @@
|
|||||||
|
//
|
||||||
|
// ViewController.swift
|
||||||
|
// salmontemplate
|
||||||
|
//
|
||||||
|
// Created by Роберт Хайреев on 16/01/2017.
|
||||||
|
//
|
||||||
|
//
|
||||||
|
|
||||||
|
import UIKit
|
||||||
|
import GLKit
|
||||||
|
|
||||||
|
class ViewControllerTemplate: GLKViewController, UITextFieldDelegate {
|
||||||
|
|
||||||
|
public var hiddenTextField: UITextField?
|
||||||
|
private var context: EAGLContext?
|
||||||
|
private var effect: GLKBaseEffect?
|
||||||
|
|
||||||
|
override func viewDidLoad() {
|
||||||
|
super.viewDidLoad()
|
||||||
|
|
||||||
|
guard let context = EAGLContext(api: .openGLES2) else {
|
||||||
|
print("Failed to create ES context")
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
self.context = context
|
||||||
|
let view: GLKView = self.view as! GLKView
|
||||||
|
view.context = self.context!
|
||||||
|
view.drawableDepthFormat = .format24
|
||||||
|
|
||||||
|
//defaultView = view
|
||||||
|
|
||||||
|
setupGL()
|
||||||
|
|
||||||
|
let recognizer = UIPinchGestureRecognizer(target: self, action: #selector(respondToPinch(gestureRecognizer:)))
|
||||||
|
recognizer.delaysTouchesEnded = false
|
||||||
|
|
||||||
|
view.addGestureRecognizer(recognizer)
|
||||||
|
view.isMultipleTouchEnabled = true
|
||||||
|
|
||||||
|
hiddenTextField = UITextField(frame: CGRect(x: -200, y: -200, width: 0, height: 0))
|
||||||
|
hiddenTextField?.autocorrectionType = .no
|
||||||
|
view.addSubview(hiddenTextField!)
|
||||||
|
hiddenTextField?.delegate = self
|
||||||
|
NotificationCenter.default.addObserver(self, selector: #selector(onReceiveKeyboardNotification(notification:)), name: .UITextFieldTextDidChange, object: nil)
|
||||||
|
}
|
||||||
|
|
||||||
|
deinit {
|
||||||
|
tearDownGL()
|
||||||
|
}
|
||||||
|
|
||||||
|
func setupGL() {
|
||||||
|
EAGLContext.setCurrent(context)
|
||||||
|
appInitCaller()
|
||||||
|
}
|
||||||
|
|
||||||
|
func tearDownGL() {
|
||||||
|
EAGLContext.setCurrent(context)
|
||||||
|
SE_AppDeinit()
|
||||||
|
}
|
||||||
|
|
||||||
|
func appInitCaller() {
|
||||||
|
// CustomAppInit()
|
||||||
|
}
|
||||||
|
|
||||||
|
func respondToPinch(gestureRecognizer: UIPinchGestureRecognizer) {
|
||||||
|
SE_AppOnScale(Float(gestureRecognizer.scale))
|
||||||
|
}
|
||||||
|
|
||||||
|
func onReceiveKeyboardNotification(notification: NSNotification) {
|
||||||
|
if notification.name == .UITextFieldTextDidChange {
|
||||||
|
let textField = notification.object as! UITextField
|
||||||
|
let text = textField.text
|
||||||
|
SE_SetKeyboardText(text)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func textFieldDidBeginEditing(_ textField: UITextField) {
|
||||||
|
print("Begin")
|
||||||
|
}
|
||||||
|
|
||||||
|
func textFieldDidEndEditing(_ textField: UITextField) {
|
||||||
|
print("End")
|
||||||
|
}
|
||||||
|
|
||||||
|
func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool {
|
||||||
|
if string == "\n" {
|
||||||
|
textField.resignFirstResponder()
|
||||||
|
SE_OnKeyboardHide()
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
|
func update() {
|
||||||
|
SE_AppUpdate(Int32(self.timeSinceLastUpdate * 1000))
|
||||||
|
}
|
||||||
|
|
||||||
|
override func glkView(_ view: GLKView, drawIn rect: CGRect) {
|
||||||
|
SE_AppDraw()
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
class ViewController: ViewControllerTemplate {
|
||||||
|
override func appInitCaller() {
|
||||||
|
CustomAppInit()
|
||||||
|
}
|
||||||
|
|
||||||
|
override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
|
||||||
|
return [.landscapeLeft, .landscapeRight]
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
<string>English</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>com.apple.xcode.dsym.fishrungames.template</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>dSYM</string>
|
||||||
|
<key>CFBundleSignature</key>
|
||||||
|
<string>????</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>1.0</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>1.0</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/Frameworks/libswiftCore.dylib
Executable file
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/Frameworks/libswiftDarwin.dylib
Executable file
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/Frameworks/libswiftGLKit.dylib
Executable file
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/Frameworks/libswiftUIKit.dylib
Executable file
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/Frameworks/libswiftsimd.dylib
Executable file
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/Icon.png
Normal file
After Width: | Height: | Size: 9.1 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/Info.plist
Normal file
1
proj.ios/build/Debug-iphoneos/salmontemplate.app/PkgInfo
Normal file
@ -0,0 +1 @@
|
|||||||
|
APPL????
|
After Width: | Height: | Size: 5.8 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/back_btn.png
Executable file
After Width: | Height: | Size: 6.6 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/ball.png
Executable file
After Width: | Height: | Size: 962 B |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/ball_glow.png
Executable file
After Width: | Height: | Size: 3.3 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/block1.png
Executable file
After Width: | Height: | Size: 1.3 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/block2.png
Executable file
After Width: | Height: | Size: 1.7 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/block3.png
Executable file
After Width: | Height: | Size: 1.7 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/bonus_floor.png
Executable file
After Width: | Height: | Size: 759 B |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/bonus_gothrough.png
Executable file
After Width: | Height: | Size: 1022 B |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/bonus_multiplier.png
Executable file
After Width: | Height: | Size: 564 B |
@ -0,0 +1,15 @@
|
|||||||
|
precision mediump float;
|
||||||
|
uniform sampler2D Texture;
|
||||||
|
uniform float Transparency;
|
||||||
|
uniform vec4 BrickColor;
|
||||||
|
varying vec2 texCoord;
|
||||||
|
|
||||||
|
void main()
|
||||||
|
{
|
||||||
|
vec4 color = BrickColor * texture2D(Texture,texCoord).rgba;
|
||||||
|
|
||||||
|
gl_FragColor = vec4(color.rgb, color.a * Transparency);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,12 @@
|
|||||||
|
attribute vec3 vPosition;
|
||||||
|
attribute vec2 vTexCoord;
|
||||||
|
varying vec2 texCoord;
|
||||||
|
|
||||||
|
uniform mat4 ProjectionMatrix;
|
||||||
|
|
||||||
|
void main()
|
||||||
|
{
|
||||||
|
//480x320
|
||||||
|
gl_Position = ProjectionMatrix * vec4(vPosition.xyz, 1.0);
|
||||||
|
texCoord = vTexCoord;
|
||||||
|
}
|
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/console_bkg.bmp
Executable file
After Width: | Height: | Size: 102 B |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/credits.png
Executable file
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 12 KiB |
@ -0,0 +1,95 @@
|
|||||||
|
32 0.00976562 0.0195312 0 0.0546875 0 0 0.0078125
|
||||||
|
49 0.0195312 0.0195312 0.00390625 0.015625 0.0078125 0.0390625 0.015625
|
||||||
|
50 0.0371094 0.0195312 0.00195312 0.015625 0.0136719 0.0390625 0.015625
|
||||||
|
51 0.0605469 0.0195312 0.00195312 0.015625 0.0117188 0.0390625 0.015625
|
||||||
|
52 0.0820312 0.0195312 0.00195312 0.015625 0.0136719 0.0390625 0.015625
|
||||||
|
53 0.105469 0.0195312 0.00195312 0.015625 0.0117188 0.0390625 0.015625
|
||||||
|
54 0.126953 0.0195312 0.00195312 0.015625 0.0117188 0.0390625 0.015625
|
||||||
|
55 0.148438 0.0195312 0.00195312 0.015625 0.0117188 0.0390625 0.015625
|
||||||
|
56 0.169922 0.0195312 0.00195312 0.015625 0.0117188 0.0390625 0.015625
|
||||||
|
57 0.191406 0.0195312 0.00195312 0.015625 0.0117188 0.0390625 0.015625
|
||||||
|
48 0.212891 0.0195312 0.00195312 0.015625 0.0117188 0.0390625 0.015625
|
||||||
|
97 0.234375 0.0195312 0.00195312 0.0234375 0.00976562 0.03125 0.0136719
|
||||||
|
98 0.253906 0.0195312 0.00195312 0.0117188 0.0117188 0.0429688 0.015625
|
||||||
|
99 0.275391 0.0195312 0.00195312 0.0234375 0.00976562 0.03125 0.0136719
|
||||||
|
100 0.294922 0.0195312 0.00195312 0.0117188 0.0117188 0.0429688 0.015625
|
||||||
|
101 0.316406 0.0195312 0.00195312 0.0234375 0.0117188 0.03125 0.015625
|
||||||
|
102 0.337891 0.0195312 0 0.0117188 0.00976562 0.0429688 0.0078125
|
||||||
|
103 0.357422 0.0195312 0.00195312 0.0234375 0.0136719 0.0429688 0.0136719
|
||||||
|
104 0.380859 0.0195312 0.00195312 0.0117188 0.0117188 0.0429688 0.015625
|
||||||
|
105 0.402344 0.0195312 0 0.0117188 0.00585938 0.0429688 0.0078125
|
||||||
|
106 0.417969 0.0195312 -0.00195312 0.0117188 0.0078125 0.0546875 0.0078125
|
||||||
|
107 0.435547 0.0195312 0.00195312 0.0117188 0.0136719 0.0429688 0.0136719
|
||||||
|
108 0.458984 0.0195312 0.00195312 0.0117188 0.00390625 0.0429688 0.0078125
|
||||||
|
109 0.472656 0.0195312 0.00195312 0.0234375 0.0214844 0.03125 0.0253906
|
||||||
|
110 0.503906 0.0195312 0.00195312 0.0234375 0.0117188 0.03125 0.015625
|
||||||
|
111 0.525391 0.0195312 0.00195312 0.0234375 0.0117188 0.03125 0.015625
|
||||||
|
112 0.546875 0.0195312 0.00195312 0.0234375 0.0117188 0.0429688 0.015625
|
||||||
|
113 0.568359 0.0195312 0.00195312 0.0234375 0.0117188 0.0429688 0.015625
|
||||||
|
114 0.589844 0.0195312 0.00195312 0.0234375 0.0078125 0.03125 0.00976562
|
||||||
|
115 0.607422 0.0195312 0 0.0234375 0.0117188 0.03125 0.0136719
|
||||||
|
116 0.628906 0.0195312 0 0.015625 0.00976562 0.0390625 0.00976562
|
||||||
|
117 0.648438 0.0195312 0.00195312 0.0234375 0.0117188 0.03125 0.015625
|
||||||
|
118 0.669922 0.0195312 -0.00195312 0.0234375 0.0175781 0.03125 0.0136719
|
||||||
|
119 0.697266 0.0195312 -0.00195312 0.0234375 0.0234375 0.03125 0.0195312
|
||||||
|
120 0.730469 0.0195312 0 0.0234375 0.0136719 0.03125 0.0136719
|
||||||
|
121 0.753906 0.0195312 -0.00195312 0.0234375 0.0175781 0.0429688 0.0136719
|
||||||
|
122 0.78125 0.0195312 0.00195312 0.0234375 0.0117188 0.03125 0.0136719
|
||||||
|
65 0.802734 0.0195312 -0.00195312 0.015625 0.0214844 0.0390625 0.0175781
|
||||||
|
66 0.833984 0.0195312 0.00195312 0.015625 0.0136719 0.0390625 0.0175781
|
||||||
|
67 0.857422 0.0195312 0.00195312 0.015625 0.0136719 0.0390625 0.015625
|
||||||
|
68 0.880859 0.0195312 0.00195312 0.015625 0.015625 0.0390625 0.0195312
|
||||||
|
69 0.90625 0.0195312 0.00195312 0.015625 0.00976562 0.0390625 0.0136719
|
||||||
|
70 0.925781 0.0195312 0.00195312 0.015625 0.0117188 0.0390625 0.0136719
|
||||||
|
71 0.947266 0.0195312 0.00195312 0.015625 0.015625 0.0390625 0.0195312
|
||||||
|
72 0.00976562 0.09375 0.00195312 0.015625 0.015625 0.0390625 0.0195312
|
||||||
|
73 0.0351562 0.09375 0 0.015625 0.00976562 0.0390625 0.00976562
|
||||||
|
74 0.0546875 0.09375 -0.00390625 0.015625 0.00976562 0.0507812 0.00585938
|
||||||
|
75 0.0742188 0.09375 0.00195312 0.015625 0.015625 0.0390625 0.015625
|
||||||
|
76 0.0996094 0.09375 0.00195312 0.015625 0.0117188 0.0390625 0.0136719
|
||||||
|
77 0.121094 0.09375 0.00195312 0.015625 0.0195312 0.0390625 0.0234375
|
||||||
|
78 0.150391 0.09375 0.00195312 0.015625 0.015625 0.0390625 0.0195312
|
||||||
|
79 0.175781 0.09375 0.00195312 0.015625 0.0175781 0.0390625 0.0214844
|
||||||
|
80 0.203125 0.09375 0.00195312 0.015625 0.0117188 0.0390625 0.015625
|
||||||
|
81 0.224609 0.09375 0.00195312 0.015625 0.0175781 0.046875 0.0214844
|
||||||
|
82 0.251953 0.09375 0.00195312 0.015625 0.0136719 0.0390625 0.015625
|
||||||
|
83 0.275391 0.09375 0 0.015625 0.0136719 0.0390625 0.0136719
|
||||||
|
84 0.298828 0.09375 0 0.015625 0.0136719 0.0390625 0.0136719
|
||||||
|
85 0.322266 0.09375 0.00195312 0.015625 0.015625 0.0390625 0.0195312
|
||||||
|
86 0.347656 0.09375 -0.00195312 0.015625 0.0195312 0.0390625 0.015625
|
||||||
|
87 0.376953 0.09375 -0.00195312 0.015625 0.0292969 0.0390625 0.0253906
|
||||||
|
88 0.416016 0.09375 -0.00195312 0.015625 0.0195312 0.0390625 0.015625
|
||||||
|
89 0.445312 0.09375 -0.00195312 0.015625 0.0175781 0.0390625 0.0136719
|
||||||
|
90 0.472656 0.09375 0.00195312 0.015625 0.0117188 0.0390625 0.015625
|
||||||
|
46 0.494141 0.09375 0.00195312 0.046875 0.00390625 0.0078125 0.0078125
|
||||||
|
44 0.507812 0.09375 0.00195312 0.046875 0.00390625 0.0117188 0.0078125
|
||||||
|
58 0.521484 0.09375 0.00195312 0.0234375 0.00390625 0.03125 0.0078125
|
||||||
|
59 0.535156 0.09375 0.00195312 0.0234375 0.00390625 0.0351562 0.0078125
|
||||||
|
64 0.548828 0.09375 0.00195312 0.015625 0.0195312 0.0429688 0.0234375
|
||||||
|
35 0.578125 0.09375 0 0.015625 0.015625 0.0390625 0.0175781
|
||||||
|
36 0.603516 0.09375 0.00195312 0.0117188 0.0117188 0.046875 0.015625
|
||||||
|
37 0.625 0.09375 0.00195312 0.015625 0.0195312 0.0390625 0.0234375
|
||||||
|
94 0.654297 0.09375 0 0.015625 0.0136719 0.0234375 0.0136719
|
||||||
|
38 0.677734 0.09375 0.00195312 0.015625 0.0175781 0.0390625 0.0195312
|
||||||
|
42 0.705078 0.09375 0 0.0117188 0.0136719 0.0234375 0.015625
|
||||||
|
33 0.728516 0.09375 0.00195312 0.015625 0.00390625 0.0390625 0.0078125
|
||||||
|
63 0.742188 0.09375 0 0.015625 0.00976562 0.0390625 0.0117188
|
||||||
|
40 0.761719 0.09375 0.00195312 0.015625 0.0078125 0.046875 0.0078125
|
||||||
|
41 0.779297 0.09375 0 0.015625 0.00585938 0.046875 0.0078125
|
||||||
|
91 0.794922 0.09375 0.00195312 0.015625 0.00585938 0.046875 0.0078125
|
||||||
|
93 0.810547 0.09375 0 0.015625 0.00585938 0.046875 0.0078125
|
||||||
|
123 0.826172 0.09375 0 0.015625 0.00976562 0.046875 0.00976562
|
||||||
|
125 0.845703 0.09375 0 0.015625 0.00976562 0.046875 0.00976562
|
||||||
|
60 0.865234 0.09375 0.00195312 0.0234375 0.0117188 0.0273438 0.015625
|
||||||
|
62 0.886719 0.09375 0.00195312 0.0234375 0.0117188 0.0273438 0.015625
|
||||||
|
95 0.908203 0.09375 0 0.0585938 0.0117188 0.00390625 0.0117188
|
||||||
|
45 0.929688 0.09375 0.00195312 0.0390625 0.00585938 0.0078125 0.00976562
|
||||||
|
43 0.945312 0.09375 0 0.0234375 0.0136719 0.0273438 0.015625
|
||||||
|
61 0.00976562 0.167969 0 0.0273438 0.0136719 0.0195312 0.015625
|
||||||
|
124 0.0332031 0.167969 0.00585938 0.0117188 0.00390625 0.0546875 0.0136719
|
||||||
|
92 0.046875 0.167969 -0.00195312 0.015625 0.0136719 0.0390625 0.00976562
|
||||||
|
47 0.0703125 0.167969 -0.00195312 0.015625 0.0136719 0.0390625 0.00976562
|
||||||
|
126 0.09375 0.167969 0.00195312 0.03125 0.0117188 0.0117188 0.015625
|
||||||
|
96 0.115234 0.167969 0.00585938 0.0117188 0.00585938 0.0078125 0.015625
|
||||||
|
34 0.130859 0.167969 0.00195312 0.015625 0.00976562 0.015625 0.0117188
|
||||||
|
39 0.150391 0.167969 0.00195312 0.015625 0.00390625 0.015625 0.00585938
|
@ -0,0 +1,12 @@
|
|||||||
|
precision mediump float;
|
||||||
|
uniform sampler2D Texture;
|
||||||
|
uniform float Brightness;
|
||||||
|
varying vec2 texCoord;
|
||||||
|
|
||||||
|
void main()
|
||||||
|
{
|
||||||
|
vec3 color = texture2D(Texture,texCoord).rgb;
|
||||||
|
|
||||||
|
gl_FragColor = vec4(color * Brightness, 1.0);
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,12 @@
|
|||||||
|
attribute vec3 vPosition;
|
||||||
|
attribute vec2 vTexCoord;
|
||||||
|
varying vec2 texCoord;
|
||||||
|
|
||||||
|
uniform mat4 ProjectionMatrix;
|
||||||
|
|
||||||
|
void main()
|
||||||
|
{
|
||||||
|
//480x320
|
||||||
|
gl_Position = ProjectionMatrix * vec4(vPosition.xyz, 1.0);
|
||||||
|
texCoord = vTexCoord;
|
||||||
|
}
|
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/game_end.png
Executable file
After Width: | Height: | Size: 3.4 KiB |
33
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/level1.txt
Executable file
@ -0,0 +1,33 @@
|
|||||||
|
0, 255, 255, 255
|
||||||
|
0, 0, 0, 255
|
||||||
|
255, 0, 0, 255
|
||||||
|
255, 40, 40, 255
|
||||||
|
255, 128, 128, 255
|
||||||
|
Colormap
|
||||||
|
111111111111
|
||||||
|
111111111111
|
||||||
|
111111111111
|
||||||
|
222222222222
|
||||||
|
222222222222
|
||||||
|
222222222222
|
||||||
|
222222222222
|
||||||
|
333333333333
|
||||||
|
333333333333
|
||||||
|
333333333333
|
||||||
|
000000000000
|
||||||
|
000000000000
|
||||||
|
000000000000
|
||||||
|
Brickmap
|
||||||
|
111111111111
|
||||||
|
111111111111
|
||||||
|
111111111111
|
||||||
|
000000000000
|
||||||
|
111111111111
|
||||||
|
111111111111
|
||||||
|
000000000000
|
||||||
|
111111111111
|
||||||
|
111111111111
|
||||||
|
000000000000
|
||||||
|
000000000000
|
||||||
|
000000000000
|
||||||
|
000000000000
|
32
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/level10.txt
Executable file
@ -0,0 +1,32 @@
|
|||||||
|
0, 255, 255, 255
|
||||||
|
0, 0, 0, 255
|
||||||
|
255, 0, 190, 255
|
||||||
|
255, 0, 255, 255
|
||||||
|
Colormap
|
||||||
|
002222222200
|
||||||
|
002222222200
|
||||||
|
000222222000
|
||||||
|
000022220000
|
||||||
|
111002200111
|
||||||
|
111100001111
|
||||||
|
011110011110
|
||||||
|
001111111100
|
||||||
|
000111111000
|
||||||
|
000011110000
|
||||||
|
000001100000
|
||||||
|
000000000000
|
||||||
|
000000000000
|
||||||
|
Brickmap
|
||||||
|
002111111200
|
||||||
|
002211112200
|
||||||
|
000221122000
|
||||||
|
000022220000
|
||||||
|
111002200111
|
||||||
|
221100001122
|
||||||
|
022110011220
|
||||||
|
002211112200
|
||||||
|
000221122000
|
||||||
|
000022220000
|
||||||
|
000002200000
|
||||||
|
000000000000
|
||||||
|
000000000000
|
33
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/level11.txt
Executable file
@ -0,0 +1,33 @@
|
|||||||
|
255, 255, 255, 255
|
||||||
|
0, 0, 0, 255
|
||||||
|
0, 237, 255, 255
|
||||||
|
0, 144, 255, 255
|
||||||
|
0, 59, 255, 255
|
||||||
|
Colormap
|
||||||
|
333333333333
|
||||||
|
333333333333
|
||||||
|
333333333333
|
||||||
|
000000000000
|
||||||
|
222220022222
|
||||||
|
222220022222
|
||||||
|
222220022222
|
||||||
|
000000000000
|
||||||
|
111110011111
|
||||||
|
111110011111
|
||||||
|
111110011111
|
||||||
|
000000000000
|
||||||
|
000000000000
|
||||||
|
Brickmap
|
||||||
|
111111111111
|
||||||
|
111111111111
|
||||||
|
222222222222
|
||||||
|
000000000000
|
||||||
|
111110011111
|
||||||
|
111110011111
|
||||||
|
222220022222
|
||||||
|
000000000000
|
||||||
|
111110011111
|
||||||
|
111110011111
|
||||||
|
333330033333
|
||||||
|
000000000000
|
||||||
|
000000000000
|
32
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/level12.txt
Executable file
@ -0,0 +1,32 @@
|
|||||||
|
255, 128, 128, 255
|
||||||
|
0, 0, 0, 255
|
||||||
|
159, 240, 255, 255
|
||||||
|
0, 148, 255, 255
|
||||||
|
Colormap
|
||||||
|
111111111111
|
||||||
|
222222222222
|
||||||
|
111111111111
|
||||||
|
222222222222
|
||||||
|
111111111111
|
||||||
|
222222222222
|
||||||
|
111111111111
|
||||||
|
222222222222
|
||||||
|
111111111111
|
||||||
|
222222222222
|
||||||
|
111111111111
|
||||||
|
222222222222
|
||||||
|
111111111111
|
||||||
|
Brickmap
|
||||||
|
000311113000
|
||||||
|
000311113000
|
||||||
|
333311113333
|
||||||
|
111111111111
|
||||||
|
111111111111
|
||||||
|
222221122222
|
||||||
|
333321123333
|
||||||
|
000321123000
|
||||||
|
000321123000
|
||||||
|
000322223000
|
||||||
|
000333333000
|
||||||
|
000000000000
|
||||||
|
000000000000
|
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/level1ogg.ogg
Executable file
32
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/level2.txt
Executable file
@ -0,0 +1,32 @@
|
|||||||
|
255, 0, 0, 255
|
||||||
|
0, 0, 0, 255
|
||||||
|
0, 255, 255, 255
|
||||||
|
7, 255, 189, 255
|
||||||
|
Colormap
|
||||||
|
111111111111
|
||||||
|
222222222222
|
||||||
|
111111111111
|
||||||
|
222222222222
|
||||||
|
111111111111
|
||||||
|
222222222222
|
||||||
|
111111111111
|
||||||
|
222222222222
|
||||||
|
111111111111
|
||||||
|
222222222222
|
||||||
|
111111111111
|
||||||
|
222222222222
|
||||||
|
000000000000
|
||||||
|
Brickmap
|
||||||
|
111011110111
|
||||||
|
111011110111
|
||||||
|
222022220222
|
||||||
|
000000000000
|
||||||
|
111011110111
|
||||||
|
222022220222
|
||||||
|
000000000000
|
||||||
|
111000000111
|
||||||
|
222000000222
|
||||||
|
000000000000
|
||||||
|
222222222222
|
||||||
|
000000000000
|
||||||
|
000000000000
|
33
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/level3.txt
Executable file
@ -0,0 +1,33 @@
|
|||||||
|
0, 255, 255, 255
|
||||||
|
0, 0, 0, 255
|
||||||
|
0, 151, 113, 255
|
||||||
|
7, 255, 189, 255
|
||||||
|
128, 143, 128, 255
|
||||||
|
Colormap
|
||||||
|
000000000000
|
||||||
|
033333333330
|
||||||
|
031111111130
|
||||||
|
031111111130
|
||||||
|
033333333330
|
||||||
|
000000000000
|
||||||
|
033330033330
|
||||||
|
032230032230
|
||||||
|
032230032230
|
||||||
|
033330033330
|
||||||
|
000000000000
|
||||||
|
000000000000
|
||||||
|
000000000000
|
||||||
|
Brickmap
|
||||||
|
000000000000
|
||||||
|
022222222220
|
||||||
|
021111111120
|
||||||
|
021111111120
|
||||||
|
022222222220
|
||||||
|
000000000000
|
||||||
|
022220022220
|
||||||
|
021120021120
|
||||||
|
021120021120
|
||||||
|
022220022220
|
||||||
|
000000000000
|
||||||
|
000000000000
|
||||||
|
000000000000
|
33
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/level4.txt
Executable file
@ -0,0 +1,33 @@
|
|||||||
|
255, 0, 0, 255
|
||||||
|
0, 0, 0, 255
|
||||||
|
101, 97, 255, 255
|
||||||
|
5, 186, 255, 255
|
||||||
|
105, 201, 255, 255
|
||||||
|
Colormap
|
||||||
|
000000333333
|
||||||
|
000003333333
|
||||||
|
000033311111
|
||||||
|
333333133333
|
||||||
|
333331333333
|
||||||
|
333313333333
|
||||||
|
111133311111
|
||||||
|
333333100000
|
||||||
|
333331000000
|
||||||
|
333310000000
|
||||||
|
111100000000
|
||||||
|
000000000000
|
||||||
|
000000000000
|
||||||
|
Brickmap
|
||||||
|
000000111111
|
||||||
|
000001111111
|
||||||
|
000011133333
|
||||||
|
111111311111
|
||||||
|
111113111111
|
||||||
|
111131111111
|
||||||
|
333311133333
|
||||||
|
111111300000
|
||||||
|
111113000000
|
||||||
|
111130000000
|
||||||
|
333300000000
|
||||||
|
000000000000
|
||||||
|
000000000000
|
32
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/level5.txt
Executable file
@ -0,0 +1,32 @@
|
|||||||
|
255, 0, 255, 255
|
||||||
|
0, 0, 0, 255
|
||||||
|
163, 255, 198, 255
|
||||||
|
0, 255, 182, 255
|
||||||
|
Colormap
|
||||||
|
000022220000
|
||||||
|
000222222000
|
||||||
|
000022220000
|
||||||
|
111000000111
|
||||||
|
111100001111
|
||||||
|
111110011111
|
||||||
|
111111111111
|
||||||
|
111111111111
|
||||||
|
111111111111
|
||||||
|
111111111111
|
||||||
|
000000000000
|
||||||
|
000000000000
|
||||||
|
000000000000
|
||||||
|
Brickmap
|
||||||
|
000033330000
|
||||||
|
000311113000
|
||||||
|
000033330000
|
||||||
|
111000000111
|
||||||
|
111100001111
|
||||||
|
111110011111
|
||||||
|
111111111111
|
||||||
|
111111111111
|
||||||
|
111111111111
|
||||||
|
222222222222
|
||||||
|
000000000000
|
||||||
|
000000000000
|
||||||
|
000000000000
|
33
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/level6.txt
Executable file
@ -0,0 +1,33 @@
|
|||||||
|
255, 255, 255, 255
|
||||||
|
0, 0, 0, 255
|
||||||
|
255, 200, 5, 255
|
||||||
|
255, 153, 0, 255
|
||||||
|
255, 97, 0, 255
|
||||||
|
Colormap
|
||||||
|
000000000000
|
||||||
|
000333000333
|
||||||
|
000333000333
|
||||||
|
000333000333
|
||||||
|
222000222000
|
||||||
|
222000222000
|
||||||
|
222000222000
|
||||||
|
000111000111
|
||||||
|
000111000111
|
||||||
|
000111000111
|
||||||
|
000000000000
|
||||||
|
000000000000
|
||||||
|
000000000000
|
||||||
|
Brickmap
|
||||||
|
000000000000
|
||||||
|
000222000222
|
||||||
|
000212000212
|
||||||
|
000222000222
|
||||||
|
222000222000
|
||||||
|
212000212000
|
||||||
|
222000222000
|
||||||
|
000222000222
|
||||||
|
000212000212
|
||||||
|
000222000222
|
||||||
|
000000000000
|
||||||
|
000000000000
|
||||||
|
000000000000
|
33
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/level7.txt
Executable file
@ -0,0 +1,33 @@
|
|||||||
|
255, 255, 0, 255
|
||||||
|
0, 0, 0, 255
|
||||||
|
230, 230, 230, 255
|
||||||
|
195, 195, 195, 255
|
||||||
|
150, 150, 150, 255
|
||||||
|
Colormap
|
||||||
|
333333333333
|
||||||
|
030030030030
|
||||||
|
030030030030
|
||||||
|
030030030030
|
||||||
|
222222222222
|
||||||
|
020020020020
|
||||||
|
020020020020
|
||||||
|
010010010010
|
||||||
|
010010010010
|
||||||
|
020020020020
|
||||||
|
000000000000
|
||||||
|
000000000000
|
||||||
|
000000000000
|
||||||
|
Brickmap
|
||||||
|
111111111111
|
||||||
|
010010010010
|
||||||
|
010010010010
|
||||||
|
010010010010
|
||||||
|
222222222222
|
||||||
|
010010010010
|
||||||
|
010010010010
|
||||||
|
010010010010
|
||||||
|
010010010010
|
||||||
|
020020020020
|
||||||
|
000000000000
|
||||||
|
000000000000
|
||||||
|
000000000000
|
32
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/level8.txt
Executable file
@ -0,0 +1,32 @@
|
|||||||
|
0, 255, 255, 255
|
||||||
|
0, 0, 0, 255
|
||||||
|
217, 56, 62, 255
|
||||||
|
132, 56, 62, 255
|
||||||
|
Colormap
|
||||||
|
111111111111
|
||||||
|
111111111111
|
||||||
|
222211112222
|
||||||
|
000211112000
|
||||||
|
000211112000
|
||||||
|
022211112220
|
||||||
|
021111111120
|
||||||
|
021111111120
|
||||||
|
021111111120
|
||||||
|
022222222220
|
||||||
|
000000000000
|
||||||
|
000000000000
|
||||||
|
000000000000
|
||||||
|
Brickmap
|
||||||
|
111111111111
|
||||||
|
111111111111
|
||||||
|
222211112222
|
||||||
|
000211112000
|
||||||
|
000211112000
|
||||||
|
022211112220
|
||||||
|
021111111120
|
||||||
|
021111111120
|
||||||
|
021111111120
|
||||||
|
033333333330
|
||||||
|
000000000000
|
||||||
|
000000000000
|
||||||
|
000000000000
|
32
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/level9.txt
Executable file
@ -0,0 +1,32 @@
|
|||||||
|
0, 255, 0, 255
|
||||||
|
0, 0, 0, 255
|
||||||
|
255, 221, 0, 255
|
||||||
|
255, 0, 0, 255
|
||||||
|
Colormap
|
||||||
|
222220022222
|
||||||
|
222220022222
|
||||||
|
222220022222
|
||||||
|
222220022222
|
||||||
|
000000000000
|
||||||
|
111111111111
|
||||||
|
111111111111
|
||||||
|
000000000000
|
||||||
|
111111111111
|
||||||
|
111111111111
|
||||||
|
000000000000
|
||||||
|
000000000000
|
||||||
|
000000000000
|
||||||
|
Brickmap
|
||||||
|
111110011111
|
||||||
|
111110011111
|
||||||
|
111110011111
|
||||||
|
222220022222
|
||||||
|
000000000000
|
||||||
|
111111111111
|
||||||
|
333333333333
|
||||||
|
000000000000
|
||||||
|
111111111111
|
||||||
|
222222222222
|
||||||
|
000000000000
|
||||||
|
000000000000
|
||||||
|
000000000000
|
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/levelshot1.png
Executable file
After Width: | Height: | Size: 142 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/levelshot10.png
Executable file
After Width: | Height: | Size: 125 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/levelshot11.png
Executable file
After Width: | Height: | Size: 137 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/levelshot12.png
Executable file
After Width: | Height: | Size: 125 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/levelshot2.png
Executable file
After Width: | Height: | Size: 140 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/levelshot3.png
Executable file
After Width: | Height: | Size: 148 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/levelshot4.png
Executable file
After Width: | Height: | Size: 155 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/levelshot5.png
Executable file
After Width: | Height: | Size: 147 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/levelshot6.png
Executable file
After Width: | Height: | Size: 146 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/levelshot7.png
Executable file
After Width: | Height: | Size: 152 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/levelshot8.png
Executable file
After Width: | Height: | Size: 150 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/levelshot9.png
Executable file
After Width: | Height: | Size: 134 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/loading.png
Executable file
After Width: | Height: | Size: 2.0 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/logo_small.png
Executable file
After Width: | Height: | Size: 2.5 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/main_menu_bkg_left.png
Executable file
After Width: | Height: | Size: 217 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/main_menu_bkg_right.png
Executable file
After Width: | Height: | Size: 177 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/reflector.png
Executable file
After Width: | Height: | Size: 7.0 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/select_level.png
Executable file
After Width: | Height: | Size: 2.3 KiB |
14
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/shader1fragment.txt
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
precision mediump float;
|
||||||
|
uniform sampler2D Texture;
|
||||||
|
uniform float Transparency;
|
||||||
|
varying vec2 texCoord;
|
||||||
|
|
||||||
|
void main()
|
||||||
|
{
|
||||||
|
vec4 color = texture2D(Texture,texCoord).rgba;
|
||||||
|
|
||||||
|
gl_FragColor = vec4(color.rgb, color.a * Transparency);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
12
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/shader1vertex.txt
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
attribute vec3 vPosition;
|
||||||
|
attribute vec2 vTexCoord;
|
||||||
|
varying vec2 texCoord;
|
||||||
|
|
||||||
|
uniform mat4 ProjectionMatrix;
|
||||||
|
|
||||||
|
void main()
|
||||||
|
{
|
||||||
|
//480x320
|
||||||
|
gl_Position = ProjectionMatrix * vec4(vPosition.xyz, 1.0);
|
||||||
|
texCoord = vTexCoord;
|
||||||
|
}
|
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/shutterstock1.png
Executable file
After Width: | Height: | Size: 480 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/shutterstock10.png
Executable file
After Width: | Height: | Size: 362 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/shutterstock11.png
Executable file
After Width: | Height: | Size: 433 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/shutterstock12.png
Executable file
After Width: | Height: | Size: 370 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/shutterstock2.png
Executable file
After Width: | Height: | Size: 464 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/shutterstock3.png
Executable file
After Width: | Height: | Size: 532 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/shutterstock4.png
Executable file
After Width: | Height: | Size: 611 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/shutterstock5.png
Executable file
After Width: | Height: | Size: 509 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/shutterstock6.png
Executable file
After Width: | Height: | Size: 503 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/shutterstock7.png
Executable file
After Width: | Height: | Size: 553 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/shutterstock8.png
Executable file
After Width: | Height: | Size: 597 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/shutterstock9.png
Executable file
After Width: | Height: | Size: 474 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/slide_up_btn.png
Executable file
After Width: | Height: | Size: 9.4 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/tap_to_continue_btn.png
Executable file
After Width: | Height: | Size: 6.7 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/wall_bonus.png
Executable file
After Width: | Height: | Size: 4.8 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/wall_left.png
Executable file
After Width: | Height: | Size: 7.0 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/wall_right.png
Executable file
After Width: | Height: | Size: 7.0 KiB |
BIN
proj.ios/build/Debug-iphoneos/salmontemplate.app/assets/wall_up.png
Executable file
After Width: | Height: | Size: 4.1 KiB |